⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 demo_function.c

📁 飞漫公司的minigui的1.6.8收费增值版本的demon等示例程序
💻 C
字号:
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <minigui/common.h>#include <minigui/minigui.h>#include <minigui/gdi.h>#include <minigui/window.h>#include <minigui/control.h>#include "../global.h"void draw_caption_bar (HDC hdc, HWND hwnd){    gal_pixel pixel;    char *chCaption = NULL;    pixel = GetPixelInBitmap (bmp_closebox, 0, 0);    bmp_closebox->bmType = BMP_TYPE_COLORKEY;    bmp_closebox->bmColorKey = pixel;    pixel = GetPixelInBitmap (bmp_power4, 0, 0);    bmp_power4->bmType = BMP_TYPE_COLORKEY;    bmp_power4->bmColorKey = pixel;    pixel = GetPixelInBitmap (bmp_volume_d, 0, 0);    bmp_volume_d->bmType = BMP_TYPE_COLORKEY;    bmp_volume_d->bmColorKey = pixel;    //FillBoxWithBitmap (hdc, 280, 0, 0, 0, bmp_closebox);    FillBoxWithBitmapPart (hdc, 298, 2, bmp_closebox->bmWidth/2, bmp_closebox->bmHeight, 0, 0, bmp_closebox, bmp_closebox->bmWidth/2, 0);    FillBoxWithBitmap (hdc, 268, 2, 0, 0, bmp_volume_d);    FillBoxWithBitmap (hdc, 238, 6, 0, 0, bmp_power4);/*    SetBkMode (hdc, BM_TRANSPARENT);    chCaption = GetWindowCaption (hwnd);    if (chCaption != NULL)        TextOut (hdc, 2, 4, chCaption);*/    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -