OpenGL
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@61 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
40aabee23a
commit
ed7dc61897
9 changed files with 199 additions and 12 deletions
|
|
@ -14,12 +14,13 @@ void handler(MwWidget handle, void* user_data, void* call_data){
|
|||
|
||||
void resize(MwWidget handle, void* user_data, void* call_data){
|
||||
unsigned int w, h;
|
||||
w = MwGetInteger(handle, MwNwidth);
|
||||
h = MwGetInteger(handle, MwNheight);
|
||||
|
||||
(void)user_data;
|
||||
(void)call_data;
|
||||
|
||||
w = MwGetInteger(handle, MwNwidth);
|
||||
h = MwGetInteger(handle, MwNheight);
|
||||
|
||||
MwVaApply(button,
|
||||
MwNwidth, w - 50 * 2,
|
||||
MwNheight, h - 125 - 50 * 3,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue