[Gcblue-commits] gcb_wx/include/graphics tcButton.h, 1.16, 1.17 tcPlatformGui.h, 1.5, 1.6 tcXmlWind
Status: Alpha
Brought to you by:
ddcforge
From: Dewitt C. <ddc...@us...> - 2006-09-06 01:28:22
|
Update of /cvsroot/gcblue/gcb_wx/include/graphics In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv14752/include/graphics Modified Files: tcButton.h tcPlatformGui.h tcXmlWindow.h Log Message: Index: tcXmlWindow.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/graphics/tcXmlWindow.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** tcXmlWindow.h 27 Mar 2006 01:08:30 -0000 1.8 --- tcXmlWindow.h 6 Sep 2006 01:28:20 -0000 1.9 *************** *** 35,38 **** --- 35,39 ---- class TiXmlDocument; + class tcButton; /** *************** *** 45,48 **** --- 46,51 ---- void SetButtonDisable(long command, bool state); + /// find first button with matching command + tcButton* GetButtonWithCommand(long command); /// find first button with matching command and change caption void SetButtonCaption(long command, const std::string& caption); Index: tcPlatformGui.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/graphics/tcPlatformGui.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** tcPlatformGui.h 5 Sep 2006 01:04:24 -0000 1.5 --- tcPlatformGui.h 6 Sep 2006 01:28:20 -0000 1.6 *************** *** 47,50 **** --- 47,51 ---- class tcLauncher; class tcStoresContainerItem; + class tcStores; /** *************** *** 110,113 **** --- 111,116 ---- void OnLoadoutCommand(wxCommandEvent& event); + tcStores* GetLoadoutStores(); + void UpdateLoadoutButtons(); DECLARE_EVENT_TABLE() Index: tcButton.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/graphics/tcButton.h,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** tcButton.h 28 Mar 2006 23:58:03 -0000 1.16 --- tcButton.h 6 Sep 2006 01:28:20 -0000 1.17 *************** *** 48,51 **** --- 48,52 ---- const std::string& GetCaption() const {return caption;} long GetCommand() const {return command;} + bool GetInteractive() const {return isInteractive;} bool IsOn() {return isButtonOn;} void LoadImages(const std::string& offImageName, const std::string& onImageName, *************** *** 60,63 **** --- 61,65 ---- void SetFontSize(float val); void SetForceDisable(bool state); + void SetInteractive(bool state); void SetMouseOverCaption(const std::string& s); void SetMouseOverCaptionPosition(const wxPoint& pos); *************** *** 75,78 **** --- 77,81 ---- long command; bool isButtonOn; + bool isInteractive; ///< false to ignore mouseover and click events bool isMouseOver; std::string soundEffect; |