mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 17:29:17 +01:00
18a26d7e1a
*Rewrote complete main menu function *Moved ext2/3/4 disc cache to mem2 as on FAT/NTFS (added ext2 as custom lib due to that) *Added missing header files from R1011 for ext support *Fixed crash on Numpad when pressing a button *Fixed boot of WiiMC *Changed SVN line ending to LF (Unix style)
38 lines
797 B
C++
38 lines
797 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);
|
|
~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;
|
|
|
|
cSearchButton **buttons;
|
|
int cnt;
|
|
GuiImageData keyImageData;
|
|
GuiImageData keyOverImageData;
|
|
GuiTrigger trig;
|
|
|
|
};
|
|
|
|
#endif |