2 * $Logfile: /Freespace2/code/MenuUI/OptionsMenu.h $
7 * Header file for code that controls the Options menu
10 * Revision 1.1 2002/05/03 03:28:12 root
14 * 3 6/25/99 11:59a Dave
15 * Multi options screen.
17 * 2 10/07/98 10:53a Dave
20 * 1 10/07/98 10:49a Dave
22 * 10 1/28/98 6:21p Dave
23 * Made the standalone use ~8 megs less memory. Fixed multiplayer submenu
26 * 9 12/27/97 8:07p Lawrance
29 * 8 8/31/97 6:38p Lawrance
30 * pass in frametime to do_frame loop
32 * 7 1/09/97 12:57p Lawrance
33 * supporting a new state where the player picks to either save or restore
35 * 6 11/21/96 7:14p Lawrance
36 * converted menu code to use a file (menu.tbl) to get the data for the
39 * 5 11/13/96 4:02p Lawrance
40 * complete over-haul of the menu system and the states associated with
43 * 4 11/13/96 8:32a Lawrance
44 * streamlined menu code
46 * 3 11/06/96 8:54a Lawrance
47 * added revision templates, made more efficient
53 #ifndef _OPTIONSMENU_H
54 #define _OPTIONSMENU_H
66 // left and right buttons
68 int left_mask, left_x, left_y;
70 int right_mask, right_x, right_y;
73 UI_DOT_SLIDER_NEW slider; // because we have a class inside this struct, we need the constructor below..
75 op_sliders(char *name, int x1, int y1, int xt1, int yt1, int h, int _dot_w, int _dots, char *_left_filename, int _left_mask, int _left_x, int _left_y, char *_right_filename, int _right_mask, int _right_x, int _right_y) :
76 filename(name), x(x1), y(y1), xt(xt1), yt(yt1), hotspot(h), dot_w(_dot_w), dots(_dots), left_filename(_left_filename), left_mask(_left_mask), left_x(_left_x), left_y(_left_y), right_filename(_right_filename), right_mask(_right_mask), right_x(_right_x), right_y(_right_y) {}
79 void options_menu_init();
80 void options_menu_close();
81 void options_menu_do_frame(float frametime);
83 // kill the options menu
84 void options_cancel_exit();