Woopsi 1.0 GUI Framework for Nintendo DS Homebrew

- Main Page
- Classes
- Files

- File List

# filelistboxdataitem.h

    00001 #ifndef _FILE_LISTBOX_DATA_ITEM_H_
    00002 #define _FILE_LISTBOX_DATA_ITEM_H_
    00003
    00004 #include <nds.h>
    00005 #include "listboxdataitem.h"
    00006
    00007 namespace WoopsiUI {
    00008
    00012         class FileListBoxDataItem : public ListBoxDataItem {
    00013         public:
    00014
    00029                 FileListBoxDataItem(const char* text, const u32 value,
    00030                         const u16 normalTextColour,
    00031                         const u16 normalBackColour,
    00032                         const u16 selectedTextColour,
    00033                         const u16 selectedBackColour,
    00034                         const bool isDirectory);
    00035
    00040                 inline const bool isDirectory() const { return _isDirectory; };
    00041
    00054                 virtual s8 compareTo(const ListDataItem* item) const;
    00055
    00056         private:
    00057                 bool _isDirectory;
    00058         };
    00059 }
    00060
    00061 #endif