?? 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 + -