Changeset 232 for trunk/src/helpers/animate.c
- Timestamp:
- Dec 5, 2002, 9:36:28 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/animate.c
r184 r232 58 58 #include "setup.h" // code generation and debugging options 59 59 60 // #include "helpers\animate.h" 61 62 // #include "helpers\winh.h" 63 // #include "helpers\gpih.h" 60 #include "helpers\winh.h" 64 61 65 62 /* … … 108 105 BITMAPINFOHEADER bih; 109 106 GpiQueryBitmapParameters(hbm, &bih); 110 /* ptl.y = WinQuerySysValue(HWND_DESKTOP, SV_CYSCREEN) 111 - BMPSPACING 112 - bih.cy; */ 113 ptl.x = (WinQuerySysValue(HWND_DESKTOP, SV_CXSCREEN) 114 - bih.cx) / 2; 115 ptl.y = (WinQuerySysValue(HWND_DESKTOP, SV_CYSCREEN) 116 - bih.cy) / 2; 107 ptl.x = (G_cxScreen - bih.cx) / 2; 108 ptl.y = (G_cyScreen - bih.cy) / 2; 117 109 118 110 // we now use ul for the current animation step,
Note:
See TracChangeset
for help on using the changeset viewer.