Definition at line 15 of file session.
◆ session() [1/2]
tools::Windows::session::session |
( |
std::ostream & |
a_out | ) |
|
|
inline |
◆ ~session()
virtual tools::Windows::session::~session |
( |
| ) |
|
|
inlinevirtual |
◆ session() [2/2]
tools::Windows::session::session |
( |
const session & |
a_from | ) |
|
|
inlineprotected |
◆ is_valid()
bool tools::Windows::session::is_valid |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ out()
std::ostream& tools::Windows::session::out |
( |
| ) |
const |
|
inline |
◆ set_size()
void tools::Windows::session::set_size |
( |
HWND |
a_hwnd, |
|
|
unsigned int |
a_width, |
|
|
unsigned int |
a_height |
|
) |
| |
|
inline |
Definition at line 60 of file session.
61 ::MoveWindow(a_hwnd,0,0,a_width,a_height,TRUE);
◆ show_window()
void tools::Windows::session::show_window |
( |
HWND |
a_hwnd | ) |
|
|
inline |
Definition at line 53 of file session.
54 ::SetForegroundWindow(a_hwnd);
55 ::ShowWindow(a_hwnd,SW_SHOWDEFAULT);
56 ::UpdateWindow(a_hwnd);
57 ::DrawMenuBar(a_hwnd);
◆ steer()
bool tools::Windows::session::steer |
( |
| ) |
|
|
inline |
Definition at line 27 of file session.
30 BOOL status = ::GetMessage(&event,NULL,0,0);
33 }
else if(status == 0) {
36 ::TranslateMessage(&event);
37 ::DispatchMessage (&event);
◆ sync()
bool tools::Windows::session::sync |
( |
| ) |
|
|
inline |
Definition at line 43 of file session.
45 while(::PeekMessage(&event,NULL,0,0,PM_REMOVE)) {
46 if(event.message==WM_QUIT)
return false;
47 ::TranslateMessage(&event);
48 ::DispatchMessage(&event);
◆ m_out
std::ostream& tools::Windows::session::m_out |
|
protected |
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/Windows/session