00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef BORDERTHEME_HH
00026 #define BORDERTHEME_HH
00027
00028 #include "FbTk/Theme.hh"
00029 #include "FbTk/Color.hh"
00030
00032 class BorderTheme {
00033 public:
00034 BorderTheme(FbTk::Theme &theme, const std::string &name, const std::string &altname);
00035 virtual ~BorderTheme() { }
00036
00037 int width() const { return *m_width; }
00038 const FbTk::Color &color() const { return *m_color; }
00039
00040 private:
00041 FbTk::ThemeItem<int> m_width;
00042 FbTk::ThemeItem<FbTk::Color> m_color;
00043 };
00044
00045 #endif // BORDERTHEME_HH