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