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 00009 #ifndef header_inputbox_default 00010 #define header_inputbox_default 00011 00012 #include "API/GUI/inputbox.h" 00013 #include "API/GUI/stylemanager_default.h" 00014 #include "API/GUI/component_style.h" 00015 00016 class CL_Font; 00017 00018 class CL_InputBox_Default : public CL_ComponentStyle 00019 { 00020 public: 00021 CL_InputBox_Default( 00022 CL_InputBox *inputbox, 00023 const CL_ComponentOptions &options, 00024 CL_StyleManager_Default *style); 00025 00026 virtual ~CL_InputBox_Default(); 00027 00028 private: 00029 CL_Slot slot_paint; 00030 void on_paint(); 00031 00032 CL_InputBox *inputbox; 00033 00034 virtual int get_mouse_position(int x, int y); 00035 00036 CL_StyleManager_Default *style; 00037 CL_ResourceManager *resources; 00038 CL_Font *font; 00039 CL_Font *font_disabled; 00040 00041 int character_offset; 00042 00043 bool show_cursor; 00044 unsigned int cursor_blink_time; 00045 }; 00046 00047 #endif
1.2.6 written by Dimitri van Heesch,
© 1997-2001