#include <coldrop.h>
Inheritance diagram for ColourDropMsgHandler:
Public Member Functions | |
ColourDropMsgHandler () | |
Constructs a ColourDropMsgHandler, an object which, surprisingly, handles messages for its parent ColourDropDown. | |
Protected Member Functions | |
MsgResult | Message (Msg *Msg) |
Process messages on behalf of ColourDropDowns. | |
Friends | |
class | ColourDropDown |
Definition at line 212 of file coldrop.h.
|
Constructs a ColourDropMsgHandler, an object which, surprisingly, handles messages for its parent ColourDropDown.
Definition at line 889 of file coldrop.cpp. 00890 : MessageHandler(CC_RUNTIME_CLASS(MessageHandler), TRUE) 00891 { 00892 }
|
|
Process messages on behalf of ColourDropDowns.
Reimplemented from MessageHandler. Definition at line 908 of file coldrop.cpp. 00909 { 00910 if (MESSAGE_IS_A(Message, ColourChangingMsg)) 00911 { 00912 ColourChangingMsg *Msg = (ColourChangingMsg *) Message; 00913 switch ( Msg->State ) 00914 { 00915 case ColourChangingMsg::LISTDESELECTED: 00916 // case ColourChangingMsg::LISTPAGED: 00917 // case ColourChangingMsg::LISTUPDATED: 00918 // case ColourChangingMsg::COLOURUPDATED: 00919 ColourDropDown::UpdateForNewColourList(); 00920 break; 00921 00922 case ColourChangingMsg::SELVIEWCONTEXTCHANGE: 00923 // The colour context for the selected view has chnaged, so we must immediately 00924 // force a redraw to make sure we show the colours with correction/separation. 00925 ColourDropDown::RedrawColourDropDowns(); 00926 break; 00927 default: 00928 break; 00929 } 00930 } 00931 00932 return OK; 00933 }
|
|
|