@@ -75,6 +75,7 @@ window *New_Window(UI *ui,uint16_t x,uint16_t y,uint16_t width,uint16_t high,COL
|
||||
temp_window->width=width;
|
||||
temp_window->x=x;
|
||||
temp_window->y=y;
|
||||
temp_window->refresh_windows_flag=2;
|
||||
for(int a=0;a<16;a++)
|
||||
{
|
||||
temp_window->title[a]=title[a];
|
||||
@@ -423,6 +424,7 @@ void UI_Server(UI *ui)
|
||||
temp_window=ui->moveed_windwos;
|
||||
temp_window->x=(t_x-ui->move_x);
|
||||
temp_window->y=(t_y-ui->move_y);
|
||||
temp_window->refresh_windows_flag=1;
|
||||
ui->refresh_ui_flag=1;
|
||||
//发生了变化 刷新ui的显示
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user