X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FWindow.hh;fp=src%2FWindow.hh;h=b923c4bfe14f8a597ab87cee2246142eb18d0778;hb=987cf7cc40d4ab9c5e895ea2b0c7a77f10a0510f;hp=e2b5d9b0a7a59c322ecdd7b8e1bc9a11db77883d;hpb=efd6c59c90aeff5bfd2fb76b3085e837aacb0596;p=chaz%2Fopenbox diff --git a/src/Window.hh b/src/Window.hh index e2b5d9b0..b923c4bf 100644 --- a/src/Window.hh +++ b/src/Window.hh @@ -217,13 +217,13 @@ private: */ struct _frame { - // u -> unfocused, f -> has focus + // u -> unfocused, f -> has focus, p -> pressed unsigned long ulabel_pixel, flabel_pixel, utitle_pixel, ftitle_pixel, uhandle_pixel, fhandle_pixel, ubutton_pixel, - fbutton_pixel, pbutton_pixel, uborder_pixel, fborder_pixel, - ugrip_pixel, fgrip_pixel; + fbutton_pixel, pfbutton_pixel, pubutton_pixel, + uborder_pixel, fborder_pixel, ugrip_pixel, fgrip_pixel; Pixmap ulabel, flabel, utitle, ftitle, uhandle, fhandle, - ubutton, fbutton, pbutton, ugrip, fgrip; + ubutton, fbutton, pfbutton, pubutton, ugrip, fgrip; Window window, // the frame plate, // holds the client @@ -290,6 +290,11 @@ private: void redrawWindowFrame(void) const; void redrawLabel(void) const; void redrawAllButtons(void) const; + void BlackboxWindow::redrawButton(bool pressed, Window win, + Pixmap fppix, unsigned long fppixel, + Pixmap uppix, unsigned long uppixel, + Pixmap fpix, unsigned long fpixel, + Pixmap upix, unsigned long upixel) const; void redrawCloseButton(bool pressed) const; void redrawIconifyButton(bool pressed) const; void redrawMaximizeButton(bool pressed) const;