r885: Don't delete a borrowed frame.
[cinelerra_cv/ct.git] / cinelerra / labelnavigate.h
blobce14b17b2995b32bb892a9fe7bd37e8f9946171a
1 #ifndef LABELNAVIGATE_H
2 #define LABELNAVIGATE_H
4 class PrevLabel;
5 class NextLabel;
7 #include "guicast.h"
8 #include "mbuttons.inc"
9 #include "mwindow.inc"
11 class LabelNavigate
13 public:
14 LabelNavigate(MWindow *mwindow, MButtons *gui, int x, int y);
15 ~LabelNavigate();
17 void create_objects();
19 PrevLabel *prev_label;
20 NextLabel *next_label;
21 MWindow *mwindow;
22 MButtons *gui;
23 int x;
24 int y;
27 class PrevLabel : public BC_Button
29 public:
30 PrevLabel(MWindow *mwindow, LabelNavigate *navigate, int x, int y);
31 ~PrevLabel();
33 int handle_event();
35 MWindow *mwindow;
36 LabelNavigate *navigate;
39 class NextLabel : public BC_Button
41 public:
42 NextLabel(MWindow *mwindow, LabelNavigate *navigate, int x, int y);
43 ~NextLabel();
45 int handle_event();
47 MWindow *mwindow;
48 LabelNavigate *navigate;
51 #endif