summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-02-06 21:17:56 +0100
committerDave Davenport <qball@gmpclient.org>2017-02-06 21:17:56 +0100
commitdb92ff1f41bceb3e72f64df8507630661b2b2588 (patch)
treee0fe888bebb76e71ff8d6a926384fa0a3372c955 /include
parentc5506e4cdd3eca179852f59cf6cbe3312a44e8c6 (diff)
Add border radius to border around widget.
Diffstat (limited to 'include')
-rw-r--r--include/widgets/textbox.h20
-rw-r--r--include/widgets/widget-internal.h2
2 files changed, 12 insertions, 10 deletions
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h
index 20ed7e0a..b7a70d16 100644
--- a/include/widgets/textbox.h
+++ b/include/widgets/textbox.h
@@ -46,16 +46,16 @@ typedef struct
*/
typedef enum
{
- TB_AUTOHEIGHT = 1 << 0,
- TB_AUTOWIDTH = 1 << 1,
- TB_LEFT = 1 << 16,
- TB_RIGHT = 1 << 17,
- TB_CENTER = 1 << 18,
- TB_EDITABLE = 1 << 19,
- TB_MARKUP = 1 << 20,
- TB_WRAP = 1 << 21,
- TB_PASSWORD = 1 << 22,
- TB_INDICATOR = 1 << 23,
+ TB_AUTOHEIGHT = 1 << 0,
+ TB_AUTOWIDTH = 1 << 1,
+ TB_LEFT = 1 << 16,
+ TB_RIGHT = 1 << 17,
+ TB_CENTER = 1 << 18,
+ TB_EDITABLE = 1 << 19,
+ TB_MARKUP = 1 << 20,
+ TB_WRAP = 1 << 21,
+ TB_PASSWORD = 1 << 22,
+ TB_INDICATOR = 1 << 23,
} TextboxFlags;
/**
* Flags indicating current state of the textbox.
diff --git a/include/widgets/widget-internal.h b/include/widgets/widget-internal.h
index d1aeae1c..4e9826ed 100644
--- a/include/widgets/widget-internal.h
+++ b/include/widgets/widget-internal.h
@@ -19,9 +19,11 @@ struct _widget
Padding def_margin;
Padding def_padding;
Padding def_border;
+ Padding def_border_radius;
Padding margin;
Padding padding;
Padding border;
+ Padding border_radius;
/** enabled or not */
gboolean enabled;