// // Widget panel for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2021 by Bill Spitzak and others. // // 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: // // https://www.fltk.org/COPYING.php // // Please see the following page on how to report bugs and issues: // // https://www.fltk.org/bugs.php // // generated by Fast Light User Interface Designer (fluid) version 1.0400 #ifndef widget_panel_h #define widget_panel_h #include #include "custom_widgets.h" #include extern Fl_Double_Window *image_panel_window; #include extern void propagate_load(Fl_Group*, void*); extern Fl_Group *image_panel_imagegroup; #include #include extern Fl_Box *image_panel_data; extern Fluid_Coord_Input *image_panel_imagew; extern Fluid_Coord_Input *image_panel_imageh; #include #include 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 extern Fl_Tabs *widget_tabs; extern Fl_Group *wp_gui_tab; #include extern void label_cb(Fl_Input*, void*); extern Fl_Input *wp_gui_label; #include extern Fl_Menu_Item labeltypemenu[]; extern void labeltype_cb(Fl_Choice*, void*); extern void image_cb(Fl_Input*, void*); extern Fl_Input *widget_image_input; extern void image_browse_cb(Fl_Button*, void*); extern void inactive_cb(Fl_Input*, void*); extern Fl_Input *widget_deimage_input; extern void inactive_browse_cb(Fl_Button*, void*); extern Fl_Group *wp_gui_alignment; extern void align_cb(Fl_Button*, void*); extern void align_text_image_cb(Fl_Choice*, void*); extern void align_position_cb(Fl_Choice*, void*); extern void position_group_cb(Fl_Group*, void*); 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; extern void wc_relative_cb(Fl_Choice*, void*); extern void flex_size_group_cb(Fl_Group*, void*); extern Fl_Group *wp_gui_flexp; #include 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*); extern Fl_Group *wp_gui_values; 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*); extern void flex_margin_group_cb(Fl_Group*, void*); extern Fl_Group *wp_gui_margins; 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*); extern Fl_Group *wp_gui_sizerange; 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*); #include extern void shortcut_in_cb(Fl_Shortcut_Button*, void*); extern Fl_Shortcut_Button *wp_gui_shortcut; extern Fl_Group *wp_gui_xclass; extern void xclass_cb(Fl_Input*, void*); #include 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*); extern Fl_Group *wp_gui_attributes; 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*); extern void tooltip_cb(Fl_Input*, void*); extern Fl_Input *wp_gui_tooltip; extern Fl_Group *wp_style_tab; extern Fl_Group *wp_style_label; 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*); extern Fl_Button *w_labelcolor; #include extern Fl_Menu_Item colormenu[]; extern void labelcolor_menu_cb(Fl_Menu_Button*, void*); extern Fl_Group *wp_style_box; extern Fl_Menu_Item boxmenu[]; extern void box_cb(Fl_Choice*, void*); extern void color_cb(Fl_Button*, void*); extern Fl_Button *w_color; extern void color_menu_cb(Fl_Menu_Button*, void*); extern Fl_Group *wp_style_downbox; extern void down_box_cb(Fl_Choice*, void*); extern void color2_cb(Fl_Button*, void*); extern Fl_Button *w_selectcolor; extern void color2_menu_cb(Fl_Menu_Button*, void*); extern Fl_Group *wp_style_text; extern void textfont_cb(Fl_Choice*, void*); extern void textsize_cb(Fl_Value_Input*, void*); extern void textcolor_cb(Fl_Button*, void*); extern Fl_Button *w_textcolor; extern void textcolor_menu_cb(Fl_Menu_Button*, void*); extern void h_label_margin_cb(Fl_Value_Input*, void*); extern void v_label_margin_cb(Fl_Value_Input*, void*); extern void image_spacing_cb(Fl_Value_Input*, void*); extern void compact_cb(Fl_Light_Button*, void*); extern Fl_Group *wp_cpp_tab; extern Fl_Group *wp_cpp_class; extern void subclass_cb(Fl_Input*, void*); extern void subtype_cb(Fl_Choice*, void*); extern Fl_Group *wp_cpp_name; extern void name_cb(Fl_Input*, void*); extern void name_public_member_cb(Fl_Choice*, void*); extern void name_public_cb(Fl_Choice*, void*); extern void v_input_cb(Fl_Input*, void*); extern Fl_Input *v_input[4]; #include #include extern Fl_Text_Editor *wComment; #include "CodeEditor.h" extern void callback_cb(CodeEditor*, void*); extern CodeEditor *wCallback; extern Fl_Group *wp_cpp_callback; extern void user_data_cb(Fl_Input*, void*); extern Fl_Menu_Item whenmenu[]; extern void when_cb(Fl_Menu_Button*, void*); #include extern void user_data_type_cb(Fl_Input_Choice*, void*); extern Fl_Box *w_when_box; extern Fl_Group *widget_tab_grid_child; extern void grid_set_row_cb(Fluid_Coord_Input*, void*); extern Fluid_Coord_Input *widget_grid_row_input; extern void grid_dec_row_cb(Fl_Button*, void*); extern void grid_inc_row_cb(Fl_Button*, void*); extern void grid_set_col_cb(Fluid_Coord_Input*, void*); extern Fluid_Coord_Input *widget_grid_col_input; extern void grid_dec_col_cb(Fl_Button*, void*); extern void grid_inc_col_cb(Fl_Button*, void*); extern Fl_Box *widget_grid_transient; extern Fl_Box *widget_grid_unlinked; extern Fl_Group *wp_gridc_align; extern void grid_align_horizontal_cb(Fl_Choice*, void*); extern void grid_align_vertical_cb(Fl_Choice*, void*); extern Fl_Group *wp_gridc_size; extern void grid_set_min_wdt_cb(Fluid_Coord_Input*, void*); extern void grid_set_min_hgt_cb(Fluid_Coord_Input*, void*); extern void grid_set_rowspan_cb(Fluid_Coord_Input*, void*); 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*); extern void grid_set_colspan_cb(Fluid_Coord_Input*, void*); 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*); extern Fl_Group *widget_tab_grid; extern Fluid_Coord_Input *widget_grid_rows; extern Fluid_Coord_Input *widget_grid_cols; extern Fl_Group *wp_grid_margin; extern Fl_Group *wp_grid_gaps; 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; extern void live_mode_cb(Fl_Button*, void*); extern Fl_Button *wLiveMode; extern void overlay_cb(Fl_Button*, void*); extern Fl_Button *overlay_button; #include extern void ok_cb(Fl_Return_Button*, void*); Fl_Double_Window* make_widget_panel(); extern Fl_Menu_Item menu_[]; extern Fl_Menu_Item menu_1[]; extern Fl_Menu_Item menu_Children[]; extern Fl_Menu_Item menu_2[]; extern Fl_Menu_Item menu_3[]; extern Fl_Menu_Item menu_4[]; extern Fl_Menu_Item menu_Horizontal[]; #define GRID_LEFT (menu_Horizontal+0) extern Fl_Menu_Item menu_Vertical[]; #endif