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

Screen Class Reference

#include <screen.h>

List of all members.

Public Member Functions

 Screen ()
 ~Screen ()
BOOL Setup (WNDCLASS *wc, char *_className, char *_title)
BOOL Create (HINSTANCE hInstance)
 creation de la fenetre

void Destroy ()
void Show (BOOL enable)
void Update (BOOL applySize)
void SetSize (int dx, int dy, BOOL always)
void BindOpenGL (BOOL useAccumulation)
BOOL SwapBuffers ()
 buffer openGL swaping

void SetTopMost ()
void SetTitle (char *_title)
void SetFullScreen ()
void ApplyStyles ()
void ApplyStyle ()
void ApplyStyleEx ()
void ChangeStyle (int set, DWORD dwStyleChange)
void ChangeStyleEx (int set, DWORD dwStyleChange)
void SetStyle (DWORD _dwStyle)
void MsgInfoType ()
void ApplySize ()
 Applique la taille et place en haut a gauche.

void RegionReset ()
void RegionUse ()

Public Attributes

HDC hDC
 context graphic au sens Windows

HGLRC hGLRC
 context graphic au sens OpenGL

BOOL enableTitle
BOOL enableFullScreen
int dxNormal
int dyNormal
HWND hWnd
Region region
 system de regionage en mode "Cooperatif Windows"


Constructor & Destructor Documentation

Screen::Screen  ) 
 

Definition at line 117 of file screen.cpp.

References DEBUG_SCREEN, dxNormal, dyNormal, enableFullScreen, enableTitle, and hGLRC.

Screen::~Screen  ) 
 

Definition at line 136 of file screen.cpp.

References DEBUG_SCREEN, and Destroy().


Member Function Documentation

void Screen::ApplySize  ) 
 

Applique la taille et place en haut a gauche.

Definition at line 217 of file screen.cpp.

References DEBUG_SCREEN, and enableFullScreen.

Referenced by Create(), and Update().

void Screen::ApplyStyle  ) 
 

Definition at line 354 of file screen.cpp.

Referenced by ApplyStyles().

void Screen::ApplyStyleEx  ) 
 

Definition at line 359 of file screen.cpp.

Referenced by ApplyStyles().

void Screen::ApplyStyles  ) 
 

Definition at line 342 of file screen.cpp.

References ApplyStyle(), and ApplyStyleEx().

Referenced by Update().

void Screen::BindOpenGL BOOL  useAccumulation  ) 
 

Definition at line 267 of file screen.cpp.

References hGLRC, and OpenGL_InitMultisample().

Referenced by ControlEngine::Start().

void Screen::ChangeStyle int  set,
DWORD  dwStyleChange
 

Definition at line 330 of file screen.cpp.

void Screen::ChangeStyleEx int  set,
DWORD  dwStyleChange
 

Definition at line 336 of file screen.cpp.

BOOL Screen::Create HINSTANCE  hInstance  ) 
 

creation de la fenetre

Definition at line 165 of file screen.cpp.

References ApplySize(), BOOL(), DEBUG_SCREEN, enableFullScreen, SetFullScreen(), and SetTopMost().

Referenced by ControlEngine::Start().

void Screen::Destroy  ) 
 

Definition at line 184 of file screen.cpp.

References DEBUG_SCREEN, and hGLRC.

Referenced by ControlEngine::Stop(), and ~Screen().

void Screen::MsgInfoType  ) 
 

Definition at line 45 of file screen.cpp.

References BOOL(), MyString::Format(), level, TEST, TEST_EX, WS_EX_COMPOSITED, WS_EX_LAYERED, and WS_EX_NOACTIVATE.

void Screen::RegionReset  ) 
 

Definition at line 364 of file screen.cpp.

References region, and Region::Reset().

Referenced by ControlEngine::Proc().

void Screen::RegionUse  ) 
 

Definition at line 369 of file screen.cpp.

References region, and Region::Use().

Referenced by ControlEngine::Proc().

void Screen::SetFullScreen  ) 
 

Choisie le mode d'affichage Full , Normal

Si full ==> max en X et Y, topMost=TRUE Si Normal ==> taille normal, topMost=FALSE;

