2005-03-18 09:29:11 +03:00
|
|
|
//
|
|
|
|
// Widget panel for the Fast Light Tool Kit (FLTK).
|
|
|
|
//
|
2021-08-30 23:00:59 +03:00
|
|
|
// Copyright 1998-2021 by Bill Spitzak and others.
|
2005-03-18 09:29:11 +03:00
|
|
|
//
|
2011-07-19 08:49:30 +04:00
|
|
|
// This library is free software. Distribution and use rights are outlined in
|
|
|
|
// the file "COPYING" which should have been included with this file. If this
|
|
|
|
// file is missing or damaged, see the license at:
|
|
|
|
//
|
2020-04-06 21:04:16 +03:00
|
|
|
// https://www.fltk.org/COPYING.php
|
2005-03-18 09:29:11 +03:00
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// Please see the following page on how to report bugs and issues:
|
2005-03-18 09:29:11 +03:00
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// https://www.fltk.org/bugs.php
|
2005-03-18 09:29:11 +03:00
|
|
|
//
|
|
|
|
|
2016-01-30 03:56:42 +03:00
|
|
|
// generated by Fast Light User Interface Designer (fluid) version 1.0400
|
1998-10-06 22:21:25 +04:00
|
|
|
|
1999-01-27 00:59:41 +03:00
|
|
|
#ifndef widget_panel_h
|
|
|
|
#define widget_panel_h
|
1998-10-06 22:21:25 +04:00
|
|
|
#include <FL/Fl.H>
|
2023-02-15 17:24:25 +03:00
|
|
|
#include "custom_widgets.h"
|
2002-11-03 03:01:21 +03:00
|
|
|
#include <FL/Fl_Double_Window.H>
|
2023-12-15 01:37:05 +03:00
|
|
|
extern Fl_Double_Window *image_panel_window;
|
2023-10-26 01:38:58 +03:00
|
|
|
#include <FL/Fl_Group.H>
|
2001-09-29 07:36:27 +04:00
|
|
|
extern void propagate_load(Fl_Group*, void*);
|
2023-12-15 01:37:05 +03:00
|
|
|
extern Fl_Group *image_panel_imagegroup;
|
|
|
|
#include <FL/Fl_Box.H>
|
|
|
|
#include <FL/Fl_Shared_Image.H>
|
|
|
|
extern Fl_Box *image_panel_data;
|
|
|
|
extern Fluid_Coord_Input *image_panel_imagew;
|
|
|
|
extern Fluid_Coord_Input *image_panel_imageh;
|
|
|
|
#include <FL/Fl_Button.H>
|
|
|
|
#include <FL/Fl_Check_Button.H>
|
|
|
|
extern void compress_image_cb(Fl_Check_Button*, void*);
|
|
|
|
extern void bind_image_cb(Fl_Check_Button*, void*);
|
|
|
|
extern Fl_Group *image_panel_deimagegroup;
|
|
|
|
extern Fl_Box *image_panel_dedata;
|
|
|
|
extern Fluid_Coord_Input *image_panel_deimagew;
|
|
|
|
extern Fluid_Coord_Input *image_panel_deimageh;
|
|
|
|
extern void compress_deimage_cb(Fl_Check_Button*, void*);
|
|
|
|
extern void bind_deimage_cb(Fl_Check_Button*, void*);
|
|
|
|
extern Fl_Button *image_panel_close;
|
|
|
|
Fl_Double_Window* make_image_panel();
|
|
|
|
void run_image_panel();
|
|
|
|
#include <FL/Fl_Tabs.H>
|
|
|
|
extern Fl_Tabs *widget_tabs;
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_gui_tab;
|
1998-10-06 22:21:25 +04:00
|
|
|
#include <FL/Fl_Input.H>
|
1999-08-05 12:01:40 +04:00
|
|
|
extern void label_cb(Fl_Input*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Input *wp_gui_label;
|
2001-09-29 07:36:27 +04:00
|
|
|
#include <FL/Fl_Choice.H>
|
1998-10-06 22:21:25 +04:00
|
|
|
extern Fl_Menu_Item labeltypemenu[];
|
1999-08-05 12:01:40 +04:00
|
|
|
extern void labeltype_cb(Fl_Choice*, void*);
|
2001-09-29 07:36:27 +04:00
|
|
|
extern void image_cb(Fl_Input*, void*);
|
2023-12-15 01:37:05 +03:00
|
|
|
extern Fl_Input *widget_image_input;
|
2001-09-29 07:36:27 +04:00
|
|
|
extern void image_browse_cb(Fl_Button*, void*);
|
|
|
|
extern void inactive_cb(Fl_Input*, void*);
|
2023-12-15 01:37:05 +03:00
|
|
|
extern Fl_Input *widget_deimage_input;
|
2001-09-29 07:36:27 +04:00
|
|
|
extern void inactive_browse_cb(Fl_Button*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_gui_alignment;
|
2003-01-04 03:24:19 +03:00
|
|
|
extern void align_cb(Fl_Button*, void*);
|
2010-04-11 02:16:55 +04:00
|
|
|
extern void align_text_image_cb(Fl_Choice*, void*);
|
|
|
|
extern void align_position_cb(Fl_Choice*, void*);
|
2022-11-01 15:30:05 +03:00
|
|
|
extern void position_group_cb(Fl_Group*, void*);
|
2022-02-14 00:01:16 +03:00
|
|
|
extern void x_cb(Fluid_Coord_Input*, void*);
|
|
|
|
extern Fluid_Coord_Input *widget_x_input;
|
|
|
|
extern void y_cb(Fluid_Coord_Input*, void*);
|
|
|
|
extern Fluid_Coord_Input *widget_y_input;
|
|
|
|
extern void w_cb(Fluid_Coord_Input*, void*);
|
|
|
|
extern Fluid_Coord_Input *widget_w_input;
|
|
|
|
extern void h_cb(Fluid_Coord_Input*, void*);
|
|
|
|
extern Fluid_Coord_Input *widget_h_input;
|
2022-11-06 16:40:18 +03:00
|
|
|
extern void wc_relative_cb(Fl_Choice*, void*);
|
2022-11-01 15:30:05 +03:00
|
|
|
extern void flex_size_group_cb(Fl_Group*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_gui_flexp;
|
2022-02-14 00:01:16 +03:00
|
|
|
#include <FL/Fl_Value_Input.H>
|
2022-11-01 15:30:05 +03:00
|
|
|
extern void flex_size_cb(Fl_Value_Input*, void*);
|
|
|
|
extern Fl_Value_Input *widget_flex_size;
|
|
|
|
extern void flex_fixed_cb(Fl_Check_Button*, void*);
|
|
|
|
extern Fl_Check_Button *widget_flex_fixed;
|
|
|
|
extern void values_group_cb(Fl_Group*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_gui_values;
|
2001-09-29 07:36:27 +04:00
|
|
|
extern void slider_size_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void min_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void max_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void step_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void value_cb(Fl_Value_Input*, void*);
|
2022-11-01 15:30:05 +03:00
|
|
|
extern void flex_margin_group_cb(Fl_Group*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_gui_margins;
|
2022-11-01 15:30:05 +03:00
|
|
|
extern void flex_margin_left_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void flex_margin_top_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void flex_margin_right_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void flex_margin_bottom_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void flex_margin_gap_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void size_range_group_cb(Fl_Group*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_gui_sizerange;
|
2005-08-16 03:07:20 +04:00
|
|
|
extern void min_w_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void min_h_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void set_min_size_cb(Fl_Button*, void*);
|
|
|
|
extern void max_w_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void max_h_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void set_max_size_cb(Fl_Button*, void*);
|
2023-02-15 17:24:25 +03:00
|
|
|
#include <FL/Fl_Shortcut_Button.H>
|
|
|
|
extern void shortcut_in_cb(Fl_Shortcut_Button*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Shortcut_Button *wp_gui_shortcut;
|
|
|
|
extern Fl_Group *wp_gui_xclass;
|
2003-01-04 03:24:19 +03:00
|
|
|
extern void xclass_cb(Fl_Input*, void*);
|
2022-11-06 16:40:18 +03:00
|
|
|
#include <FL/Fl_Light_Button.H>
|
2001-09-29 07:36:27 +04:00
|
|
|
extern void border_cb(Fl_Light_Button*, void*);
|
|
|
|
extern void modal_cb(Fl_Light_Button*, void*);
|
|
|
|
extern void non_modal_cb(Fl_Light_Button*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_gui_attributes;
|
2001-09-29 07:36:27 +04:00
|
|
|
extern void visible_cb(Fl_Light_Button*, void*);
|
|
|
|
extern void active_cb(Fl_Light_Button*, void*);
|
|
|
|
extern void resizable_cb(Fl_Light_Button*, void*);
|
|
|
|
extern void hotspot_cb(Fl_Light_Button*, void*);
|
2001-09-29 10:20:15 +04:00
|
|
|
extern void tooltip_cb(Fl_Input*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Input *wp_gui_tooltip;
|
|
|
|
extern Fl_Group *wp_style_tab;
|
|
|
|
extern Fl_Group *wp_style_label;
|
1999-08-05 12:01:40 +04:00
|
|
|
extern Fl_Menu_Item fontmenu[];
|
|
|
|
extern void labelfont_cb(Fl_Choice*, void*);
|
|
|
|
extern void labelsize_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void labelcolor_cb(Fl_Button*, void*);
|
2022-12-10 15:11:49 +03:00
|
|
|
extern Fl_Button *w_labelcolor;
|
|
|
|
#include <FL/Fl_Menu_Button.H>
|
|
|
|
extern Fl_Menu_Item colormenu[];
|
|
|
|
extern void labelcolor_menu_cb(Fl_Menu_Button*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_style_box;
|
1999-08-05 12:01:40 +04:00
|
|
|
extern Fl_Menu_Item boxmenu[];
|
1998-10-06 22:21:25 +04:00
|
|
|
extern void box_cb(Fl_Choice*, void*);
|
|
|
|
extern void color_cb(Fl_Button*, void*);
|
2022-12-10 15:11:49 +03:00
|
|
|
extern Fl_Button *w_color;
|
|
|
|
extern void color_menu_cb(Fl_Menu_Button*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_style_downbox;
|
1998-10-06 22:21:25 +04:00
|
|
|
extern void down_box_cb(Fl_Choice*, void*);
|
1999-08-05 12:01:40 +04:00
|
|
|
extern void color2_cb(Fl_Button*, void*);
|
2022-12-10 15:11:49 +03:00
|
|
|
extern Fl_Button *w_selectcolor;
|
|
|
|
extern void color2_menu_cb(Fl_Menu_Button*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_style_text;
|
1999-08-05 12:01:40 +04:00
|
|
|
extern void textfont_cb(Fl_Choice*, void*);
|
|
|
|
extern void textsize_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void textcolor_cb(Fl_Button*, void*);
|
2022-12-10 15:11:49 +03:00
|
|
|
extern Fl_Button *w_textcolor;
|
|
|
|
extern void textcolor_menu_cb(Fl_Menu_Button*, void*);
|
2024-08-27 16:13:32 +03:00
|
|
|
extern void h_label_margin_cb(Fl_Value_Input*, void*);
|
|
|
|
extern void v_label_margin_cb(Fl_Value_Input*, void*);
|
2024-08-14 02:46:38 +03:00
|
|
|
extern void image_spacing_cb(Fl_Value_Input*, void*);
|
2023-09-03 01:09:32 +03:00
|
|
|
extern void compact_cb(Fl_Light_Button*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_cpp_tab;
|
|
|
|
extern Fl_Group *wp_cpp_class;
|
2001-09-29 07:36:27 +04:00
|
|
|
extern void subclass_cb(Fl_Input*, void*);
|
|
|
|
extern void subtype_cb(Fl_Choice*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_cpp_name;
|
2002-11-03 03:01:21 +03:00
|
|
|
extern void name_cb(Fl_Input*, void*);
|
2008-01-05 00:45:49 +03:00
|
|
|
extern void name_public_member_cb(Fl_Choice*, void*);
|
|
|
|
extern void name_public_cb(Fl_Choice*, void*);
|
1999-08-05 12:01:40 +04:00
|
|
|
extern void v_input_cb(Fl_Input*, void*);
|
1998-10-06 22:21:25 +04:00
|
|
|
extern Fl_Input *v_input[4];
|
2015-04-02 20:19:33 +03:00
|
|
|
#include <FL/Fl_Tile.H>
|
|
|
|
#include <FL/Fl_Text_Editor.H>
|
|
|
|
extern Fl_Text_Editor *wComment;
|
2005-03-21 09:28:30 +03:00
|
|
|
#include "CodeEditor.h"
|
|
|
|
extern void callback_cb(CodeEditor*, void*);
|
2015-04-02 20:19:33 +03:00
|
|
|
extern CodeEditor *wCallback;
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_cpp_callback;
|
1999-08-05 12:01:40 +04:00
|
|
|
extern void user_data_cb(Fl_Input*, void*);
|
|
|
|
extern Fl_Menu_Item whenmenu[];
|
2022-12-10 15:11:49 +03:00
|
|
|
extern void when_cb(Fl_Menu_Button*, void*);
|
|
|
|
#include <FL/Fl_Input_Choice.H>
|
|
|
|
extern void user_data_type_cb(Fl_Input_Choice*, void*);
|
|
|
|
extern Fl_Box *w_when_box;
|
2023-10-22 13:33:38 +03:00
|
|
|
extern Fl_Group *widget_tab_grid_child;
|
2023-10-21 14:18:50 +03:00
|
|
|
extern void grid_set_row_cb(Fluid_Coord_Input*, void*);
|
2023-10-22 02:50:06 +03:00
|
|
|
extern Fluid_Coord_Input *widget_grid_row_input;
|
2023-10-23 01:44:26 +03:00
|
|
|
extern void grid_dec_row_cb(Fl_Button*, void*);
|
|
|
|
extern void grid_inc_row_cb(Fl_Button*, void*);
|
2023-10-21 14:18:50 +03:00
|
|
|
extern void grid_set_col_cb(Fluid_Coord_Input*, void*);
|
2023-10-22 02:50:06 +03:00
|
|
|
extern Fluid_Coord_Input *widget_grid_col_input;
|
2023-10-23 01:44:26 +03:00
|
|
|
extern void grid_dec_col_cb(Fl_Button*, void*);
|
|
|
|
extern void grid_inc_col_cb(Fl_Button*, void*);
|
2023-11-06 00:18:56 +03:00
|
|
|
extern Fl_Box *widget_grid_transient;
|
|
|
|
extern Fl_Box *widget_grid_unlinked;
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_gridc_align;
|
2023-11-02 17:18:03 +03:00
|
|
|
extern void grid_align_horizontal_cb(Fl_Choice*, void*);
|
|
|
|
extern void grid_align_vertical_cb(Fl_Choice*, void*);
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_gridc_size;
|
2023-10-22 02:50:06 +03:00
|
|
|
extern void grid_set_min_wdt_cb(Fluid_Coord_Input*, void*);
|
|
|
|
extern void grid_set_min_hgt_cb(Fluid_Coord_Input*, void*);
|
2023-10-22 21:25:41 +03:00
|
|
|
extern void grid_set_rowspan_cb(Fluid_Coord_Input*, void*);
|
2023-10-23 01:44:26 +03:00
|
|
|
extern Fluid_Coord_Input *widget_grid_rowspan_input;
|
|
|
|
extern void grid_dec_rowspan_cb(Fl_Button*, void*);
|
|
|
|
extern void grid_inc_rowspan_cb(Fl_Button*, void*);
|
2023-10-22 21:25:41 +03:00
|
|
|
extern void grid_set_colspan_cb(Fluid_Coord_Input*, void*);
|
2023-10-23 01:44:26 +03:00
|
|
|
extern Fluid_Coord_Input *widget_grid_colspan_input;
|
|
|
|
extern void grid_dec_colspan_cb(Fl_Button*, void*);
|
|
|
|
extern void grid_inc_colspan_cb(Fl_Button*, void*);
|
2023-10-22 13:33:38 +03:00
|
|
|
extern Fl_Group *widget_tab_grid;
|
2023-10-22 21:25:41 +03:00
|
|
|
extern Fluid_Coord_Input *widget_grid_rows;
|
|
|
|
extern Fluid_Coord_Input *widget_grid_cols;
|
2024-04-17 18:51:32 +03:00
|
|
|
extern Fl_Group *wp_grid_margin;
|
|
|
|
extern Fl_Group *wp_grid_gaps;
|
2023-10-22 21:25:41 +03:00
|
|
|
extern Fluid_Coord_Input *widget_grid_curr_row;
|
|
|
|
extern Fl_Group *widget_grid_curr_row_attributes;
|
|
|
|
extern Fluid_Coord_Input *widget_grid_curr_col;
|
|
|
|
extern Fl_Group *widget_grid_curr_col_attributes;
|
|
|
|
extern Fl_Tabs *widget_tabs_repo;
|
2017-06-27 16:01:12 +03:00
|
|
|
extern void live_mode_cb(Fl_Button*, void*);
|
|
|
|
extern Fl_Button *wLiveMode;
|
|
|
|
extern void overlay_cb(Fl_Button*, void*);
|
2023-03-18 19:33:27 +03:00
|
|
|
extern Fl_Button *overlay_button;
|
1999-08-05 12:01:40 +04:00
|
|
|
#include <FL/Fl_Return_Button.H>
|
|
|
|
extern void ok_cb(Fl_Return_Button*, void*);
|
2002-11-03 03:01:21 +03:00
|
|
|
Fl_Double_Window* make_widget_panel();
|
2008-01-05 00:45:49 +03:00
|
|
|
extern Fl_Menu_Item menu_[];
|
|
|
|
extern Fl_Menu_Item menu_1[];
|
2022-11-06 16:40:18 +03:00
|
|
|
extern Fl_Menu_Item menu_Children[];
|
2010-04-11 02:16:55 +04:00
|
|
|
extern Fl_Menu_Item menu_2[];
|
|
|
|
extern Fl_Menu_Item menu_3[];
|
2022-12-10 15:11:49 +03:00
|
|
|
extern Fl_Menu_Item menu_4[];
|
2023-11-02 17:18:03 +03:00
|
|
|
extern Fl_Menu_Item menu_Horizontal[];
|
2024-04-17 21:40:10 +03:00
|
|
|
#define GRID_LEFT (menu_Horizontal+0)
|
2023-11-02 17:18:03 +03:00
|
|
|
extern Fl_Menu_Item menu_Vertical[];
|
1999-01-27 00:59:41 +03:00
|
|
|
#endif
|