usbloadergx/source/libwiigui/gui_searchbar.h

42 lines
854 B
C
Raw Normal View History

#ifndef GUI_SEARCHBAR_H_
#define GUI_SEARCHBAR_H_
2009-09-27 20:19:53 +02:00
#include "gui.h"
class cSearchButton;
2010-09-24 02:48:03 +02:00
class GuiSearchBar: public GuiWindow
{
public:
2010-09-24 02:48:03 +02:00
GuiSearchBar(const wchar_t *SearchChars);
~GuiSearchBar();
void Draw();
2010-09-24 02:48:03 +02:00
void Update(GuiTrigger * t);
wchar_t GetClicked();
private:
2010-09-24 02:48:03 +02:00
u16 inSide;
GuiText text;
GuiImageData* imgBacspaceBtn;
GuiImage* BacspaceBtnImg;
GuiImage* BacspaceBtnImg_Over;
GuiButton* BacspaceBtn;
GuiImageData* imgClearBtn;
GuiImage* ClearBtnImg;
GuiImage* ClearBtnImg_Over;
GuiButton* ClearBtn;
GuiButton* CloseBtn;
2010-09-24 02:48:03 +02:00
cSearchButton **buttons;
int cnt;
GuiImageData keyImageData;
GuiImageData keyOverImageData;
GuiTrigger trig;
GuiTrigger trigB;
2009-09-27 20:19:53 +02:00
};
#endif