Initial Check in. Coded by Mattias Sundblad.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1135 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Phil Greenway
2002-09-23 23:01:55 +00:00
parent b23dde8600
commit f7afd44bda
13 changed files with 1827 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef _MENU_ITEM_H
#include <MenuItem.h>
#endif
#ifndef COLOR_MENU_ITEM_H
#include "ColorMenuItem.h"
#endif
ColorMenuItem::ColorMenuItem(const char *label, rgb_color color,BMessage *message)
:BMenuItem(label, message,0,0){
fItemColor= color;
}
void ColorMenuItem::DrawContent(){
BMenu *menu= Menu();
menu->SetHighColor(fItemColor);
BMenuItem::DrawContent();
}