try a menu context display

This commit is contained in:
2011-07-22 18:31:43 +02:00
parent 5ff5525c6b
commit 088f89d421
10 changed files with 625 additions and 12 deletions

View File

@@ -161,6 +161,8 @@ static char * GetMessageTypeChar(messageCat_te Id)
return (char*)"GUI_MANAGER";
case EDN_CAT_CTAGS:
return (char*)"C-TAGS_MANAGER";
case EDN_CAT_MENU_CONTEXT:
return (char*)"MENU CONTEXT";
default:
return (char*)"??";
}
@@ -198,6 +200,10 @@ void MsgBroadcastCore::SendMessage(MsgBroadcast * pointerOnSender, messageType_t
&& MSG_TO_CTAGS__STOP >= id )
{
catDest = EDN_CAT_CTAGS;
} else if( MSG_TO_CONTEXT__START <= id
&& MSG_TO_CONTEXT__STOP >= id )
{
catDest = EDN_CAT_MENU_CONTEXT;
}
myStructMessage.localMessageID = m_messageID++;

View File

@@ -121,6 +121,10 @@ typedef enum {
EDN_MSG__JUMP_BACK,
MSG_TO_CTAGS__STOP,
// DESTINATION : context popup ...
MSG_TO_CONTEXT__START,
MSG_TO_CONTEXT__STOP,
}messageType_te;
@@ -132,6 +136,7 @@ typedef enum {
EDN_CAT_BUFFER_MANAGER,
EDN_CAT_GUI_MANAGER,
EDN_CAT_CTAGS,
EDN_CAT_MENU_CONTEXT,
}messageCat_te;