mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 09:19:17 +01:00
973d8b2005
*Converted every 4 spaces to a tab to make the source consistent on those
42 lines
724 B
C++
42 lines
724 B
C++
#ifndef GUI_SEARCHBAR_H_
|
|
#define GUI_SEARCHBAR_H_
|
|
#include "gui.h"
|
|
|
|
class cSearchButton;
|
|
|
|
class GuiSearchBar: public GuiWindow
|
|
{
|
|
public:
|
|
GuiSearchBar(const wchar_t *SearchChars);
|
|
virtual ~GuiSearchBar();
|
|
void Draw();
|
|
void Update(GuiTrigger * t);
|
|
wchar_t GetClicked();
|
|
private:
|
|
u16 inSide;
|
|
|
|
GuiText text;
|
|
|
|
GuiImageData* imgBacspaceBtn;
|
|
GuiImage* BacspaceBtnImg;
|
|
GuiImage* BacspaceBtnImg_Over;
|
|
GuiButton* BacspaceBtn;
|
|
|
|
GuiImageData* imgClearBtn;
|
|
GuiImage* ClearBtnImg;
|
|
GuiImage* ClearBtnImg_Over;
|
|
GuiButton* ClearBtn;
|
|
|
|
GuiButton* CloseBtn;
|
|
|
|
cSearchButton **buttons;
|
|
int cnt;
|
|
GuiImageData keyImageData;
|
|
GuiImageData keyOverImageData;
|
|
GuiTrigger trig;
|
|
GuiTrigger trigB;
|
|
|
|
};
|
|
|
|
#endif
|