(svn r9844) -Codechange: replace zoomlevel with an enum

-Codechange: use predefined enums for viewport zoomlevels
This commit is contained in:
truelight
2007-05-15 14:08:39 +00:00
parent 196ddae1db
commit d3f375231f
22 changed files with 108 additions and 59 deletions

View File

@@ -1055,7 +1055,7 @@ void ShowExtraViewPortWindow()
/* the main window with the main view */
v = FindWindowById(WC_MAIN_WINDOW, 0);
/* New viewport start ats (zero,zero) */
AssignWindowViewport(w, 3, 17, 294, 214, 0 , 0);
AssignWindowViewport(w, 3, 17, 294, 214, 0 , ZOOM_LVL_VIEWPORT);
/* center on same place as main window (zoom is maximum, no adjustment needed) */
x = WP(v, vp_d).scrollpos_x;