rework image viewer
[claws.git] / src / gtk / gtkutils.h
index b290bb62167a6a2171ab234fea87dd32fc651fe8..a8dafcba472150e93eb34dfe7c05e122b628f6df 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2017 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2020 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 
 #include "gtkcmctree.h"
 
-#ifndef GDK_KEY_Escape
-#include "gdkkeysyms-new.h"
-#endif
-
 #define GTK_EVENTS_FLUSH() \
 { \
        while (gtk_events_pending()) \
@@ -185,8 +181,15 @@ gboolean gtkut_list_view_select_row(GtkWidget *list, gint row);
 GtkUIManager *gtkut_create_ui_manager(void);
 GtkUIManager *gtkut_ui_manager(void);
 
-GdkPixbuf *claws_load_pixbuf_fitting(GdkPixbuf *pixbuf, int box_width,
-                                    int box_height);
+GdkPixbuf *claws_load_pixbuf_fitting(GdkPixbuf *pixbuf, gboolean inline_img,
+                                    gboolean fit_img_height,
+                                    int box_width, int box_height);
+
+GtkWidget *gtkut_time_select_combo_new();
+void gtkut_time_select_select_by_time(GtkComboBox *combo, int hour, int minute);
+gboolean gtkut_time_select_get_time(GtkComboBox *combo, int *hour, int *minute);
+
+void gtk_calendar_select_today(GtkCalendar *calendar);
 
 typedef void (*ClawsIOFunc)(gpointer data, gint source, GIOCondition condition);
 gint