📄 winbasic.c
字号:
#include <ugl/uglWin.h>WIN_ID winId;void rectSet (int left, int top, int right, int bottom){UGL_RECT rect;rect.left = left;rect.top = top;rect.right = right;rect.bottom = bottom;winRectSet (winId, &rect);}void winBasic (void) { WIN_APP_ID appId; /* create an application context */ appId = winAppCreate ("winApp", 0, 0, 0, UGL_NULL); /* create a window */ winId = winCreate (appId, UGL_NULL_ID, WIN_ATTRIB_FRAMED | WIN_ATTRIB_VISIBLE, 0, 0, 200, 150, UGL_NULL, 0, UGL_NULL); /* attached the window to the default display */ winAttach (winId, UGL_NULL_ID, UGL_NULL_ID); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -