all repos — fluxbox @ cd7b6d1fd5b1ac1614b1431126f266d8651c890c

custom fork of the fluxbox windowmanager

minor update
fluxgen fluxgen
commit

cd7b6d1fd5b1ac1614b1431126f266d8651c890c

parent

eae52404ec5c51032d96d5786fe96a928c7d588d

2 files changed, 18 insertions(+), 18 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.27 2002/05/19 15:37:29 fluxgen Exp $ +// $Id: Tab.cc,v 1.28 2002/07/20 09:49:21 fluxgen Exp $ #include "Tab.hh"

@@ -97,8 +97,8 @@ CWColormap | CWOverrideRedirect | CWEventMask;

XSetWindowAttributes attrib; attrib.background_pixmap = None; attrib.background_pixel = attrib.border_pixel = - m_win->getScreen()->getWindowStyle()->tab.border_color.getPixel(); - attrib.colormap = m_win->getScreen()->getColormap(); + m_win->getScreen()->getWindowStyle()->tab.border_color.pixel(); + attrib.colormap = m_win->getScreen()->colormap(); attrib.override_redirect = True; attrib.event_mask = ButtonPressMask | ButtonReleaseMask | ButtonMotionMask | ExposureMask | EnterWindowMask;

@@ -195,7 +195,7 @@ if (texture->getTexture() & BImage::PARENTRELATIVE ) {

BTexture *pt = &(m_win->getScreen()->getWindowStyle()->tab.t_focus); if (pt->getTexture() == (BImage::FLAT | BImage::SOLID)) { m_focus_pm = None; - m_focus_pixel = pt->getColor()->getPixel(); + m_focus_pixel = pt->color().pixel(); } else m_focus_pm = image_ctrl->renderImage(m_size_w, m_size_h, pt);

@@ -205,7 +205,7 @@

} else { if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { m_focus_pm = None; - m_focus_pixel = texture->getColor()->getPixel(); + m_focus_pixel = texture->color().pixel(); } else m_focus_pm = image_ctrl->renderImage(m_size_w, m_size_h, texture);

@@ -219,14 +219,14 @@ if (texture->getTexture() & BImage::PARENTRELATIVE ) {

BTexture *pt = &(m_win->getScreen()->getWindowStyle()->tab.t_unfocus); if (pt->getTexture() == (BImage::FLAT | BImage::SOLID)) { m_unfocus_pm = None; - m_unfocus_pixel = pt->getColor()->getPixel(); + m_unfocus_pixel = pt->color().pixel(); } else m_unfocus_pm = image_ctrl->renderImage(m_size_w, m_size_h, pt); } else { if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { m_unfocus_pm = None; - m_unfocus_pixel = texture->getColor()->getPixel(); + m_unfocus_pixel = texture->color().pixel(); } else m_unfocus_pm = image_ctrl->renderImage(m_size_w, m_size_h, texture);

@@ -244,7 +244,7 @@

XSetWindowBorderWidth(m_display, m_tabwin, m_win->getScreen()->getWindowStyle()->tab.border_width); XSetWindowBorder(m_display, m_tabwin, - m_win->getScreen()->getWindowStyle()->tab.border_color.getPixel()); + m_win->getScreen()->getWindowStyle()->tab.border_color.pixel()); } //-------------- deiconify -----------------
M src/Toolbar.ccsrc/Toolbar.cc

@@ -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: Toolbar.cc,v 1.23 2002/05/24 11:38:32 fluxgen Exp $ +// $Id: Toolbar.cc,v 1.24 2002/07/20 09:49:57 fluxgen Exp $ // stupid macros needed to access some functions in version 2 of the GNU C // library

@@ -107,8 +107,8 @@ CWColormap | CWOverrideRedirect | CWEventMask;

attrib.background_pixmap = None; attrib.background_pixel = attrib.border_pixel = - screen->getBorderColor()->getPixel(); - attrib.colormap = screen->getColormap(); + screen->getBorderColor()->pixel(); + attrib.colormap = screen->colormap(); attrib.override_redirect = True; attrib.event_mask = ButtonPressMask | ButtonReleaseMask | EnterWindowMask | LeaveWindowMask;

@@ -434,7 +434,7 @@ BTexture *texture = &(screen->getToolbarStyle()->toolbar);

if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { frame.base = None; XSetWindowBackground(display, frame.window, - texture->getColor()->getPixel()); + texture->color().pixel()); } else { frame.base = image_ctrl->renderImage(frame.width, frame.height, texture);

@@ -447,7 +447,7 @@ texture = &(screen->getToolbarStyle()->window);

if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { frame.label = None; XSetWindowBackground(display, frame.window_label, - texture->getColor()->getPixel()); + texture->color().pixel()); } else { frame.label = image_ctrl->renderImage(frame.window_label_w, frame.label_h, texture);

@@ -460,7 +460,7 @@ texture = &(screen->getToolbarStyle()->label);

if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { frame.wlabel = None; XSetWindowBackground(display, frame.workspace_label, - texture->getColor()->getPixel()); + texture->color().pixel()); } else { frame.wlabel = image_ctrl->renderImage(frame.workspace_label_w, frame.label_h, texture);

@@ -473,7 +473,7 @@ texture = &(screen->getToolbarStyle()->clock);

if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { frame.clk = None; XSetWindowBackground(display, frame.clock, - texture->getColor()->getPixel()); + texture->color().pixel()); } else { frame.clk = image_ctrl->renderImage(frame.clock_w, frame.label_h, texture);

@@ -486,7 +486,7 @@ texture = &(screen->getToolbarStyle()->button);

if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { frame.button = None; - frame.button_pixel = texture->getColor()->getPixel(); + frame.button_pixel = texture->color().pixel(); XSetWindowBackground(display, frame.psbutton, frame.button_pixel); XSetWindowBackground(display, frame.nsbutton, frame.button_pixel); XSetWindowBackground(display, frame.pwbutton, frame.button_pixel);

@@ -506,14 +506,14 @@ tmp = frame.pbutton;

texture = &(screen->getToolbarStyle()->pressed); if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { frame.pbutton = None; - frame.pbutton_pixel = texture->getColor()->getPixel(); + frame.pbutton_pixel = texture->color().pixel(); } else frame.pbutton = image_ctrl->renderImage(frame.button_w, frame.button_w, texture); if (tmp) image_ctrl->removeImage(tmp); XSetWindowBorder(display, frame.window, - screen->getBorderColor()->getPixel()); + screen->getBorderColor()->pixel()); XSetWindowBorderWidth(display, frame.window, screen->getBorderWidth()); XClearWindow(display, frame.window);