窗口位置限制

Signed-off-by: fong <wuwenfengmi@outlook.com>
This commit is contained in:
fong
2024-01-01 02:31:28 +08:00
parent 42092b6422
commit 616b596fb7
5 changed files with 6224 additions and 6190 deletions
+8 -8
View File
@@ -12,10 +12,10 @@
typedef struct
{
uint16_t x;
uint16_t y;
uint16_t width;
uint16_t high;
int x;
int y;
int width;
int high;
COLOR_16 background;
char title[16];
uint8_t refresh_windows_flag;
@@ -35,10 +35,10 @@ typedef struct windows_stack
typedef struct
{
COLOR_16 background;
uint16_t x;
uint16_t y;
uint16_t width;
uint16_t high;
int x;
int y;
int width;
int high;
windows_stack *windows;
windows_stack *last_windows;
window *moveed_windwos;//¼Ç¼ÕýÔÚ±»Òƶ¯µÄ´°¿Ú