Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

popupmenu.h

Go to the documentation of this file.
00001 /*
00002         ClanGUI, copyrights by various people. Have a look in the CREDITS file.
00003         
00004         This sourcecode is distributed using the Library GNU Public Licence,
00005         version 2 or (at your option) any later version. Please read LICENSE
00006         for details.
00007 */
00008 
00010 
00011 #ifndef header_popupmenu
00012 #define header_popupmenu
00013 
00014 #include "component.h"
00015 
00016 class CL_PopupMenu : public CL_Component
00017 //: Popupmenu component
00018 {
00019 public:
00021         CL_PopupMenu(
00022                 const CL_ComponentOptions &options,
00023                 CL_Component *parent,
00024                 CL_StyleManager *style);
00025 
00026         CL_PopupMenu(
00027                 const class CL_Point &pos,
00028                 CL_Component *parent,
00029                 CL_StyleManager *style);
00030 
00031         virtual ~CL_PopupMenu();
00032 
00033 public:
00035 
00036 public:
00038 
00039 public:
00041         CL_Signal_v0 &sig_cancelled();
00042         //: This signal is emitted when the popupmenu is cancelled.
00043 
00044         CL_Signal_v1<int /*itemid*/> &sig_clicked();
00045         //: This signal is emitted when an item is clicked in the menu
00047 
00049 private:
00050         CL_PopupMenu(const CL_PopupMenu &copy) : CL_Component(NULL, NULL) { return; } // disallow copy construction.
00051         class CL_PopupMenu_Generic *impl;
00052 };  
00053 
00054 #endif

Generated at Wed Apr 4 19:54:02 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001