Changeset 512 for abuse/trunk/src/help.cpp
- Timestamp:
- Apr 20, 2011, 12:39:27 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/help.cpp
r494 r512 10 10 11 11 #include "config.h" 12 13 #include "common.h" 12 14 13 15 #include "help.h" … … 25 27 { 26 28 image *im=cache.img(help_screens[help_page]); 27 int x1=xres/2-im-> width()/2,y1=yres/2-im->height()/2;28 int x2=x1+im-> width(),y2=y1+im->height();29 int x1=xres/2-im->Size().x/2,y1=yres/2-im->Size().y/2; 30 int x2=x1+im->Size().x,y2=y1+im->Size().y; 29 31 im->put_image(screen,x1,y1); 30 32 screen->bar(0,0,x1-1,yres,0);
Note: See TracChangeset
for help on using the changeset viewer.