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 BMessage; 17 18 19 class ColorMenuItem: public BMenuItem { 20 public: 21 ColorMenuItem(const char *label, rgb_color color, BMessage *message); 22 void DrawContent(); 23 24 private: 25 rgb_color fItemColor; 26 }; 27 28 #endif // COLOR_MENU_ITEM_H 29 30