aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MenuTheme.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-11-28 22:53:10 (GMT)
committerfluxgen <fluxgen>2003-11-28 22:53:10 (GMT)
commit139792c8603a4ec6faa23576ff03d39a50d4ab91 (patch)
treed998d37381081530b06b98a150c00c275a896dc9 /src/FbTk/MenuTheme.hh
parentf6fa2664931d7577780c22eb5a2e738f322ec360 (diff)
downloadfluxbox_pavel-139792c8603a4ec6faa23576ff03d39a50d4ab91.zip
fluxbox_pavel-139792c8603a4ec6faa23576ff03d39a50d4ab91.tar.bz2
GContext
Diffstat (limited to 'src/FbTk/MenuTheme.hh')
-rw-r--r--src/FbTk/MenuTheme.hh17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/FbTk/MenuTheme.hh b/src/FbTk/MenuTheme.hh
index e81a2f2..4e9deb3 100644
--- a/src/FbTk/MenuTheme.hh
+++ b/src/FbTk/MenuTheme.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: MenuTheme.hh,v 1.9 2003/09/12 23:32:02 fluxgen Exp $ 22// $Id: MenuTheme.hh,v 1.10 2003/11/28 22:53:10 fluxgen Exp $
23 23
24#ifndef FBTK_MENUTHEME_HH 24#ifndef FBTK_MENUTHEME_HH
25#define FBTK_MENUTHEME_HH 25#define FBTK_MENUTHEME_HH
@@ -83,11 +83,16 @@ public:
83 @name graphic contexts 83 @name graphic contexts
84 */ 84 */
85 ///@{ 85 ///@{
86 GC titleTextGC() const { return t_text_gc.gc(); } 86 const GContext &titleTextGC() const { return t_text_gc; }
87 GC frameTextGC() const { return f_text_gc.gc(); } 87 const GContext &frameTextGC() const { return f_text_gc; }
88 GC hiliteTextGC() const { return h_text_gc.gc(); } 88 const GContext &hiliteTextGC() const { return h_text_gc; }
89 GC disableTextGC() const { return d_text_gc.gc(); } 89 const GContext &disableTextGC() const { return d_text_gc; }
90 GC hiliteGC() const { return hilite_gc.gc(); } 90 const GContext &hiliteGC() const { return hilite_gc; }
91 GContext &titleTextGC() { return t_text_gc; }
92 GContext &frameTextGC() { return f_text_gc; }
93 GContext &hiliteTextGC() { return h_text_gc; }
94 GContext &disableTextGC() { return d_text_gc; }
95 GContext &hiliteGC() { return hilite_gc; }
91 ///@} 96 ///@}
92 BulletType bullet() const { return *m_bullet; } 97 BulletType bullet() const { return *m_bullet; }
93 FbTk::Justify bulletPos() const { return *bullet_pos; } 98 FbTk::Justify bulletPos() const { return *bullet_pos; }