1 /* 2 * Copyright 2009-2019 Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * François Revol, revol@free.fr 7 */ 8 #ifndef BE_CONTROL_LOOK_H 9 #define BE_CONTROL_LOOK_H 10 11 12 #include <ControlLook.h> 13 14 #include "HaikuControlLook.h" 15 16 17 class BBitmap; 18 class BControl; 19 class BGradientLinear; 20 class BView; 21 22 using BPrivate::HaikuControlLook; 23 24 25 class BeControlLook : public HaikuControlLook { 26 public: 27 BeControlLook(image_id id); 28 virtual ~BeControlLook(); 29 30 31 virtual void DrawMenuBarBackground(BView* view, BRect& rect, 32 const BRect& updateRect, 33 const rgb_color& base, 34 uint32 flags = 0, 35 uint32 borders = B_ALL_BORDERS); 36 37 virtual void DrawMenuItemBackground(BView* view, 38 BRect& rect, const BRect& updateRect, 39 const rgb_color& base, uint32 flags = 0, 40 uint32 borders = B_ALL_BORDERS); 41 }; 42 43 44 #endif // BE_CONTROL_LOOK_H 45