1 | /********************************************************************** <BR>
|
---|
2 | This file is part of Crack dot Com's free source code release of
|
---|
3 | Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
|
---|
4 | information about compiling & licensing issues visit this URL</a>
|
---|
5 | <PRE> If that doesn't help, contact Jonathan Clark at
|
---|
6 | golgotha_source@usa.net (Subject should have "GOLG" in it)
|
---|
7 | ***********************************************************************/
|
---|
8 |
|
---|
9 | #ifndef G1_TILE_PICKER_HH
|
---|
10 | #define G1_TILE_PICKER_HH
|
---|
11 |
|
---|
12 |
|
---|
13 | #include "window/window.hh"
|
---|
14 | #include "window/colorwin.hh"
|
---|
15 | #include "memory/array.hh"
|
---|
16 | #include "editor/dialogs/scroll_picker.hh"
|
---|
17 | #include "editor/dialogs/pick_win.hh"
|
---|
18 |
|
---|
19 |
|
---|
20 | class g1_tile_picker_class : public g1_scroll_picker_class
|
---|
21 | {
|
---|
22 | i4_image_class *active_back;
|
---|
23 | i4_image_class *passive_back;
|
---|
24 |
|
---|
25 |
|
---|
26 | // this should return 0 if scroll_object_num is too big
|
---|
27 | virtual i4_window_class *create_window(w16 w, w16 h, int scroll_object_num);
|
---|
28 | virtual void change_window_object_num(i4_window_class *win, int new_scroll_object_num);
|
---|
29 | virtual void rotate();
|
---|
30 | virtual void mirror();
|
---|
31 | virtual int total_objects();
|
---|
32 | public:
|
---|
33 |
|
---|
34 | g1_tile_picker_class(i4_graphical_style_class *style,
|
---|
35 | g1_scroll_picker_info *info,
|
---|
36 | i4_image_class *active_back,
|
---|
37 | i4_image_class *passive_back);
|
---|
38 |
|
---|
39 |
|
---|
40 |
|
---|
41 | };
|
---|
42 |
|
---|
43 |
|
---|
44 | #endif
|
---|
45 |
|
---|