Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

systray.cpp File Reference

#include <windows.h>
#include "MyMenu.h"
#include "resource.h"
#include "systray.h"
#include "valueEditor.h"
#include "controlEngine.h"
#include "communTools.h"

Go to the source code of this file.

Defines

#define WM_REFRESH   WM_USER+1973
#define WM_REFRESH_EDIT   WM_USER+1974
#define WM_REFRESH_SPIN   WM_USER+1975
#define WM_READ_FROM_EDIT   WM_USER+1976

Functions

LRESULT WINAPI SysTrayProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
LRESULT WINAPI AboutProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
BOOL SetSpinPos (HWND hWnd, int id, int pos)
BOOL SetSpinRange (HWND hWnd, int id, int minPos, int maxPos, int delta)
int GetSpinPos (HWND hWnd)
LRESULT WINAPI ConfigProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)

Variables

ControlEngine ce


Define Documentation

#define WM_READ_FROM_EDIT   WM_USER+1976
 

Definition at line 176 of file systray.cpp.

Referenced by ConfigProc().

#define WM_REFRESH   WM_USER+1973
 

Definition at line 173 of file systray.cpp.

Referenced by ConfigProc().

#define WM_REFRESH_EDIT   WM_USER+1974
 

Definition at line 174 of file systray.cpp.

Referenced by ConfigProc().

#define WM_REFRESH_SPIN   WM_USER+1975
 

Definition at line 175 of file systray.cpp.

Referenced by ConfigProc().


Function Documentation

LRESULT WINAPI AboutProc HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam
 

Definition at line 134 of file systray.cpp.

References MyString::Format(), IDC_BUTTON_FORUM, IDC_BUTTON_LICENCE, IDC_BUTTON_MAILME, IDC_BUTTON_URL, IDC_STATIC_VERSION, MAIL_ADRESS, MailTo(), MyOpenBrowser(), URL_3D_CONTROLS, URL_FORUM, URL_LICENCE, and VERSION.

Referenced by SysTrayProc().

LRESULT WINAPI ConfigProc HWND  hDlg,
UINT  message,
WPARAM  wParam,
LPARAM  lParam
 

Definition at line 193 of file systray.cpp.

