Woopsi 1.0 GUI Framework for Nintendo DS Homebrew

- Main Page
- Classes
- Files

- File List

# listboxdataitem.h

    00001 #ifndef _LISTBOX_DATA_ITEM_H_
    00002 #define _LISTBOX_DATA_ITEM_H_
    00003
    00004 #include <nds.h>
    00005 #include "listdataitem.h"
    00006 #include "woopsistring.h"
    00007
    00008 namespace WoopsiUI {
    00009
    00013         class ListBoxDataItem : public ListDataItem {
    00014         public:
    00015
    00028                 ListBoxDataItem(const WoopsiString& text, const u32 value,
    00029                         const u16 normalTextColour,
    00030                         const u16 normalBackColour,
    00031                         const u16 selectedTextColour,
    00032                         const u16 selectedBackColour);
    00033
    00038                 inline u16 getNormalTextColour() const { return _normalTextColour; };
    00039
    00044                 inline u16 getNormalBackColour() const { return _normalBackColour; };
    00045
    00050                 inline u16 getSelectedTextColour() const { return _selectedTextColour; };
    00051
    00056                 inline u16 getSelectedBackColour() const { return _selectedBackColour; };
    00057
    00058         private:
    00059                 u16 _normalTextColour;
    00060                 u16 _normalBackColour;
    00061                 u16 _selectedTextColour;
    00062                 u16 _selectedBackColour;
    00063         };
    00064 }
    00065
    00066 #endif