[goffice] Add some more auto fields to GOStyle.
- From: Jean BrÃfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Add some more auto fields to GOStyle.
- Date: Wed, 10 Oct 2012 18:05:14 +0000 (UTC)
commit dbb0da803d36d36f185ee7e58b7b58a9afdf7231
Author: Jean Brefort <jean brefort normalesup org>
Date: Wed Oct 10 20:05:51 2012 +0200
Add some more auto fields to GOStyle.
ChangeLog | 4 ++++
configure.in | 3 ---
goffice/utils/go-style.h | 6 ++++++
3 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d66167e..6fcab15 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-10-10 Jean Brefort <jean brefort normalesup org>
+
+ * goffice/utils/go-style.h: add some more auto fields.
+
2012-10-05 Jean Brefort <jean brefort normalesup org>
* goffice/graph/gog-legend.c (cb_render_elements): don't draw a marker
diff --git a/configure.in b/configure.in
index 6b77a54..ca697d9 100644
--- a/configure.in
+++ b/configure.in
@@ -129,9 +129,6 @@ AC_ARG_WITH(lasem,
AS_HELP_STRING([--with-lasem[=@<:@no/auto/yes@:>@]],
[Build with lasem use (default=auto)]),
,[with_lasem=auto])
-echo -n "\nlasem test result is: "
-echo "$with_lasem"
-echo ""
AS_CASE([$with_lasem],
[no],[found_lasem="disabled by request"],
diff --git a/goffice/utils/go-style.h b/goffice/utils/go-style.h
index e81190d..9cdb43c 100644
--- a/goffice/utils/go-style.h
+++ b/goffice/utils/go-style.h
@@ -70,6 +70,7 @@ typedef struct {
GOColor fore;
gboolean auto_color;
gboolean auto_fore;
+ gboolean auto_width;
GOPatternType pattern;
cairo_line_cap_t cap;
cairo_line_join_t join;
@@ -94,6 +95,7 @@ struct _GOStyle {
GOStyleFill type;
gboolean auto_type;
gboolean auto_fore, auto_back; /* share between pattern and gradient */
+ gboolean auto_pattern;
gboolean invert_if_negative; /* placeholder for XL */
/* This could all be a union but why bother ? */
@@ -101,6 +103,8 @@ struct _GOStyle {
struct _GOStyleGradient {
GOGradientDirection dir;
double brightness; /* < 0 => 2 color */
+ gboolean auto_dir;
+ gboolean auto_brightness;
} gradient;
struct _GOStyleImage {
GOImageType type;
@@ -112,6 +116,8 @@ struct _GOStyle {
GOColor color;
GOFont const *font;
gboolean auto_scale;
+ gboolean auto_color;
+ gboolean auto_font;
} font;
struct {
double angle;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]