7 #ifndef HAS_LIVES_WIDGET_HELPER_H 8 #define HAS_LIVES_WIDGET_HELPER_H 11 #define WIDGET_HELPER_GLOBAL_INLINE inline 12 #define WIDGET_HELPER_LOCAL_INLINE static inline 14 #define WIDGET_HELPER_GLOBAL_INLINE 15 #define WIDGET_HELPER_LOCAL_INLINE 19 #define M_PI 3.1415926536 22 #define LIVES_HAS_GRID_WIDGET 0 23 #define LIVES_HAS_IMAGE_MENU_ITEM 0 24 #define LIVES_HAS_DEVICE_MANAGER 0 33 #define W_PACKING_WIDTH 10 // packing width for widgets with labels 34 #define W_PACKING_HEIGHT 10 // packing height for widgets 35 #define W_BORDER_WIDTH 10 // default border width 37 #define ulong_random() lives_random() 39 #if defined (GUI_GTK) || defined (PAINTER_CAIRO) 53 int width,
int height,
int stride);
55 int width,
int height);
77 boolean lives_painter_arc(lives_painter_t *,
double xc,
double yc,
double radius,
double angle1,
double angle2);
115 #if GTK_CHECK_VERSION(3, 0, 0) 135 int rowstride, LiVESPixbufDestroyNotify lives_free_buffer_fn,
136 livespointer destroy_fn_data);
144 LiVESInterpType interp_type);
152 #define lives_signal_connect(instance, detailed_signal, c_handler, data) g_signal_connect(instance, detailed_signal, c_handler, data) 153 #define lives_signal_connect_after(instance, detailed_signal, c_handler, data) g_signal_connect_after(instance, detailed_signal, c_handler, data) 154 #define lives_signal_handlers_disconnect_by_func(instance, func, data) g_signal_handlers_disconnect_by_func(instance, func, data) 155 #define lives_signal_handlers_block_by_func(instance, func, data) g_signal_handlers_block_by_func(instance, func, data) 156 #define lives_signal_handlers_unblock_by_func(instance, func, data) g_signal_handlers_unblock_by_func(instance, func, data) 299 double step_increment,
double page_increment,
double page_size);
305 boolean lives_box_pack_start(LiVESBox *, LiVESWidget *child,
boolean expand,
boolean fill, uint32_t padding);
306 boolean lives_box_pack_end(LiVESBox *, LiVESWidget *child,
boolean expand,
boolean fill, uint32_t padding);
335 boolean lives_alignment_set(LiVESWidget *,
float xalign,
float yalign,
float xscale,
float yscale);
387 const LiVESTextIter *where,
boolean left_gravity);
511 LiVESWidget *
lives_message_dialog_new(LiVESWindow *parent, LiVESDialogFlags flags, LiVESMessageType type, LiVESButtonsType buttons,
512 const char *msg_fmt, ...);
517 void lives_ruler_set_range(LiVESRuler *,
double lower,
double upper,
double position,
double max_size);
580 LiVESWidget *
lives_table_new(uint32_t rows, uint32_t cols,
boolean homogeneous);
584 boolean lives_table_attach(LiVESTable *, LiVESWidget *child, uint32_t left, uint32_t right,
585 uint32_t top, uint32_t bottom, LiVESAttachOptions xoptions, LiVESAttachOptions yoptions,
586 uint32_t xpad, uint32_t ypad);
591 #if LIVES_TABLE_IS_GRID 596 LiVESPositionType side,
int width,
int height);
645 #if !GTK_CHECK_VERSION(3, 10, 0) 675 LiVESWidgetClosure *closure);
680 uint32_t accel_key, LiVESXModifierType accel_mods, LiVESAccelFlags accel_flags);
685 boolean lives_display_get_pointer(LiVESXDevice *, LiVESXDisplay *, LiVESXScreen **,
int *x,
int *y, LiVESXModifierType *mask);
703 uint32_t
lives_timer_add(uint32_t interval, LiVESWidgetSourceFunc
function, livespointer data);
734 #define BUTTON_DIM_VAL 24000 763 LiVESBox *,
const char *tooltip);
765 double max,
double step,
double page,
int dp, LiVESBox *,
766 const char *tooltip);
768 const char *tooltip);
770 LiVESWidget *
lives_standard_entry_new(
const char *labeltext,
boolean use_mnemonic,
const char *txt,
int dispwidth,
int maxchars, LiVESBox *,
771 const char *tooltip);
786 LiVESWidget **sb_red, LiVESWidget **sb_green, LiVESWidget **sb_blue, LiVESWidget **sb_alpha);
825 double step_increment,
double page_increment);
833 boolean label_act_toggle(LiVESWidget *, LiVESXEventButton *, LiVESToggleButton *);
864 #define LIVES_JUSTIFY_DEFAULT (widget_opts.default_justify) 866 #define W_MAX_FILLER_LEN 65535 918 #ifdef NEED_DEF_WIDGET_OPTS
void resize(double scale)
Definition: main.c:7540
#define ulong
Definition: main.h:156
#define WARN_UNUSED
Definition: main.h:305
#define FALSE
Definition: videoplugin.h:56