34 void AddThread(std::function<
void()> Callback);
35 void SetOnInput(std::function<
void(u64 Down, u64 Up, u64 Held,
bool Touch)> Callback);
37 int CreateShowDialog(std::string Title, std::string Content, std::vector<std::string> Options,
bool UseLastOptionAsCancel, std::string Icon =
"");
53 std::vector<std::function<void()>>
thds;
54 std::function<void(u64, u64, u64,
bool)>
cbipt;
s32 fact
Definition: Application.hpp:51
std::vector< std::function< void()> > thds
Definition: Application.hpp:53
bool hasimage
Definition: Application.hpp:49
void SetBackgroundImage(std::string Path)
Definition: Renderer.hpp:22
render::Renderer * rend
Definition: Application.hpp:55
void SetOnInput(std::function< void(u64 Down, u64 Up, u64 Held, bool Touch)> Callback)
Definition: Layout.hpp:19
Definition: Dialog.hpp:20
Definition: Application.hpp:20
std::function< bool(render::Renderer *Drawer)> rof
Definition: Application.hpp:45
bool show
Definition: Application.hpp:50
void DeleteBackgroundImage()
void AddThread(std::function< void()> Callback)
Layout * lyt
Definition: Application.hpp:52
render::NativeTexture ntex
Definition: Application.hpp:48
void SetBackgroundColor(draw::Color BackColor)
draw::Color bgcolor
Definition: Application.hpp:46
bool CallForRenderWithRenderOver(std::function< bool(render::Renderer *Drawer)> RenderFunc)
void LoadLayout(Layout *Layout)
draw::Color GetBackgroundColor()
bool HasBackgroundImage()
std::string bgimage
Definition: Application.hpp:47
std::string GetBackgroundImage()
int CreateShowDialog(std::string Title, std::string Content, std::vector< std::string > Options, bool UseLastOptionAsCancel, std::string Icon="")
SDL_Texture * NativeTexture
Definition: SDL2.hpp:16
u32 ShowDialog(Dialog *ToShow)
Definition: Application.hpp:22
std::function< void(u64, u64, u64, bool)> cbipt
Definition: Application.hpp:54
bool rover
Definition: Application.hpp:44