Ignore:
Timestamp:
Dec 5, 2002, 9:36:28 PM (23 years ago)
Author:
umoeller
Message:

New toolbar control.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/animate.c

    r184 r232  
    5858#include "setup.h"                      // code generation and debugging options
    5959
    60 // #include "helpers\animate.h"
    61 
    62 // #include "helpers\winh.h"
    63 // #include "helpers\gpih.h"
     60#include "helpers\winh.h"
    6461
    6562/*
     
    108105        BITMAPINFOHEADER bih;
    109106        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;
    117109
    118110        // we now use ul for the current animation step,
Note: See TracChangeset for help on using the changeset viewer.