summaryrefslogtreecommitdiff
path: root/fluid
AgeCommit message (Collapse)Author
2005-04-16Update "clean" targets to properly handle core files, remove backup files,Michael R Sweet
etc. Add "install" target to test directory which installs the example programs. Install the config.h file in the examples directory. Make sure the example programs compile outside the FLTK source dir. Add example programs to fltk.list.in. Fix missing redraw() in x_cb() in FLUID... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-15Fix subclass callback output code.Michael R Sweet
Make fltk-config script executable after rerunning configure script. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-15Don't make non-inline methods from FLUID inline (that is, remove theMichael R Sweet
"inline" from non-inline methods...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4285 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-14Fix compiler warnings.Michael R Sweet
Use fl_yes and fl_no for the Forms emulation, instead of the hardcoded strings. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-14Eliminate compiler warnings on Solaris...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-14Make comment strings const char *...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4281 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-13#include print_panel.cxx in fluid.cxx, so that we don't need to put it inMichael R Sweet
the makefile (which won't work for MingW). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-13Cast GetCurrentProcessId to int to avoid compiler warning.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4277 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-11Fix definition of auto_indent() method...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-10Add missing include for undo functions (STR #773)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-10Fix move within custom widget bug (STR #796)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-10Add GCC printf format attribute check to catch code formattingMichael R Sweet
errors... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4256 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-09FLUID widget class support fixes.Michael R Sweet
fluid/Fl_Window_Type.cxx: - Fl_Widget_Class::write_code1(): forgot name() in window class constructor. fluid/code.cxx: - write_code(): skip nodes as needed when writing code so we don't place method code in the constructor. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4252 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-29Finished changes needed to support full widget classes.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-28Made fluid compile under VicualC6 again. Unfortunatly , the wonderful ↵Matthias Melcher
'print' addition crashes in fl_color_win32.cxx, line 72. Fixed a silly 'I have a great idea - wait - what was it again'-bug that would use a static buffer twice - although without causing any bugs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-28Handle window class methods.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4199 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-28Fixed window class code generation.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-28Add support to FLUID for widget class creation without the intermediateMichael R Sweet
class stuff. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-28Preliminary support for widget classes (still need to do code writingMichael R Sweet
methods...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-26Save work on FLUID printing on Windows.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-26FLUID printing support for Windows (still working on someMichael R Sweet
issues with printing the simulated window borders, and the page range/selection/all stuff doesn't seem to work...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4194 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25Fixed VC++.NET project files (FLTK, FLTKDLL, FLUID).Michael R Sweet
Fixed Cygwin FLUID compile problem (STR #772) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4192 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25Updated Fl_File_Chooser to correctly deselect other items whenMichael R Sweet
the user picks a file or directory in multiple selection mode (only files or directories, not both at once...) Use the fl_file_chooser_ok_label() function in FLUID. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25Fl_File_Chooser no longer resets the type() when choosing aMichael R Sweet
single file, and it now works when selecting multiple directories (STR #747) Fl_File_Icon::load_system_icons() now only loads 16x16 and 32x32 icon images to improve startup performance. Fixed an error dialog message in FLUID. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25Change Fl_Spinner to use double values instead of ints.Michael R Sweet
Update FLUID dependencies. The # copies spinner was just a bit too small for 100 copies. Didn't set the menu divider if there were exactly 10 files in the history. Add documentation for Fl_Spinner. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4186 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-24Add option to control the number of file history that is shownMichael R Sweet
(default 5, range 1 to 10 files) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4185 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-24More HIG stuff - file menu now shows recent files in-line, above the "Quit"Michael R Sweet
item. Removed debug stuff from template panel. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4184 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-24Resizing or moving a window through the widget panel now resets theMichael R Sweet
window size_range() so that the window can still be resized through the window manager controls... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-24Add auto-indent to code editor.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-23Update tile image to 64x64 (STR #769)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4164 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-21Add "Use" button to printer properties (uses settings for that job only)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4162 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21Fix order of output mode buttons...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21If window has not been shown yet, set the image to the scheme_bg_ image soMichael R Sweet
that prints and template screenshots show the correct background. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4159 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21More printing tweaks (nicer looking simulated windows...)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4158 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21Image reading, template handling, and printing bug fixes.Michael R Sweet
CHANGES: - Add fl_read_image() note and move documentation STRs back to the top of the list... fluid/fluid.cxx: - Use printer choice data instead of the label text, since we have to escape / in printer names. - Change page number in header to n/N. fluid/print_panel.*: - Don't disable properties button, ever. - Quote / in printer names. - Put copy of real printer name in the user data. - Use user data instead of label text for printer name. fluid/template_panel.*: - Only free the files array if num_files > 0. src/fl_read_image.cxx: - Use fl_visual->visual->*_mask instead of fl_*mask and fl_*shift when the XGetImage() data does not have them set. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21Initial integration with editor-based CodeEditor class (only the widgetMichael R Sweet
callback editor right now) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21Fix minor printing glitch with simulated window borders.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4151 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21Printing support for FLUID...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4150 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-20Template panel for "new" and "save template" actions, complete withMichael R Sweet
preview images that are generated when you save the template. Use @INSTANCE@ anywhere you want to substitute an instance name. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4148 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20Preliminary template save support in FLUID, plus some bug fixes.Michael R Sweet
fluid/Fl_Type.h: - Added read_image() declaration to Fl_Window_Type class. fluid/Fl_Window_Type.cxx: - Added Overlay_Window::read_image() and Fl_Window_Type::read_image() functions. - Fl_Window_Type::fix_overlay(): update menu indices. - toggle_overlays(): update menu indices. fluid/fluid.cxx: - save_template_cb(): Added to save to ~/.fltk/fltk.org/fluid/templates, along with PNG screenshot of first window. - "Save To" instead of "Save to". - Use fl_alert() for errors, not fl_message(). - Add "File/Save Template..." and "File/Print..." (not yet implemented) menu items. - toggle_widgetbin_cb(): update menu indices. fluid/undo.cxx: - Update menu item indices. - Don't need extra slash in undo checkpoint filename. src/Fl_PNG_Image.cxx: - Fix typo in #endif comment. src/Fl_Window.cxx: - Fl_Window::draw(): save/restore flags() when changing label. - Fl_Window::iconlabel(): save/restore flags() when changing label. src/fl_rect.cxx: - fl_not_clipped(): don't use current window for gross clipping. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4147 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-20'Show/Hide Widget Bin menu item is 39, not 38Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4145 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20Do'h! Forgot to add these files...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4144 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-20Add "Edit/Delete".Michael R Sweet
Clean up menus. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20Add "scheme" chooser in GUI settings dialog.Michael R Sweet
Set window image to scheme_bg image when the window is shown. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4140 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20Hide/Show Widget Bin and Overlays, instead of checks.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121