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