00001 #ifndef LABELNAVIGATE_H 00002 #define LABELNAVIGATE_H 00003 00004 class PrevLabel; 00005 class NextLabel; 00006 00007 #include "guicast.h" 00008 #include "mbuttons.inc" 00009 #include "mwindow.inc" 00010 00011 class LabelNavigate 00012 { 00013 public: 00014 LabelNavigate(MWindow *mwindow, MButtons *gui, int x, int y); 00015 ~LabelNavigate(); 00016 00017 void create_objects(); 00018 00019 PrevLabel *prev_label; 00020 NextLabel *next_label; 00021 MWindow *mwindow; 00022 MButtons *gui; 00023 int x; 00024 int y; 00025 }; 00026 00027 class PrevLabel : public BC_Button 00028 { 00029 public: 00030 PrevLabel(MWindow *mwindow, LabelNavigate *navigate, int x, int y); 00031 ~PrevLabel(); 00032 00033 int handle_event(); 00034 00035 MWindow *mwindow; 00036 LabelNavigate *navigate; 00037 }; 00038 00039 class NextLabel : public BC_Button 00040 { 00041 public: 00042 NextLabel(MWindow *mwindow, LabelNavigate *navigate, int x, int y); 00043 ~NextLabel(); 00044 00045 int handle_event(); 00046 00047 MWindow *mwindow; 00048 LabelNavigate *navigate; 00049 }; 00050 00051 #endif
1.4.4