added App::focused and System::open_url apis

This commit is contained in:
Noel Berry
2022-01-25 22:50:20 -08:00
parent 4620b1bd70
commit ccd02fa9ef
5 changed files with 42 additions and 1 deletions

View File

@ -43,6 +43,9 @@ namespace Blah
// Sets the Application Window Position, in Screen Coordinates
void set_position(int x, int y);
// Gets whether the Window has focus
bool get_focused();
// Sets the Window Fullscreen if enabled is not 0
void set_fullscreen(bool enabled);
@ -102,5 +105,8 @@ namespace Blah
// D3D11 Methods
void* d3d11_get_hwnd();
// Tries to open a URL in a web browser
void open_url(const char* url);
}
}