diff options
Diffstat (limited to 'include/widgets/textbox.h')
-rw-r--r-- | include/widgets/textbox.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h index ae31f6e7..b445f28c 100644 --- a/include/widgets/textbox.h +++ b/include/widgets/textbox.h @@ -218,11 +218,12 @@ void textbox_delete ( textbox *tb, int pos, int dlen ); */ void textbox_moveresize ( textbox *tb, int x, int y, int w, int h ); /** + * @param tb Handle to the textbox * Get the (estimated) with of a character, can be used to calculate window width. * * @returns the estimated width of a character. */ -int textbox_get_estimated_char_height ( void ); +int textbox_get_estimated_char_height ( const textbox *tb, int eh ); /** * @param p The new default PangoContext * |