[nostalgia/core] Add focusWindow, cleanup GLFW leak into Userland, change shutdown to stop main loop
This commit is contained in:
@@ -74,14 +74,14 @@ struct Sprite {
|
||||
|
||||
ox::Error initGfx(Context *ctx) noexcept;
|
||||
|
||||
ox::Error shutdownGfx(Context *ctx) noexcept;
|
||||
|
||||
void addCustomDrawer(Context *ctx, Drawer *cd) noexcept;
|
||||
|
||||
void removeCustomDrawer(Context *ctx, Drawer *cd) noexcept;
|
||||
|
||||
void setWindowTitle(Context *ctx, const char *title) noexcept;
|
||||
|
||||
void focusWindow(Context *ctx) noexcept;
|
||||
|
||||
[[nodiscard]]
|
||||
int getScreenWidth(Context *ctx) noexcept;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user