mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 09:19:17 +01:00
fa11a745d6
*Rewrote the whole Settings.cpp into 11 classes. Each settings menu has it's own class now *Reworked the whole sound system. Supported formats AIF/MP3/OGG/BNS/WAV now with no file size limit (streaming). *Changed button click/over sounds to wav from raw pcm *Lot's of bug fixes
35 lines
740 B
C++
35 lines
740 B
C++
#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;
|
|
|
|
};
|