Padding to textbox. remove config.line_padding

This commit is contained in:
Dave Davenport
2016-12-28 13:46:53 +01:00
parent 5dfddf8840
commit d63b9cb15e
3 changed files with 20 additions and 13 deletions

View File

@@ -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
*