Ticket #7052: Deskbar_ShowHideMenuItem_h_style_fix.diff

File Deskbar_ShowHideMenuItem_h_style_fix.diff, 1.7 KB (added by jscipione, 13 years ago)
  • src/apps/deskbar/ShowHideMenuItem.h

    diff --git a/src/apps/deskbar/ShowHideMenuItem.h b/src/apps/deskbar/ShowHideMenuItem.h
    index cd52f09..159dde1 100644
    a b Except as contained in this notice, the name of Be Incorporated shall not be  
    2626used in advertising or otherwise to promote the sale, use or other dealings in
    2727this Software without prior written authorization from Be Incorporated.
    2828
    29 Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered trademarks
    30 of Be Incorporated in the United States and other countries. Other brand product
    31 names are registered trademarks or trademarks of their respective holders.
     29Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered
     30trademarks of Be Incorporated in the United States and other countries. Other
     31brand product names are registered trademarks or trademarks of their respective
     32holders.
    3233All rights reserved.
    3334*/
    3435
    All rights reserved.  
    4344
    4445class TShowHideMenuItem : public BMenuItem {
    4546public:
    46                         TShowHideMenuItem(const char* title, 
     47                        TShowHideMenuItem(const char* title,
    4748                                          const BList* teams,
    4849                                          uint32 action);
    4950
    50     static status_t     TeamShowHideCommon(int32 action, 
    51                             const BList* teamList, 
    52                             BRect zoomRect = BRect(0, 0, 0, 0), 
     51    static status_t     TeamShowHideCommon(int32 action,
     52                            const BList* teamList,
     53                            BRect zoomRect = BRect(0, 0, 0, 0),
    5354                            bool doZoom = false);
    5455protected:
    5556    virtual void        GetContentSize(float* width, float* height);
    5657    virtual void        DrawContent();
    5758    virtual status_t    Invoke(BMessage* message = NULL);
    5859
    59 private: 
     60private:
    6061    const BList*        fTeams;
    6162    uint32              fAction;
    6263    float               fTitleWidth;