7 // class for something like a dialog box that can hold the focus.
8 // there is a stack of them. everyone in the stack is drawn,
9 // and the topmost one receives HandleKey events.
13 virtual ~FocusHolder() { }
15 virtual void Draw() = 0;
16 virtual void RunInput() = 0;
20 class FocusStack
: public BList
23 FocusHolder
*ItemAt(int index
) { return (FocusHolder
*)BList::ItemAt(index
); }
29 void run_and_draw_objects(void);
30 Object
*create_object(int x
, int y
, int type
);
35 bool options_init(int param
);
36 void options_tick(void);
37 void options_close(void);