all repos — fluxbox @ abe8ed2968de9ace1acca70d82da8559a6f633e3

custom fork of the fluxbox windowmanager

updated BColor function names
fluxgen fluxgen
commit

abe8ed2968de9ace1acca70d82da8559a6f633e3

parent

650924679ac4aad6b28b88196d2831d428ee22d0

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

jump to
M src/Basemenu.ccsrc/Basemenu.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: Basemenu.cc,v 1.25 2002/05/29 21:15:07 fluxgen Exp $ +// $Id: Basemenu.cc,v 1.26 2002/07/19 21:18:29 fluxgen Exp $ //use GNU extensions #ifndef _GNU_SOURCE

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

XSetWindowAttributes attrib; attrib.background_pixmap = None; attrib.background_pixel = attrib.border_pixel = - m_screen->getBorderColor()->getPixel(); - attrib.colormap = m_screen->getColormap(); + m_screen->getBorderColor()->pixel(); + attrib.colormap = m_screen->colormap(); attrib.override_redirect = True; attrib.event_mask = ButtonPressMask | ButtonReleaseMask | ButtonMotionMask | ExposureMask;

@@ -140,7 +140,7 @@ m_fluxbox->saveMenuSearch(menu.window, this);

//attibutes for title to menuwindow attrib_mask = CWBackPixmap | CWBackPixel | CWBorderPixel | CWEventMask; - attrib.background_pixel = m_screen->getBorderColor()->getPixel(); + attrib.background_pixel = m_screen->getBorderColor()->pixel(); attrib.event_mask |= EnterWindowMask | LeaveWindowMask; //create menu title menu.title =

@@ -351,7 +351,7 @@ texture = &(m_screen->getMenuStyle()->title);

if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { menu.title_pixmap = None; XSetWindowBackground(m_display, menu.title, - texture->getColor()->getPixel()); + texture->color().pixel()); } else { menu.title_pixmap = m_image_ctrl->renderImage(menu.width, menu.title_h, texture);

@@ -366,7 +366,7 @@ texture = &(m_screen->getMenuStyle()->frame);

if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { menu.frame_pixmap = None; XSetWindowBackground(m_display, menu.frame, - texture->getColor()->getPixel()); + texture->color().pixel()); } else { menu.frame_pixmap = m_image_ctrl->renderImage(menu.width, menu.frame_h, texture);

@@ -1120,9 +1120,9 @@

void Basemenu::reconfigure(void) { XSetWindowBackground(m_display, menu.window, - m_screen->getBorderColor()->getPixel()); + m_screen->getBorderColor()->pixel()); XSetWindowBorder(m_display, menu.window, - m_screen->getBorderColor()->getPixel()); + m_screen->getBorderColor()->pixel()); XSetWindowBorderWidth(m_display, menu.window, m_screen->getBorderWidth()); menu.bevel_w = m_screen->getBevelWidth();