新增 黑色模式

This commit is contained in:
Maicss
2020-08-05 10:35:50 +08:00
parent 0e387acfb6
commit 070788d50d
3 changed files with 27 additions and 11 deletions

View File

@@ -22,24 +22,24 @@ int main(int argc, char *argv[])
int d_w=s->width();
int d_h=s->height();
if(d_w<=1366){
w.setMinimumWidth(820);
w.resize(820,640);
w.setMinimumWidth(350);
w.resize(835,640);
}else if(d_w<=1920){
w.setMinimumWidth(1140);
w.resize(1140,760);
w.resize(1180,760);
}else {
w.setMinimumWidth(1140);
w.resize(1140,760);
w.resize(1180,760);
}
if(d_h<=768){
w.setMinimumHeight(640);
w.resize(820,640);
w.resize(835,640);
}else if(d_h<=1080){
w.setMinimumHeight(760);
w.resize(1140,760);
w.resize(1180,760);
}else {
w.setMinimumHeight(760);
w.resize(1140,760);
w.resize(1180,760);
}
w.show();