2 Star 0 Fork 0

mirrors_beltoforion/Wator-Screensaver

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
WatorApp.h 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
Ingo Berg 提交于 2015-01-24 00:12 . first commit
/*
WorldOfWator
Copyright 2009 Ingo Berg
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#pragma once
#ifndef __AFXWIN_H__
#error 'stdafx.h' muss vor dieser Datei in PCH eingeschlossen werden.
#endif
#include "resource.h" // Hauptsymbole
#include "WatorWnd.h"
//-------------------------------------------------------------------------------------------
//
// Wator Screensaver
// (C) 2005 Ingo Berg
//
// ingo_berg {at} gmx {dot} de
//
//-------------------------------------------------------------------------------------------
// CWatorSaverApp:
// Siehe WatorSaver.cpp fr die Implementierung dieser Klasse
//
class CWatorSaverApp : public CWinApp
{
public:
CWatorSaverApp();
~CWatorSaverApp();
// berschreibungen
virtual BOOL InitInstance();
// Implementierung
DECLARE_MESSAGE_MAP()
private:
enum ESaverMode
{
smCONFIG,
smPREVIEW,
smSAVER,
smVOID
};
int m_iNumScreens;
std::vector<RECT> m_vScreens;
std::vector<CWatorGL*> m_vpWator;
HWND m_hWnd;
ESaverMode m_Mode;
bool m_bSaverActive;
// disable CC and AOP
CWatorSaverApp(const CWatorSaverApp&) {}
CWatorSaverApp& operator=(const CWatorSaverApp&) { return *this; }
ESaverMode SaverInit();
};
extern CWatorSaverApp theApp;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_beltoforion/Wator-Screensaver.git
git@gitee.com:mirrors_beltoforion/Wator-Screensaver.git
mirrors_beltoforion
Wator-Screensaver
Wator-Screensaver
master

搜索帮助