diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-12-28 00:37:32 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-12-28 00:37:32 +0100 |
commit | dfc8a3112637d9e9deddc38321c4523c34b5bc0e (patch) | |
tree | cc7c3ac420e172b5620e8b5299185a578d89061c /include | |
parent | 1c611b0eecff798c576771a72c58504579e581c8 (diff) |
Redo some of the redrawing methods, better padding support
Diffstat (limited to 'include')
-rw-r--r-- | include/widgets/box.h | 6 | ||||
-rw-r--r-- | include/widgets/textbox.h | 5 |
2 files changed, 1 insertions, 10 deletions
diff --git a/include/widgets/box.h b/include/widgets/box.h index 4aa71212..b0688c83 100644 --- a/include/widgets/box.h +++ b/include/widgets/box.h @@ -34,14 +34,10 @@ typedef enum /** * @param name The name of the widget. * @param type The packing direction of the newly created box. - * @param x The x position of the box relative to its parent. - * @param y The y position of the box relative to its parent. - * @param w The width of the box. - * @param h The height of the box. * * @returns a newly created box, free with #widget_free */ -box * box_create ( const char *name, boxType type, short x, short y, short w, short h ); +box * box_create ( const char *name, boxType type ); /** * @param box Handle to the box widget. diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h index d86dde0a..ae31f6e7 100644 --- a/include/widgets/textbox.h +++ b/include/widgets/textbox.h @@ -87,10 +87,6 @@ typedef enum /** * @param flags #TextboxFlags indicating the type of textbox. - * @param x horizontal positon of textbox - * @param y vertical position of textbox - * @param w width of textbox - * @param h height of textbox * @param tbft #TextBoxFontType current state of textbox. * @param text intial text to display. * @@ -100,7 +96,6 @@ typedef enum * @returns a new #textbox */ textbox* textbox_create ( const char *name, TextboxFlags flags, - short x, short y, short w, short h, TextBoxFontType tbft, const char *text ); /** |