VirtualBox

Changeset 2345 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 26, 2007 12:47:00 AM (18 years ago)
Author:
vboxsync
Message:

comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/darwin/VBoxAquaStyle.cpp

    r2342 r2345  
    2424#include <qapplication.h>
    2525#include <qtoolbutton.h>
     26#include <qpushbutton.h>
     27#include <qpainter.h>
    2628#include <qpixmap.h>
    2729
    2830
    29 #ifdef Q_WS_MAC /* move this! */
    3031VBoxAquaStyle *VBoxAquaStyle::sInstance;
    31 #endif
    3232
    3333/**
     
    8383    if ( control == CC_ToolButton )
    8484    {
     85        /*
     86         * This is for the ugly tool bar buttons.
     87         * We just drop the frame unless they are pressed down.
     88         */
    8589        QToolButton *toolbutton = (QToolButton *)widget;
    8690        //if (toolbutton->isDown()) fprintf(stderr, " down");
     
    97101        }
    98102    }
     103
     104    /* fallback */
    99105    mparent->drawComplexControl( control, p, widget, r, cg, how, sub, subActive, foo );
    100106    //fprintf(stderr, "\n");
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette