Searched refs:sBitmapDrawingEngine (Results 1 – 3 of 3) sorted by relevance
/haiku/src/add-ons/decorators/BeDecorator/ |
H A D | BeDecorator.cpp | 953 static BitmapDrawingEngine* sBitmapDrawingEngine = NULL; in _GetBitmapForButton() local 956 if (sBitmapDrawingEngine == NULL) in _GetBitmapForButton() 957 sBitmapDrawingEngine = new(std::nothrow) BitmapDrawingEngine(); in _GetBitmapForButton() 958 if (sBitmapDrawingEngine == NULL in _GetBitmapForButton() 959 || sBitmapDrawingEngine->SetSize(width, height) != B_OK) { in _GetBitmapForButton() 978 sBitmapDrawingEngine->FillRect(rect, buttonColor); in _GetBitmapForButton() 981 _DrawBevelRect(sBitmapDrawingEngine, rect, tab->closePressed, in _GetBitmapForButton() 988 _DrawBlendedRect(sBitmapDrawingEngine, rect, tab->closePressed, in _GetBitmapForButton() 999 sBitmapDrawingEngine->FillRect(rect, buttonColorLight1); in _GetBitmapForButton() 1002 sBitmapDrawingEngine->SetDrawingMode(B_OP_OVER); in _GetBitmapForButton() [all …]
|
/haiku/src/add-ons/decorators/FlatDecorator/ |
H A D | FlatDecorator.cpp | 847 static BitmapDrawingEngine* sBitmapDrawingEngine = NULL; in _GetBitmapForButton() local 850 if (sBitmapDrawingEngine == NULL) in _GetBitmapForButton() 851 sBitmapDrawingEngine = new(std::nothrow) BitmapDrawingEngine(); in _GetBitmapForButton() 852 if (sBitmapDrawingEngine == NULL in _GetBitmapForButton() 853 || sBitmapDrawingEngine->SetSize(width, height) != B_OK) in _GetBitmapForButton() 864 _DrawBlendedRect(sBitmapDrawingEngine, rect, down, colors); in _GetBitmapForButton() 866 _DrawBlendedRect(sBitmapDrawingEngine, rect, true, colors); in _GetBitmapForButton() 871 sBitmapDrawingEngine->FillRect(rect, B_TRANSPARENT_COLOR); in _GetBitmapForButton() 879 _DrawBlendedRect(sBitmapDrawingEngine, zoomRect, down, colors); in _GetBitmapForButton() 881 _DrawBlendedRect(sBitmapDrawingEngine, zoomRect, true, colors); in _GetBitmapForButton() [all …]
|
/haiku/src/servers/app/decorator/ |
H A D | DefaultDecorator.cpp | 778 static BitmapDrawingEngine* sBitmapDrawingEngine = NULL; in _GetBitmapForButton() local 781 if (sBitmapDrawingEngine == NULL) in _GetBitmapForButton() 782 sBitmapDrawingEngine = new(std::nothrow) BitmapDrawingEngine(); in _GetBitmapForButton() 783 if (sBitmapDrawingEngine == NULL in _GetBitmapForButton() 784 || sBitmapDrawingEngine->SetSize(width, height) != B_OK) in _GetBitmapForButton() 794 _DrawBlendedRect(sBitmapDrawingEngine, rect, down, colors); in _GetBitmapForButton() 799 sBitmapDrawingEngine->FillRect(rect, B_TRANSPARENT_COLOR); in _GetBitmapForButton() 806 _DrawBlendedRect(sBitmapDrawingEngine, zoomRect, down, colors); in _GetBitmapForButton() 812 _DrawBlendedRect(sBitmapDrawingEngine, zoomRect, down, colors); in _GetBitmapForButton() 820 UtilityBitmap* bitmap = sBitmapDrawingEngine->ExportToBitmap(width, height, in _GetBitmapForButton()
|