Changeset 1310 for libcaca/trunk/cxx/cxxtest.cpp
- Timestamp:
- Nov 9, 2006, 10:27:35 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/cxx/cxxtest.cpp
r1282 r1310 84 84 while(!kk->getEvent(ev.CACA_EVENT_KEY_PRESS, &ev, 0)) { 85 85 86 87 /* In case of resize ...*/ 88 if((x + pig->getWidth())-1 >= qq->getWidth() || x < 0 ) 89 x = 0; 90 if((y + pig->getHeight())-1 >= qq->getHeight() || y < 0 ) 91 y = 0; 92 93 94 95 86 96 qq->Clear(); 87 97 … … 104 114 if(y + pig->getHeight() >= qq->getHeight() || y < 0 ) 105 115 iy = -iy; 116 106 117 } 107 118
Note: See TracChangeset
for help on using the changeset viewer.