adding more App windowing methods

This commit is contained in:
Noel Berry
2021-05-09 19:46:08 -07:00
parent 76525f91c5
commit 991cfcad82
2 changed files with 55 additions and 6 deletions

View File

@ -1,5 +1,6 @@
#pragma once
#include <blah/common.h>
#include <blah/numerics/point.h>
namespace Blah
{
@ -112,6 +113,24 @@ namespace Blah
// Gets the user path
const char* user_path();
// Gets the Window Title
const char* get_title();
// Sets the Window Title
void set_title(const char* title);
// Gets the Window Position
Point get_position();
// Sets the Window Position
void set_position(Point point);
// Gets the Window Size
Point get_size();
// Sets the Window Size
void set_size(Point point);
// Gets the width of the window
int width();