Change the close position of the search windows
This commit is contained in:
parent
e10e633949
commit
628c10ff3a
@ -59,6 +59,15 @@ Search::Search(void) :
|
|||||||
|
|
||||||
ewol::ButtonImage * myButtonImage = NULL;
|
ewol::ButtonImage * myButtonImage = NULL;
|
||||||
|
|
||||||
|
myButtonImage = new ewol::ButtonImage("icon/Remove.svg");
|
||||||
|
if (NULL == myButtonImage) {
|
||||||
|
APPL_ERROR("Widget allocation error ==> it will missing in the display");
|
||||||
|
} else {
|
||||||
|
myButtonImage->SetMinSize(32,32);
|
||||||
|
myButtonImage->RegisterOnEvent(this, ewolEventButtonPressed, l_eventHideBt);
|
||||||
|
SubWidgetAdd(myButtonImage);
|
||||||
|
}
|
||||||
|
|
||||||
m_searchEntry = new ewol::Entry();
|
m_searchEntry = new ewol::Entry();
|
||||||
if (NULL == m_searchEntry) {
|
if (NULL == m_searchEntry) {
|
||||||
APPL_ERROR("Widget allocation error ==> it will missing in the display");
|
APPL_ERROR("Widget allocation error ==> it will missing in the display");
|
||||||
@ -135,15 +144,6 @@ Search::Search(void) :
|
|||||||
SubWidgetAdd(myButtonImage);
|
SubWidgetAdd(myButtonImage);
|
||||||
}
|
}
|
||||||
|
|
||||||
myButtonImage = new ewol::ButtonImage("icon/Forbidden.svg");
|
|
||||||
if (NULL == myButtonImage) {
|
|
||||||
APPL_ERROR("Widget allocation error ==> it will missing in the display");
|
|
||||||
} else {
|
|
||||||
myButtonImage->SetMinSize(32,32);
|
|
||||||
myButtonImage->RegisterOnEvent(this, ewolEventButtonPressed, l_eventHideBt);
|
|
||||||
SubWidgetAdd(myButtonImage);
|
|
||||||
}
|
|
||||||
|
|
||||||
RegisterMultiCast(ednMsgGuiSearch);
|
RegisterMultiCast(ednMsgGuiSearch);
|
||||||
// basicly hiden ...
|
// basicly hiden ...
|
||||||
Hide();
|
Hide();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user