Definition at line 236 of file screen.cpp.

References BOOL(), DEBUG_SCREEN, dxNormal, dyNormal, enableFullScreen, enableTitle, GetWindowPos(), and SetStyle().

Referenced by Create(), and Update().

void Screen::SetSize int  dx,
int  dy,
BOOL  always
 

Definition at line 318 of file screen.cpp.

References DEBUG_SCREEN, dxNormal, dyNormal, and enableFullScreen.

Referenced by ControlEngine::Refresh(), and ControlEngine::Start().

void Screen::SetStyle DWORD  _dwStyle  ) 
 

Definition at line 349 of file screen.cpp.

Referenced by SetFullScreen(), and ControlEngine::Start().

void Screen::SetTitle char *  _title  ) 
 

Definition at line 307 of file screen.cpp.

void Screen::SetTopMost  ) 
 

Definition at line 312 of file screen.cpp.

References enableFullScreen.

Referenced by Create(), and Update().

BOOL Screen::Setup WNDCLASS *  wc,
char *  _className,
char *  _title
 

Definition at line 142 of file screen.cpp.

References BOOL(), and DEBUG_SCREEN.

Referenced by ControlEngine::Start().

void Screen::Show BOOL  enable  ) 
 

Definition at line 199 of file screen.cpp.

References DEBUG_SCREEN.

Referenced by ControlEngine::Refresh(), and ControlEngine::Start().

BOOL Screen::SwapBuffers  ) 
 

buffer openGL swaping

Definition at line 159 of file screen.cpp.

References BOOL().

Referenced by ControlEngine::Proc().

void Screen::Update BOOL  applySize  ) 
 

Definition at line 206 of file screen.cpp.

References ApplySize(), ApplyStyles(), DEBUG_SCREEN, enableTitle, SetFullScreen(), and SetTopMost().

Referenced by ConfigProc(), Univers::OnKeyDown(), and ControlEngine::Refresh().


Member Data Documentation

int Screen::dxNormal
 

Definition at line 61 of file screen.h.

Referenced by Screen(), SetFullScreen(), SetSize(), and ControlEngine::~ControlEngine().

int Screen::dyNormal
 

Definition at line 62 of file screen.h.

Referenced by Screen(), SetFullScreen(), SetSize(), and ControlEngine::~ControlEngine().

BOOL Screen::enableFullScreen
 

Definition at line 59 of file screen.h.

Referenced by ApplySize(), ConfigProc(), ControlEngine::ControlEngine(), Create(), ValueEditors::MakeRenderStruct(), Univers::OnKeyDown(), Screen(), SetFullScreen(), SetSize(), SetTopMost(), and ControlEngine::~ControlEngine().

BOOL Screen::enableTitle
 

Definition at line 58 of file screen.h.

Referenced by ConfigProc(), ControlEngine::ControlEngine(), ValueEditors::MakeRenderStruct(), Univers::OnKeyDown(), Screen(), SetFullScreen(), Update(), and ControlEngine::~ControlEngine().

HDC Screen::hDC
 

context graphic au sens Windows

Definition at line 55 of file screen.h.

Referenced by ControlEngine::Start().

HGLRC Screen::hGLRC
 

context graphic au sens OpenGL

Definition at line 56 of file screen.h.

Referenced by BindOpenGL(), Destroy(), and Screen().

HWND Screen::hWnd
 

Definition at line 64 of file screen.h.

Referenced by ConfigProc(), ControlEngine::OnRefresh(), ControlEngine::Start(), and Picking::Test().

Region Screen::region
 

system de regionage en mode "Cooperatif Windows"

Definition at line 65 of file screen.h.

Referenced by ConfigProc(), ControlEngine::ControlEngine(), Face::Draw(), ValueEditors::MakeRenderStruct(), Univers::OnKeyDown(), ControlEngine::Proc(), ControlEngine::RegionAdd(), ControlEngine::RegionGet(), RegionReset(), RegionUse(), and ControlEngine::~ControlEngine().


The documentation for this class was generated from the following files:
Generated on Fri Aug 20 19:21:42 2004 for 3d Controls by doxygen 1.3.6