summaryrefslogtreecommitdiff
path: root/src/GipfelWidget.H
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2005-04-13 19:58:31 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2005-04-13 19:58:31 +0000
commit5e7c5bafd0828f09ca66d5311636700b51cc77ea (patch)
treed41aff3d84938c44410be4ae212b133c0ae1f0ca /src/GipfelWidget.H
parenta25441aaab4c15bc5a0dba9dbd4d26cc36780163 (diff)
bla
bla
Diffstat (limited to 'src/GipfelWidget.H')
-rw-r--r--src/GipfelWidget.H13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/GipfelWidget.H b/src/GipfelWidget.H
index 1eeeb72..4d1f0fe 100644
--- a/src/GipfelWidget.H
+++ b/src/GipfelWidget.H
@@ -1,5 +1,5 @@
//
-// "$Id: GipfelWidget.H,v 1.3 2005/04/13 19:09:19 hofmann Exp $"
+// "$Id: GipfelWidget.H,v 1.4 2005/04/13 21:58:31 hofmann Exp $"
//
// X11 header file for the Fast Light Tool Kit (FLTK).
//
@@ -31,7 +31,14 @@ class GipfelWidget : public Fl_Widget {
private:
Fl_Image *img;
Panorama *pan;
+ Mountain *cur_mountain;
+ int handle(int event);
+
+ int set_cur_mountain(int m_x, int m_y);
+
+ int move_mountain(int m_x, int m_y);
+
public:
GipfelWidget(int X,int Y,int W, int H);
@@ -41,6 +48,10 @@ class GipfelWidget : public Fl_Widget {
int set_viewpoint(const char *pos);
+ void set_center_angle(double a);
+
+ void set_scale(double s);
+
void draw();
};
#endif