From 5631e4ac406ebfb165613311bac559dab481ec12 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 3 Oct 2011 11:27:19 +0200 Subject: Refactor --limit-width / --limit-height code --- src/index.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/index.h') diff --git a/src/index.h b/src/index.h index 288b0ee..08ab337 100644 --- a/src/index.h +++ b/src/index.h @@ -29,5 +29,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. char *create_index_string(feh_file *file); char *create_index_title_string(int num, int w, int h); void get_index_string_dim(feh_file *file, Imlib_Font fn, int *w, int *h); +void index_calculate_height(Imlib_Font fn, int w, int *h, int *tot_thumb_w); +void index_calculate_width(Imlib_Font fn, int *w, int h, int *tot_thumb_h); #endif -- cgit v1.2.3