mirror of
https://github.com/NoelFB/blah.git
synced 2026-11-10 00:35:14 +08:00
adding more App windowing methods
This commit is contained in:
1 parent
76525f91c5
commit
991cfcad82
2 files changed
+55
-6
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user