all repos — fluxbox @ 3797138f9384025285a69b1eb0c57f4cc6f6f1e3

custom fork of the fluxbox windowmanager

const accessor for windowstyle
fluxgen fluxgen
commit

3797138f9384025285a69b1eb0c57f4cc6f6f1e3

parent

80b0f72d3079b38d857a0305f23ca80fdd071a70

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/Screen.hhsrc/Screen.hh

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.hh,v 1.75 2003/04/15 00:50:24 rathnor Exp $ +// $Id: Screen.hh,v 1.76 2003/04/15 12:14:13 fluxgen Exp $ #ifndef SCREEN_HH #define SCREEN_HH

@@ -231,6 +231,7 @@ inline bool isClock24Hour() { return resource.clock24hour; }

inline void saveClock24Hour(bool c) { resource.clock24hour = c; } inline Theme::WindowStyle *getWindowStyle() { return &theme->getWindowStyle(); } + inline const Theme::WindowStyle *getWindowStyle() const { return &theme->getWindowStyle(); } inline FbWinFrameTheme &winFrameTheme() { return m_windowtheme; } inline const FbWinFrameTheme &winFrameTheme() const { return m_windowtheme; } inline FbTk::MenuTheme *menuTheme() { return m_menutheme.get(); }