diff options
author | fluxgen <fluxgen> | 2002-07-23 18:38:31 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-07-23 18:38:31 (GMT) |
commit | 7f6880bbac9ffec3b6221eb04e0977b9a9c669b7 (patch) | |
tree | 78b170c869d5aa21df2751b1a5d49fb987cbd444 /src/Theme.hh | |
parent | 47d27a0bab8d6585d3031b7945c7ee6718f8d228 (diff) | |
download | fluxbox_pavel-7f6880bbac9ffec3b6221eb04e0977b9a9c669b7.zip fluxbox_pavel-7f6880bbac9ffec3b6221eb04e0977b9a9c669b7.tar.bz2 |
slit theme, which falls back on toolbar theme if it does not exist
Diffstat (limited to 'src/Theme.hh')
-rw-r--r-- | src/Theme.hh | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/Theme.hh b/src/Theme.hh index b892647..97fe9cd 100644 --- a/src/Theme.hh +++ b/src/Theme.hh | |||
@@ -42,7 +42,7 @@ | |||
42 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 42 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
43 | // DEALINGS IN THE SOFTWARE. | 43 | // DEALINGS IN THE SOFTWARE. |
44 | 44 | ||
45 | // $Id: Theme.hh,v 1.11 2002/07/23 17:11:59 fluxgen Exp $ | 45 | // $Id: Theme.hh,v 1.12 2002/07/23 18:38:31 fluxgen Exp $ |
46 | 46 | ||
47 | #ifndef THEME_HH | 47 | #ifndef THEME_HH |
48 | #define THEME_HH | 48 | #define THEME_HH |
@@ -111,16 +111,17 @@ public: | |||
111 | DrawUtil::Font font; | 111 | DrawUtil::Font font; |
112 | 112 | ||
113 | } ToolbarStyle; | 113 | } ToolbarStyle; |
114 | 114 | ||
115 | inline WindowStyle &getWindowStyle(void) { return m_windowstyle; } | 115 | inline WindowStyle &getWindowStyle() { return m_windowstyle; } |
116 | inline MenuStyle &getMenuStyle(void) { return m_menustyle; } | 116 | inline MenuStyle &getMenuStyle() { return m_menustyle; } |
117 | inline ToolbarStyle &getToolbarStyle(void) { return m_toolbarstyle; } | 117 | inline ToolbarStyle &getToolbarStyle() { return m_toolbarstyle; } |
118 | inline unsigned int getBevelWidth(void) const { return m_bevel_width; } | 118 | inline const FbTk::Texture &getSlitTexture() const { return m_slit_texture; } |
119 | inline unsigned int getBorderWidth(void) const { return m_border_width; } | 119 | inline unsigned int getBevelWidth() const { return m_bevel_width; } |
120 | inline unsigned int getHandleWidth(void) const { return m_handle_width; } | 120 | inline unsigned int getBorderWidth() const { return m_border_width; } |
121 | inline unsigned int getFrameWidth(void) const { return m_frame_width; } | 121 | inline unsigned int getHandleWidth() const { return m_handle_width; } |
122 | inline const GC &getOpGC(void) const { return m_opgc; } | 122 | inline unsigned int getFrameWidth() const { return m_frame_width; } |
123 | inline const FbTk::Color &getBorderColor(void) const { return m_border_color; } | 123 | inline GC getOpGC() const { return m_opgc; } |
124 | inline const FbTk::Color &getBorderColor() const { return m_border_color; } | ||
124 | void load(const char *filename); | 125 | void load(const char *filename); |
125 | void reconfigure(); | 126 | void reconfigure(); |
126 | 127 | ||
@@ -164,7 +165,7 @@ private: | |||
164 | Colormap m_colormap; | 165 | Colormap m_colormap; |
165 | int m_screennum; | 166 | int m_screennum; |
166 | std::string m_rootcommand; | 167 | std::string m_rootcommand; |
167 | 168 | FbTk::Texture m_slit_texture; | |
168 | }; | 169 | }; |
169 | 170 | ||
170 | 171 | ||