news download themes documentation links










RootTheme Class Reference

Contains border color, border size, bevel width and opGC for objects like geometry window in BScreen. More...

#include <RootTheme.hh>

Inheritance diagram for RootTheme:

FbTk::Theme List of all members.

Public Member Functions

 RootTheme (int screen_num, std::string &screen_root_command)
void reconfigTheme ()
GC opGC () const
void lock (bool value)
 ! TODO we should need this later


Detailed Description

Contains border color, border size, bevel width and opGC for objects like geometry window in BScreen.

Definition at line 36 of file RootTheme.hh.


Constructor & Destructor Documentation

RootTheme::RootTheme int  screen_num,
std::string &  screen_root_command
 

constructor

Parameters:
screen_num the screen number
screen_root_command the string to be executed override theme rootCommand

Definition at line 29 of file RootTheme.cc.

References FbTk::App::instance(), FbTk::GContext::setForeground(), FbTk::GContext::setFunction(), and FbTk::GContext::setSubwindowMode().

00029                                                                   :
00030     FbTk::Theme(screen_num),
00031     m_root_command(*this, "rootCommand", "RootCommand"), 
00032     m_screen_root_command(screen_root_command),
00033     m_opgc(RootWindow(FbTk::App::instance()->display(), screen_num)),
00034     m_lock(false) {
00035     
00036     Display *disp = FbTk::App::instance()->display();
00037     m_opgc.setForeground(WhitePixel(disp, screen_num)^BlackPixel(disp, screen_num));
00038     m_opgc.setFunction(GXxor);
00039     m_opgc.setSubwindowMode(IncludeInferiors);
00040 }


The documentation for this class was generated from the following files:

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