mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-26 20:47:05 +08:00
Fix using undefined value bug.
This commit is contained in:
parent
01ab335919
commit
16ae64dfb4
@ -62,8 +62,8 @@ class Screen {
|
|||||||
Box stencil;
|
Box stencil;
|
||||||
|
|
||||||
struct Cursor {
|
struct Cursor {
|
||||||
int x;
|
int x = 0;
|
||||||
int y;
|
int y = 0;
|
||||||
};
|
};
|
||||||
Cursor cursor() const { return cursor_; }
|
Cursor cursor() const { return cursor_; }
|
||||||
void SetCursor(Cursor cursor) { cursor_ = cursor; }
|
void SetCursor(Cursor cursor) { cursor_ = cursor; }
|
||||||
|
Loading…
Reference in New Issue
Block a user