micon.cpp
来自「飞虹 vision仿windows开发」· C++ 代码 · 共 21 行
CPP
21 行
#include"\sunshine\include\micon.h"
#include"\sunshine\include\app.h"
#include"\sunshine\include\define.h"
#include<fstream.h>
#include<alloc.h>
MIcon::MIcon(int x,int y,char *filename)
:MObj(x,y,0,0,"ICON"),MBmp(filename)
{
firstrun=1;
}
void MIcon::UnFocus()
{
Mouse am(1);
BitBlt(x(),y());
}
int MIcon::Process()
{
if(firstrun){firstrun=0;UnFocus();return 1;}
return 1;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?