Ticket #7220: Shortcuts.diff

File Shortcuts.diff, 1.5 KB (added by diver, 13 years ago)
  • src/preferences/shortcuts/clv/ColumnListView.cpp

     
    8585fPageWidth(0),
    8686fPageHeight(0),
    8787fSortKeyList(6),
    88 fRightArrow(BRect(0.0,0.0,10.0,10.0),B_COLOR_8_BIT,CLVRightArrowData,false,false),
    89 fDownArrow(BRect(0.0,0.0,10.0,10.0),B_COLOR_8_BIT,CLVDownArrowData,false,false),
     88fRightArrow(BRect(0.0,0.0,10.0,10.0),B_RGBA32,CLVRightArrowData,false,false),
     89fDownArrow(BRect(0.0,0.0,10.0,10.0),B_RGBA32,CLVDownArrowData,false,false),
    9090fFullItemList(32),
    9191_selectedColumn(-1),
    9292_editMessage(NULL)
  • src/preferences/shortcuts/ShortcutsSpec.cpp

     
    5151
    5252
    5353#define ICON_BITMAP_RECT BRect(0.0f, 0.0f, 15.0f, 15.0f)
    54 #define ICON_BITMAP_SPACE B_COLOR_8_BIT
     54#define ICON_BITMAP_SPACE B_RGBA32
    5555
    5656
    5757// Returns the (pos)'th char in the string, or '\0' if (pos) if off the end of
     
    441441
    442442        bitmapRegion.Include(item_column_rect);
    443443        owner->ConstrainClippingRegion(&bitmapRegion);
    444         owner->SetDrawingMode(B_OP_OVER);
     444        owner->SetDrawingMode(B_OP_ALPHA);
    445445
    446446        if ((fCommand != NULL) && (fCommand[0] == '*'))
    447447            owner->DrawBitmap(sActuatorBitmaps[fBitmapValid ? 1 : 0],