14 VK_IOWindow(
const std::string &path,
const std::string &title,
const int width,
const int height,
const bool fullscreen,
const bool enableVsync =
false);
15 void event(SDL_Event &e)
override;
16 void print(
const std::string &text, SDL_Color col = {255, 255, 255, 255});
Lightweight command console renderer for mxvk::VK_Window.
virtual void appendConsoleHelp(std::ostream &out) const
Append app-specific help lines to the console help output.
virtual void console_event(SDL_Event &e)=0
virtual void console_proc()=0
virtual bool handleConsoleCommand(const std::vector< std::string > &args, std::ostream &out)
Handle app-specific console commands.
void event(SDL_Event &e) override
Handle one SDL event.
void print(const std::string &text, SDL_Color col={255, 255, 255, 255})
void proc() override
Execute one processing/update step.
VK_IOWindow(const std::string &path, const std::string &title, const int width, const int height, const bool fullscreen, const bool enableVsync=false)
VK_Window()=default
Construct an empty window object.
In-game command console for MXVK / Vulkan windows.
Utilities for loading and saving PNG images.