- Timestamp:
- 05/15/08 02:12:40 (6 months ago)
- Files:
-
- 1 modified
-
lang/d/koke/trunk/clickable.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/d/koke/trunk/clickable.d
r11612 r11613 235 235 236 236 bool onMouse(){ 237 if(position.x <= Hell_getMouseX() && position.x + size.x >= Hell_getMouseX() 238 && position.y <= Hell_getMouseY() && position.y + size.y >= Hell_getMouseY()) 237 int x = cast(int)position.x; 238 int y = cast(int)position.y; 239 if( x < 0 ) x += hell2.getScreenWidth(); 240 if( y < 0 ) y += hell2.getScreenHeight(); 241 242 if(x <= Hell_getMouseX() && x + size.x >= Hell_getMouseX() 243 && y <= Hell_getMouseY() && y + size.y >= Hell_getMouseY()) 239 244 { 240 245 return true;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)