Main Page | Class Hierarchy | Class List | File List | Class Members

aedCheckBox.h

00001 
00002 /*
00003  * The aedCheckBox class
00004  * This is the checkbox widget class
00005  * Initial design by Ivan Stankovic <pokemon@fly.srk.fer.hr>
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Library General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2 of the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Library General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Library General Public
00018  * License along with this library; if not, write to the Free
00019  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020  *
00021  */
00022 
00023 #ifndef AEDCHECKBOX_H
00024 #define AEDCHECKBOX_H
00025 
00026 #include "dllmacros.h"
00027 #include "aedWidget.h"
00028 
00030 class DLLEXPORT aedCheckBox:public aedWidget
00031 {
00032   public:
00033     aedCheckBox();
00034     virtual ~ aedCheckBox();
00035 
00036     virtual int wm_lbuttondown(Uint16 x, Uint16 y);
00037     virtual void setCaption(const std::string & caption);
00038     virtual void render();
00039     virtual int wm_mouseenter();
00040     virtual int wm_mouseleave();
00041 
00043     bool getState();
00044 
00046     void setState(bool state);
00047 
00048   private:
00049       bool m_State;
00050 };
00051 
00052 #if defined(_MSC_VER)
00053 DLLEXTERN template DLLEXPORT aedFunctor1Arg < stub, aedCheckBox >;
00054 #endif
00055 
00056 #endif /* AEDCHECKBOX_H */

Generated on Mon Mar 1 19:56:18 2004 for aedGUI by doxygen 1.3.6