00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef AEDLISTBOX_H
00024 #define AEDLISTBOX_H
00025
00026 #include "aedWidget.h"
00027 #include "aedFont.h"
00028
00029 class DLLEXPORT aedListBox:public aedWidget
00030 {
00031 public:
00032 aedListBox();
00033
00034 virtual void add(std::string string);
00035 virtual void insert(int line, std::string string);
00036 virtual void del(int line);
00037 virtual void del(int startLine, int endLine);
00038 virtual int size();
00039
00040 virtual int wm_update(Uint32 msdelta);
00041 virtual void render(void);
00042
00043 protected:
00044 std::vector < std::string > m_Strings;
00045 int m_currentLine;
00046 };
00047
00048 #if defined(_MSC_VER)
00049 DLLEXTERN template DLLEXPORT aedFunctor1Arg < stub, aedListBox >;
00050 #endif
00051
00052 #endif