References PolygonMode::back, ce, ControlEngine::cpuLimit, DEFAULT_ANTIALIASING, DEFAULT_CPU_LIMIT, DEFAULT_DELTA, DEFAULT_FOG_DENSITY, DEFAULT_FOG_ENABLE, DEFAULT_FOG_END, DEFAULT_FOG_MODE, DEFAULT_FOG_START, DEFAULT_FULLSCREEN, DEFAULT_INERTIA, DEFAULT_LIGHT_ENABLE0, DEFAULT_LIGHT_ENABLE1, DEFAULT_LIGHT_ENABLE2, DEFAULT_LIGHT_MOVE0, DEFAULT_LIGHT_MOVE1, DEFAULT_LIGHT_MOVE2, DEFAULT_MONITOR, DEFAULT_PICKING, DEFAULT_POLYGON_BACK, DEFAULT_POLYGON_FRONT, DEFAULT_TIMER_REFRESH, DEFAULT_TITLED, DEFAULT_VIEW_BACKGROUND, DEFAULT_VIEW_FPS, DEFAULT_VIEW_INERTIA, DEFAULT_VIEW_LIGHT, DEFAULT_VIEW_REGION, DEFAULT_VIEW_REPERE, DEFAULT_XSIZE, DEFAULT_YSIZE, Fog::density, ControlEngine::dxWin, ControlEngine::dyWin, Region::enable, Fog::Enable(), ControlEngine::enableAntiAliasing, ControlEngine::enableBackGround, ControlEngine::enableDelta, ControlEngine::enableFPS, Screen::enableFullScreen, ControlEngine::enableInertia, ControlEngine::enableLightView, ControlEngine::enablePicking, ControlEngine::enableRepere, Screen::enableTitle, ControlEngine::enableViewInertia, Fog::end, ControlEngine::fog, PolygonMode::front, Fog::GetIndexMode(), GetSpinPos(), Screen::hWnd, IDC_BUTTON_DEFAULT, IDC_CHECK_FOG, IDC_CHECK_INERTIA, IDC_CHECK_LIGHT, IDC_CHECK_LIGHT0, IDC_CHECK_LIGHT0_MOVE, IDC_CHECK_LIGHT1, IDC_CHECK_LIGHT1_MOVE, IDC_CHECK_LIGHT2, IDC_CHECK_LIGHT2_MOVE, IDC_CHECK_MONITOR, IDC_CHECK_PICKING, IDC_CHECK_TITLED, IDC_CHECK_VIEW_BACKGROUND, IDC_CHECK_VIEW_FPS, IDC_CHECK_VIEW_INERTIA, IDC_CHECK_VIEW_LIGHT, IDC_CHECK_VIEW_REGION, IDC_CHECK_VIEW_REPERE, IDC_COMBO_FOG_MODE, IDC_COMBO_POLYGONE_BACK, IDC_COMBO_POLYGONE_FRONT, IDC_RADIO_CUSTOMSCREEN, IDC_RADIO_FULLSCREEN, IDC_RICHEDIT_CPU, IDC_RICHEDIT_FOG_DENSITY, IDC_RICHEDIT_FOG_END, IDC_RICHEDIT_FOG_START, IDC_RICHEDIT_FRAMERATE, IDC_RICHEDIT_XSIZE, IDC_RICHEDIT_YSIZE, IDC_SPIN_CPU, IDC_SPIN_FOG_DENSITY, IDC_SPIN_FOG_END, IDC_SPIN_FOG_START, IDC_SPIN_FRAMERATE, IDC_SPIN_XSIZE, IDC_SPIN_YSIZE, Light::isEnable, Fog::isEnable, ControlEngine::lights, ControlEngine::lightsMove, Fog::mode, ControlEngine::monitor, num, ControlEngine::polygonMode, ControlEngine::refreshTime, Screen::region, ControlEngine::screenConfig, ControlEngine::screenMain, Light::SetLighting(), SetSpinPos(), SetSpinRange(), Fog::start, ControlEngine::timerRefresh, Screen::Update(), WM_READ_FROM_EDIT, WM_REFRESH, WM_REFRESH_EDIT, and WM_REFRESH_SPIN.

Referenced by SysTrayProc().

int GetSpinPos HWND  hWnd  ) 
 

Definition at line 188 of file systray.cpp.

References BOOL().

Referenced by ConfigProc().

BOOL SetSpinPos HWND  hWnd,
int  id,
int  pos
 

Definition at line 178 of file systray.cpp.

References BOOL().

Referenced by ConfigProc().

BOOL SetSpinRange HWND  hWnd,
int  id,
int  minPos,
int  maxPos,
int  delta
 

Todo:
delta de la fonction non implementé

Definition at line 183 of file systray.cpp.

References BOOL().

Referenced by ConfigProc().

LRESULT WINAPI SysTrayProc HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam
 

Definition at line 29 of file systray.cpp.

References AboutProc(), CMyMenu::AddTitle(), ce, ConfigProc(), DebugStructProc(), CMyMenu::DrawItem(), ErrorMessage(), ControlEngine::hInst, ID_POPUP_ABOUT, ID_POPUP_CONFIG, ID_POPUP_DEBUGER, ID_POPUP_EXIT, ID_POPUP_HELP, IDC_MENU, IDD_ABOUT, IDD_CONFIG, IDD_DEBUG_STRUCT, IDI_ICON_SYSTRAY, CMyMenu::MeasureItem(), MyOpenBrowser(), TITLE_NAME, and URL_3D_CONTROLS.

Referenced by ControlEngine::Start().


Variable Documentation

ControlEngine ce
 

Definition at line 27 of file systray.cpp.


Generated on Fri Aug 20 19:20:39 2004 for 3d Controls by doxygen 1.3.6