projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move grab dragbox to guicast, add tile_mixers region to session/layout, change menu...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
assetpopup.h
diff --git
a/cinelerra-5.1/cinelerra/assetpopup.h
b/cinelerra-5.1/cinelerra/assetpopup.h
index c948e0e135c81a1627cad4575dac7147bd4bfc03..176174f8a1b216555c830a08b9527de2735a2ba0 100644
(file)
--- a/
cinelerra-5.1/cinelerra/assetpopup.h
+++ b/
cinelerra-5.1/cinelerra/assetpopup.h
@@
-430,40
+430,20
@@
public:
int handle_event();
GrabshotSubMenu *submenu;
int handle_event();
GrabshotSubMenu *submenu;
- int mode;
GrabshotThread *grab_thread;
GrabshotThread *grab_thread;
+ int mode;
};
};
-class GrabshotThread : public
Thread
+class GrabshotThread : public
BC_DragBox
{
public:
GrabshotThread(MWindow* mwindow);
~GrabshotThread();
{
public:
GrabshotThread(MWindow* mwindow);
~GrabshotThread();
-
- MWindow *mwindow;
- GrabshotPopup *popup;
- BC_Popup *edge[4];
- int done;
-
void start(GrabshotMenuItem *menu_item);
void start(GrabshotMenuItem *menu_item);
- void run();
-};
+ int handle_done_event(int x0, int y0, int x1, int y1);
-class GrabshotPopup : public BC_Popup
-{
-public:
- GrabshotPopup(GrabshotThread *grab_thread, int mode);
- ~GrabshotPopup();
- int grab_event(XEvent *event);
- void draw_selection(int invert);
- void update();
-
- GrabshotThread *grab_thread;
+ MWindow *mwindow;
int mode;
int mode;
- int dragging;
- int grab_color;
- int x0, y0, x1, y1;
- int lx0, ly0, lx1, ly1;
};
#endif
};
#endif