- UID
- 1656
- 麦力
- 10614
- 注册时间
- 2016-11-7
- 最后登录
- 2023-7-14
- 精华
- 8
- 阅读权限
- 80
- 在线时间
- 1040 小时
|
本帖最后由 qs100371 于 2017-10-22 09:42 编辑
init_watch()里
- frame.origin.x = 107;
- frame.origin.y = 78;
- frame.size.h = 20;
- frame.size.w = 25;
- sprintf(buff, "%2d", dt.mday);
- display_target_layerText(p_window, &frame, GAlignRight, GColorBlue, buff, U_ASCII_ARIAL_20, GColorWhite);
- frame.origin.x = 132;
- frame.origin.y = 78;
- frame.size.h = 20;
- frame.size.w = 20;
- sprintf(buff, "%s", wday_str[dt.wday]);
- display_target_layerText(p_window, &frame, GAlignLeft, GColorRed, buff, U_GBK_SIMSUN_20, GColorWhite);
复制代码
|
|