all repos — fluxbox @ 75f83132ea906d3681298d018f428c587c207288

custom fork of the fluxbox windowmanager

const on draw function
fluxgen fluxgen
commit

75f83132ea906d3681298d018f428c587c207288

parent

67f09e6f004976cfa639909ea519036bdb719749

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

jump to
M src/Tab.ccsrc/Tab.cc

@@ -19,7 +19,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: Tab.cc,v 1.26 2002/05/02 07:09:22 fluxgen Exp $ +// $Id: Tab.cc,v 1.27 2002/05/19 15:37:29 fluxgen Exp $ #include "Tab.hh"

@@ -352,7 +352,7 @@ // if pressed = true then it draws the tab in pressed

// mode else it draws it in normal mode // TODO: the "draw in pressed mode" //----------------------------------- -void Tab::draw(bool pressed) { +void Tab::draw(bool pressed) const { unsigned int tabtext_w; GC gc = ((m_win->isFocused()) ? m_win->getScreen()->getWindowStyle()->tab.l_text_focus_gc :