26#include <glib/gi18n.h>
215 state->model_row_inserted = 0;
216 state->model_row_deleted = 0;
217 state->model_row_changed = 0;
218 state->model_rows_reordered = 0;
219 state->model_row_expanded = 0;
220 state->model_row_collapsed = 0;
235 state->buffer_changed = 0;
270 const gint min_size =
MAX(1,
state->min_size);
299 content =
MAX(1, rows) * increment;
318 if(increment > 0 &&
height < content)
325 if(used > 0)
height = used;
352 const gint
new_height =
height + padding.top + padding.bottom + border.top + border.bottom
391 return state->last_height;
492 if(buffer ==
state->buffer)
return;
497 state->buffer = buffer;
typedef void((*dt_cache_allocate_t)(void *userdata, dt_cache_entry_t *entry))
struct _GtkWidget GtkWidget
GtkWidget, opaque, spelled exactly as GTK spells it.
GtkWidget * dt_gui_container_first_child(GtkContainer *container)
#define IS_NULL_PTR(p)
C is way too permissive with !=, == and if(var) checks, which can mean too many things depending on w...
#define dt_free(ptr)
g_free() ptr and set it to NULL, skipping both if it is already NULL.
GtkWidget * dtgtk_resize_handle_new(GtkOrientation orientation, gboolean invert, const char *tooltip, dtgtk_resize_handle_get_size_f get_size, dtgtk_resize_handle_resize_f resize, gpointer user_data)
Create a themed handle widget driving one-dimensional resize gestures.
static const dt_aligned_pixel_simd_t value
const float uint32_t state[4]