Displaying 2 results from an estimated 2 matches for "erasemod".
Did you mean:
erasemode
2006 Nov 12
1
[PATCH] Annotate shapes, text and dbus support
...OPTION_TOOL 8
+#define ANNO_DISPLAY_OPTION_NUM 9
typedef struct _AnnoDisplay {
int screenPrivateIndex;
@@ -68,6 +92,12 @@
cairo_surface_t *surface;
cairo_t *cairo;
Bool content;
+
+ double startX;
+ double startY;
+
+ Bool eraseMode;
+
} AnnoScreen;
#define GET_ANNO_DISPLAY(d) \
@@ -85,6 +115,8 @@
#define NUM_OPTIONS(s) (sizeof ((s)->opt) / sizeof (CompOption))
+#define NUM_TOOLS (sizeof (tools) / sizeof (tools[0]))
+
static void
annoCairoClear (CompScreen *s,
cairo_t *cr)
@@ -143,6 +175,335 @@...
2007 Jan 02
2
Return value from an action function
I had always assumed that an action option
should return true if it handles the action,
but it seems like most button bindings actually
return false which causes a few problems.
1. The clicks pass through to windows which
is not good for rotate, screenshot or annotate.
2. I am trying to add a generic action notification
which plugins can wrap to see when other actions
are initiated and