1 /* 2 * Copyright 2002-2006, Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Mattias Sundblad 7 * Andrew Bachmann 8 */ 9 #ifndef COLOR_MENU_ITEM_H 10 #define COLOR_MENU_ITEM_H 11 12 13 #include <MenuItem.h> 14 15 16 class ColorMenuItem: public BMenuItem { 17 public: 18 ColorMenuItem(const char *label, rgb_color color, BMessage *message); 19 20 protected: 21 virtual void DrawContent(); 22 23 private: 24 rgb_color fItemColor; 25 }; 26 27 #endif // COLOR_MENU_ITEM_H 28 29