[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/test/keyboard keyboard.cpp,1.1.2.1,1.1.2.2
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/test/keyboard keyboard.cpp,1.1.2.1,1.1.2.2 |
Date: |
Mon, 15 Jul 2002 04:44:57 -0400 |
Update of /cvsroot/paragui/paragui/test/keyboard
In directory subversions:/tmp/cvs-serv6279
Modified Files:
Tag: devel-1-0
keyboard.cpp
Log Message:
keyboard now uses PG_ macros for exception handling.
Index: keyboard.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/test/keyboard/Attic/keyboard.cpp,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** keyboard.cpp 14 Jul 2002 14:27:15 -0000 1.1.2.1
--- keyboard.cpp 15 Jul 2002 08:44:54 -0000 1.1.2.2
***************
*** 97,102 ****
int nSizeY = nSizeX;
int nOffsetX = nSizeX/2;
! try
! {
pKeyboardSpace = new
PG_Label(NULL,PG_Rect(30,30,nSizeX*12,nSizeY*6),"");
/*
--- 97,102 ----
int nSizeY = nSizeX;
int nOffsetX = nSizeX/2;
!
! PG_TRY {
pKeyboardSpace = new
PG_Label(NULL,PG_Rect(30,30,nSizeX*12,nSizeY*6),"");
/*
***************
*** 166,172 ****
Buttons[42] = new
PG_Button(pKeyboardSpace,BTN_ID_ESCAPE,PG_Rect(nSizeX*9,nSizeY*5,nSizeX,nSizeY),"exit");
}
! catch(int)
! {
}
// registers callback
for (int i = 0; i <= 42; i++)
--- 166,173 ----
Buttons[42] = new
PG_Button(pKeyboardSpace,BTN_ID_ESCAPE,PG_Rect(nSizeX*9,nSizeY*5,nSizeX,nSizeY),"exit");
}
!
! PG_CATCH_ALL {
}
+
// registers callback
for (int i = 0; i <= 42; i++)
***************
*** 186,191 ****
int nSizeY = PG_Application::GetScreenHeight()/9;
int nSizeX = nSizeY;
! try
! {
pKeyboardSpace = new PG_Label(NULL,PG_Rect(30,30,nSizeX*5,nSizeY*5),"");
/*
--- 187,192 ----
int nSizeY = PG_Application::GetScreenHeight()/9;
int nSizeX = nSizeY;
!
! PG_TRY {
pKeyboardSpace = new PG_Label(NULL,PG_Rect(30,30,nSizeX*5,nSizeY*5),"");
/*
***************
*** 219,224 ****
Buttons[15] = new
PG_Button(pKeyboardSpace,BTN_ID_CONFIRM,PG_Rect(nSizeX*3,nSizeY*4,nSizeX,nSizeY),"ok");
}
! catch(int)
! {
}
// registers callback
--- 220,225 ----
Buttons[15] = new
PG_Button(pKeyboardSpace,BTN_ID_CONFIRM,PG_Rect(nSizeX*3,nSizeY*4,nSizeX,nSizeY),"ok");
}
!
! PG_CATCH_ALL {
}
// registers callback
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/test/keyboard keyboard.cpp,1.1.2.1,1.1.2.2,
Alexander Pipelka <address@hidden> <=
- Prev by Date:
[paragui-cvs] CVS: paragui/src/physfs/platform macclassic.c,1.1.2.3,1.1.2.4 win32.c,1.1.1.1.6.11,1.1.1.1.6.12
- Next by Date:
[paragui-cvs] CVS: paragui/src/draw gradient.cpp,1.3.6.2,1.3.6.3
- Previous by thread:
[paragui-cvs] CVS: paragui/src/physfs/platform macclassic.c,1.1.2.3,1.1.2.4 win32.c,1.1.1.1.6.11,1.1.1.1.6.12
- Next by thread:
[paragui-cvs] CVS: paragui/src/draw gradient.cpp,1.3.6.2,1.3.6.3
- Index(es):