- 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
    00026                 FileListBoxDataItem(const char* text, const u32 value,
    00027                         const u16 normalTextColour,
    00028                         const u16 normalBackColour,
    00029                         const u16 selectedTextColour,
    00030                         const u16 selectedBackColour,
    00031                         const bool isDirectory);
    00032
    00037                 inline const bool isDirectory() const { return _isDirectory; };
    00038
    00051                 virtual s8 compareTo(const ListDataItem* item) const;
    00052
    00053         private:
    00054                 bool _isDirectory;
    00055         };
    00056 }
    00057
    00058 #endif