4 Star 22 Fork 5

poethxp/kwooca

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
kWookaSplashScreen.hpp 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
Long Zou 提交于 2022-06-18 20:15 +08:00 . add
//
// kPosSplashScreen.hpp
// kpos
//
// Created by ZOU YUNLONG on 2019/10/28.
// Copyright © 2019 LongZou. All rights reserved.
//
#ifndef kWookaSplashScreen_hpp
#define kWookaSplashScreen_hpp
#include <stdio.h>
#include "wx/minifram.h"
#include "wx/stack.h"
#include "wx/clipbrd.h"
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "wx/statline.h"
#include "wx/wfstream.h"
#include "wx/filedlg.h"
#include "wx/stockitem.h"
#include "wx/dcbuffer.h"
#include "wx/tipwin.h"
#include "wx/metafile.h"
#include "wx/treectrl.h"
#include "wx/aui/aui.h"
#include "wx/choice.h"
#include "kWooka_ids.h"
#include <map>
class kWookaInitialModuleTask : public wxThread {
private:
bool running;
wxEvtHandler* m_handler;
public:
kWookaInitialModuleTask(wxEvtHandler* hh = NULL);
~kWookaInitialModuleTask();
virtual wxThread::ExitCode Entry();
};
class kWookaSplashScreenFrame : public wxFrame
{
public:
// ctor and dtor
kWookaSplashScreenFrame();
virtual ~kWookaSplashScreenFrame();
// member functions
void UpdateUI();
public:
enum {
ID_TIMER = 1001,
ID_COMMAND_INIT_OK,
ID_MENU_EXIT
};
private:
wxBitmap m_bmp;
bool m_hasShape;
void OnPaint(wxPaintEvent& event);
void OnInitializedCompleted(wxCommandEvent& event);
void SetWindowShape();
#ifdef __WXGTK__
void OnWindowCreate(wxWindowCreateEvent& event);
#endif
DECLARE_EVENT_TABLE()
};
#endif /* kPosSplashScreen_hpp */
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/poethxp/kwooca.git
git@gitee.com:poethxp/kwooca.git
poethxp
kwooca
kwooca
master

搜索帮助