news download themes documentation links










ButtonTheme.hh

00001 #ifndef BUTTONTHEME_HH
00002 #define BUTTONTHEME_HH
00003 
00004 #include "ToolTheme.hh"
00005 
00006 #include "FbTk/GContext.hh"
00007 
00008 class ButtonTheme: public ToolTheme {
00009 public:
00010     ButtonTheme(int screen_num, 
00011                 const std::string &name, const std::string &alt_name);
00012     virtual ~ButtonTheme() { }
00013 
00014     bool fallback(FbTk::ThemeItem_base &item);
00015     void reconfigTheme();
00016 
00017     inline const FbTk::Texture &pressed() const { return *m_pressed_texture; }
00018     inline GC gc() const { return m_gc.gc(); }
00019 private:
00020     FbTk::ThemeItem<FbTk::Color> m_pic_color;
00021     FbTk::ThemeItem<FbTk::Texture> m_pressed_texture;    
00022     FbTk::GContext m_gc;
00023 };
00024 
00025 #endif // BUTTONTHEME_HH

Fluxbox CVS-Jan-2003




      



Got comments about the page? Send them to webmaster.
If you have general Fluxbox related questions ask them on our irc channel or mailing lists.

Show Source








Designed by aLEczapKA