1 /* 2 * Copyright 2002-2008, Haiku. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * DarkWyrm (darkwyrm@earthlink.net) 7 * Rene Gollent (rene@gollent.com) 8 */ 9 #include "ColorWhichItem.h" 10 #include <stdio.h> 11 12 ColorWhichItem::ColorWhichItem(const char* text, color_which which) 13 : BStringItem(text, 0, false) 14 , colorWhich(which) 15 { 16 } 17 18 color_which 19 ColorWhichItem::ColorWhich(void) 20 { 21 return colorWhich; 22 } 23 24