git.ucc.asn.au
/
tpg
/
acess2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Usermode/axwin4 - Continuing
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin4_src
/
Server
/
CWindow.cpp
1
/*
2
* Acess2 GUI v4
3
* - By John Hodge (thePowersGang)
4
*
5
* CWindow.cpp
6
* - Window
7
*/
8
#include <CWindow.hpp>
9
10
namespace AxWin {
11
12
CWindow::CWindow(CClient& client, const ::std::string& name):
13
m_client(client),
14
m_name(name),
15
m_surface(0,0,0,0)
16
{
17
18
}
19
20
CWindow::~CWindow()
21
{
22
}
23
24
void CWindow::Repaint(const CRect& rect)
25
{
26
#if 0
27
for( auto rgn : m_regions )
28
{
29
if( rect.Contains(rgn->m_rect) )
30
{
31
CRect rel_rect(rect, rgn->m_rect);
32
rgn->Repaint();
33
}
34
}
35
#endif
36
}
37
38
};
39
UCC
git Repository :: git.ucc.asn.au