summaryrefslogtreecommitdiff
path: root/fluid/function_panel.fl
AgeCommit message (Collapse)Author
2008-01-04STR #1776: FLUID now tries to find a previously declared callback to avoid ↵Matthias Melcher
declaring one as 'extern'. I also replaced many 'public' Light_Buttons with pulldown menus which offer either 'local'/'global', or 'private'/'public'/'protected', depending if the item is outside or inside a class. I took great care to make this change transparent to previous .fl files. Downward compatibility is only problematic if the new 'protected' keyword is used. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20Fix all compiler warnings from various build systems.Michael R Sweet
Fix vsnprintf() implementation to properly handle long and long long ints. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17Decluttered Fluid Widget Bin to look good w/Mike new GTK+ scheme. Thanks Mike!Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5440 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-18Declarations in Fluid can now explicitly be made non-static or non-extern. ↵Matthias Melcher
This allows the declaration of types like 'enum' git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28Fluid Code Viewer is now truly a viewer, not an editor. I would love to ↵Matthias Melcher
allow text editing in the Code Viewer and re-enter the code into the UI, but that is currently close to impossible to implement git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-04FLUID1: The comment entry in the Browser now reveals some more information ↵Matthias Melcher
by showing multiple lines up to 50 characters. Also, a change just to make sure our Code View won't harm. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-03Fix new GUI panels to conform to HIG.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4632 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-03Fluid Source Code preview panel with automatic refresh and selected object ↵Matthias Melcher
code highlighting. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-30Fluid: Added a pixmap for WidgetClass, added pixmap to the Widget Bin.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4383 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-30Made most Fluid properties dialogs duoble buffered, because they tend to ↵Matthias Melcher
flicker during resizing. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4381 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-30Two Fluid dialog boxes were 2 pixels to wide.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4380 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-29Fluid panel resize and alignment fixes (STR #891).Matthias Melcher
Everything should resize nicely now. All Widgets have been realigned. Hope you guys like it... . git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-29Fixed alignment win Widget bin. Still to do:Matthias Melcher
Change tab order to reflect pulldown menu order Add Widget Class Icon git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4377 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-28Fixed Function Panel in Fluid to obey HIGMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4376 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-28Made Comment Properties dialog obey HIG (I hope) and fixed resizing behavior ↵Matthias Melcher
(STR #891, partial) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4375 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-02STR #784: Fixed tooltip stating 'function' instead of 'comment'Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4233 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-23Fix syntax highlighting bug in the editor demo, and port changes to theMichael R Sweet
CodeEditor widget in FLUID. Use the CodeEditor widget for the other code windows. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20Add Fl_Spinner widget (another combo of existing widgets in a header file)Michael R Sweet
Set the window callback to do the same as the cancel button in the template panel. Clean up widget bin + tooltips (didn't have correct tooltips for new widgets) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4149 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20Use uppercase letters for shortcut labels (e.g. "Ctrl+N", notMichael R Sweet
"Ctrl+n") to be consistent with other toolkits. Remove debug printf from undo_checkpoint(). Change "Show Widget Panel" to "Show Properties" since it displays any Fl_Type dialog, not just the widget panel. Add "properties" to all of the type dialogs (UI consistency) Remove extra elipsis (...) from code items in the new menu. Revert Grid shortcut to Ctrl+G, since Alt+G is used to run a shell command again. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4146 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20Undo/redo support for FLUID.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-19More UI cleanup.Michael R Sweet
fluid/*.fl: - Go through all of the UIs and make sure they conform to the UI guidelines. fluid/fluid.cxx: - Change fl_ask() and fl_choice() to use the "Save"/"Don't Save" and similar button labels instead of "Yes" and "No", per UI guidelines. fluid/factory.cxx: fluid/Fl_Type.h: - Make sure that widget and type names are capitalized. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-19Many FLUID updates...Michael R Sweet
fluid/align_widget.cxx: - Add widget_size_cb() to set default size and size of labels and text for selected widgets. fluid/factory.cxx: - More normalization of menus - "..." when opening a window, Capitalized Words. - cb(): Assign default label/text size and resize to ideal size. - Make sure that all buttons, input, and valuator widgets have default label strings. - Fl_*_Button::ideal_size(): fix ideal width calcs to match widget. fluid/Fl_Menu_Type.cxx: - Fl_Menu_Item_Type::make(): set default label size. fluid/Fl_Type.h: - Add Fl_Widget_Type::default_size global. - Fl_Menu_Item_Type::type_name(): return "Menu_Item". - Fl_Submenu_Type::type_name(): return "Submenu". - Update ideal_size() methods to use a default height that is evenly divisible by 5. - Fl_Choice_Type::ideal_size() and Fl_Menubutton_Type::ideal_size(): fix ideal width calcs to match widget. - Fl_Menu_Bar::ideal_size(): add, returning the window width. fluid/fluid.cxx: - Add "Layout/Widget Size" submenu. - "File/Write code..." becomes "File/Write Code..." and "File/Write strings..." becomes "File/Write Strings..." fluid/fluid.plist: - Bump version number and copyright info. fluid/Fl_Widget_Type.cxx: - Fl_Widget_Type::ideal_size(): add box dw/dh and enforce a minimum size of 15x15. - labelsize_cb(): use Fl_Widget_Type::default_size instead of FL_NORMAL_SIZE. - textsize_cb(): use Fl_Widget_Type::default_size instead of FL_NORMAL_SIZE. fluid/Fl_Window_Type.cxx: - Fl_Window_Type::newdx(): require at least 2 pixels of movement. - Fl_Window_Type::draw_overlay(): adjust bounding box for outside labels above and below. - Fl_Window_Type::handle(): reset dx/dy on FL_PUSH. fluid/function_panel.cxx: fluid/function_panel.fl: fluid/function_panel.h: - Update some of the windows for the "small" size. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4129 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-09Added a new Type to fluid called 'Comment' to be used for standardized ↵Matthias Melcher
Copyright notices and other comments throughout the source code. - simply add the 'Comment' type from the 'New' menu or the Widget Bin - comments in the very first position will be added at the very beginning of the source file or header. Comments at the end are at the very end in source and headers as well. - if the users enters simple text, FLUID will add '// ' in front of every line. If a line already starts with '//' or a block starts with '/*', the text will be copied verbatim. - text can be loaded from files - text can be stored in a database and quickly retrieved later via a pulldown menu. The pulldown menu is customizable. Enjoy! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-03-11Fl_Value_Slider::draw_bg() didn't always apply the clippingMichael R Sweet
rectangle (STR #235) fl_filename_relative() returned the wrong string if the absolute pathname was equal to the current working directory (STR #224) Fl_Help_Dialog didn't correctly restore the scroll position when going forward/back in the link history if the file changed (STR #218) glutGetModifiers() did not mask off extra state bits, confusing some GLUT-based applications (STR #213) Fixed mouse capture problems on MacOS X (STR #209, STR #229) Fl_Sys_Menu_Bar is now built into the library for MacOS X (STR #229) Fl_Menu_ now provides item_pathname() methods to get the "pathname" of a menu item, e.g. "File/Quit" (STR #283) Fl_Text_Display now provides cursor_color() methods to get and set the cursor color (STR #271) Fl_Scroll didn't honor FL_NO_BOX (STR #305) FLUID declaration blocks didn't support public/private definitions (STR #301) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-04-03- sorted fluid menu barMatthias Melcher
- fixed some minor Valgrind memory checker complaints - added conditional compile flag for OS X w/ MetroWerks compiler git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2967 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-26Fl_Text_Display/Editor would not receive FL_FOCUS events on mouse clicksMatthias Melcher
which resulted in not showing the insertion cursor. Fluid would not register changes to Fl_Text_Editor widgets unless Enter was pressed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-05Added callbacks to Fl_Text_Editor.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-03Set Fl_Text_Editor fields to Courier font for easier programmingMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-03Replaced 'callback' and 'code' input in FLUID with Fl_Text_Editor.Matthias Melcher
Made widget pannel resize only text fields (which I see as the logical way to do it. Opinions welcome). Matthias git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-31Added WidgetBin/ToolBox to fluid. Made fluid remember windowMatthias Melcher
positions (only main and toolbox yet). Toolbox can be switched off. Position remeber function can be switched off. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-28Support "using" keyword.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2122 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-28Make code dialog wider.Michael R Sweet
Make menubar only 25 pixels high to match current defaults. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2121 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29Tooltips, and more tooltips.Michael R Sweet
Fl_Browser_, Fl_Choice, and Fl_Input_ did not do the tooltip stuff. Fix write_properties so it writes tooltips properly from FLUID. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-03-15Documentation updates for 1.0.8.Michael R Sweet
FLUID GUI tweeks (OK and Cancel use now consistent, spacing now consistent, Courier font for code, etc.) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-12-17Patch from Clemens Hintze to allow declaratons of "typedef" to work.Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@954 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-08-05Added Chrisophe Kalt's patch to add "extern "C"" to functionsBill Spitzak
if desired. Added Chrisophe Kalt's patch to let you create Fl_Pack. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26Lots of little GUI tweeks, capitalization changes, copyright update, etc.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@247 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-06Initial revisionMichael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@2 ea41ed52-d2ee-0310-a9c1-e6b18d33e121