Ticket #7052: Deskbar_StatusView_h_style_fix.diff

File Deskbar_StatusView_h_style_fix.diff, 1.9 KB (added by jscipione, 13 years ago)
  • src/apps/deskbar/StatusView.h

    diff --git a/src/apps/deskbar/StatusView.h b/src/apps/deskbar/StatusView.h
    index aeef04b..31fb82f 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
    const int32 kIconGap = 2;  
    5152const int32 kGutter = 1;
    5253const int32 kDragRegionWidth = 6;
    5354
    54 //  1 pixel left gutter
    55 //  space for replicant tray (6 items)
    56 //  6 pixel drag region
    57 const float kMinimumTrayWidth = kIconGap
    58         + (kMinimumReplicantCount * kIconGap)
    59         + (kMinimumReplicantCount * kMaxReplicantWidth) + kGutter;
     55// 1 pixel left gutter
     56// space for replicant tray (6 items)
     57// 6 pixel drag region
     58const float kMinimumTrayWidth = kIconGap + (kMinimumReplicantCount * kIconGap)
     59    + (kMinimumReplicantCount * kMaxReplicantWidth) + kGutter;
    6060const float kMinimumTrayHeight = kGutter + kMaxReplicantHeight + kGutter;
    6161
    6262extern float sMinimumWindowWidth;
    public:  
    104104    void RemoveIcon(int32 target, bool byIndex = false);
    105105    void RemoveIcon(const char* name);
    106106
    107     BRect IconFrame(int32 target, bool byIndex=false);
     107    BRect IconFrame(int32 target, bool byIndex = false);
    108108    BRect IconFrame(const char* name);
    109109
    110110    bool AcceptAddon(BRect frame, BMessage* message);