2019-12-18 11:01:40 -08:00
|
|
|
#include "e.h"
|
|
|
|
#include <time.h>
|
|
|
|
#include <sys/mman.h>
|
|
|
|
|
|
|
|
#if defined(__FreeBSD__) || defined(__DragonFly__)
|
|
|
|
# include <sys/types.h>
|
|
|
|
# include <sys/sysctl.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern E_Module *shot_module;
|
|
|
|
|
|
|
|
#define MAXZONES 64
|
|
|
|
|
2020-09-05 07:51:47 -07:00
|
|
|
void share_save (const char *cmd, const char *file, Eina_Bool copy);
|
2019-12-18 11:01:40 -08:00
|
|
|
void share_write_end_watch (void *data);
|
|
|
|
void share_write_status_watch(void *data);
|
|
|
|
void share_dialog_show (void);
|
|
|
|
void share_confirm (void);
|
|
|
|
Eina_Bool share_have (void);
|
|
|
|
void share_abort (void);
|
shot tmp.
shot - add shot editor with arbitrary cropping and drawing tools
We don't need padded vs other shot of window now as u can remove the
padding with a single click in the editor now, so remove that (comment
it out).
The editor allows you to click on each screen, on a window (and click
again on a window to remove the padding area for the crop so its
snugly around the window).
You can zoom in and out and scroll around.
You can add lines with an arrow, double-arrowed lines, plain lines
with no arrows, some clipart (e-logo, mallocs, pointing finger... just
having some fun) and some fun "text boxes" like though bubbles,
speecvh bubbles, just plain text with a darking outline, a plain
entry-styled text box and you can select the colors for the text and
background area as well.
It's inksape-like in that the items you draw are objects that can then
be modified or deleted. modifying them raises them and places some
controls on/over/around the object.
And you can still save and share the results.
Fun times!
@feat
2019-12-28 14:02:39 -08:00
|
|
|
void preview_dialog_show (E_Zone *zone, E_Client *ec, const char *params, void *dst, int sx, int sy, int sw, int sh);
|
2019-12-18 11:01:40 -08:00
|
|
|
Eina_Bool preview_have (void);
|
|
|
|
void preview_abort (void);
|
|
|
|
Evas_Object *preview_image_get (void);
|
2020-09-05 07:51:47 -07:00
|
|
|
void save_to (const char *file, Eina_Bool copy);
|
|
|
|
void save_show (Eina_Bool save);
|
shot tmp.
shot - add shot editor with arbitrary cropping and drawing tools
We don't need padded vs other shot of window now as u can remove the
padding with a single click in the editor now, so remove that (comment
it out).
The editor allows you to click on each screen, on a window (and click
again on a window to remove the padding area for the crop so its
snugly around the window).
You can zoom in and out and scroll around.
You can add lines with an arrow, double-arrowed lines, plain lines
with no arrows, some clipart (e-logo, mallocs, pointing finger... just
having some fun) and some fun "text boxes" like though bubbles,
speecvh bubbles, just plain text with a darking outline, a plain
entry-styled text box and you can select the colors for the text and
background area as well.
It's inksape-like in that the items you draw are objects that can then
be modified or deleted. modifying them raises them and places some
controls on/over/around the object.
And you can still save and share the results.
Fun times!
@feat
2019-12-28 14:02:39 -08:00
|
|
|
|
|
|
|
Evas_Object *ui_edit(Evas_Object *window, Evas_Object *o_bg, E_Zone *zone,
|
|
|
|
E_Client *ec, void *dst, int sx, int sy, int sw, int sh,
|
|
|
|
Evas_Object **o_img_ret);
|
|
|
|
void ui_edit_prepare(void);
|
|
|
|
void ui_edit_crop_screen_set(int x, int y, int w, int h);
|
|
|
|
|
2020-01-03 14:03:57 -08:00
|
|
|
void win_delay(void);
|
|
|
|
void delay_abort(void);
|
|
|
|
|
|
|
|
|
|
|
|
extern Evas_Object *win;
|
shot tmp.
shot - add shot editor with arbitrary cropping and drawing tools
We don't need padded vs other shot of window now as u can remove the
padding with a single click in the editor now, so remove that (comment
it out).
The editor allows you to click on each screen, on a window (and click
again on a window to remove the padding area for the crop so its
snugly around the window).
You can zoom in and out and scroll around.
You can add lines with an arrow, double-arrowed lines, plain lines
with no arrows, some clipart (e-logo, mallocs, pointing finger... just
having some fun) and some fun "text boxes" like though bubbles,
speecvh bubbles, just plain text with a darking outline, a plain
entry-styled text box and you can select the colors for the text and
background area as well.
It's inksape-like in that the items you draw are objects that can then
be modified or deleted. modifying them raises them and places some
controls on/over/around the object.
And you can still save and share the results.
Fun times!
@feat
2019-12-28 14:02:39 -08:00
|
|
|
extern int quality;
|
|
|
|
extern Eina_Rectangle crop;
|