Gui is back to normal

This commit is contained in:
2012-07-20 14:37:46 +02:00
parent 12cd1db0e1
commit 4e7eac1399
4 changed files with 13 additions and 4 deletions

View File

@@ -74,6 +74,7 @@ CodeView::CodeView(void)
RegisterMultiCast(ednMsgGuiChangeCharset);
RegisterMultiCast(ednMsgGuiFind);
RegisterMultiCast(ednMsgGuiReplace);
SetLimitScrolling(0.2);
}
CodeView::~CodeView(void)
@@ -243,6 +244,9 @@ bool CodeView::OnEventKbMove(ewol::eventKbType_te typeEvent, ewol::eventKbMoveTy
bool CodeView::OnEventInput(ewol::inputType_te type, int32_t IdInput, ewol::eventInputType_te typeEvent, Vector2D<float> pos)
{
Vector2D<float> relativePos = RelativePosition(pos);
// corection for the openGl abstraction
relativePos.y = m_size.y - relativePos.y;
if (m_bufferID < 0) {
return false;
}

View File

@@ -321,10 +321,12 @@ void MainWindows::OnReceiveMessage(ewol::EObject * CallerObject, const char * ev
} else {
tmpWidget->SetTitle("Properties");
PopUpWidgetPush(tmpWidget);
tmpWidget->MenuAdd("Affichage", "", NULL);
tmpWidget->MenuAddGroup("Editor");
tmpWidget->MenuAdd("Editor", "", NULL);
tmpWidget->MenuAdd("Polices & Color", "", NULL);
tmpWidget->MenuAdd("Highlight", "", NULL);
tmpWidget->MenuAddGroup("Genral");
tmpWidget->MenuAdd("Affichage", "", NULL);
tmpWidget->MenuAdd("About", "", NULL);
}
}