of Fl_Menu_Bar and allows restricted access to the Apple typical top
menu bar.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2503 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
The OpenGL demos were showing a significant delay in handling UI events.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
different WIN32 message for threading under Windows.
(didn't include the cleanup or release changes)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2336 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Add new fl_register_images() function to register the extra file formats
with Fl_Shared_Image.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Revert focus check in fl_fix_focus().
Don't click the click count in Fl_Browser_::select().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Pixmap Draw fix: pixmap would always draw from 0, 0
gl_font implemented
FL_FOCUS fix: would not send FL_FOCUS when window activated
window classes fixed: modal() and non_modal() should work much better
glut fix: uninitialised 'display' callback made glpuzzle crash
Please send bug reports
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Document this in the migration appendix, and add a section on keyboard
focus.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2316 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Add range checking to BMP loader, and fix colormap + 4-bit BMP file
loading.
Copy 2.0 window position fix for XFree86 4.x and others.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2315 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Change "text" and "selecion" methods to return char *, not const char *,
since they return a changeable copy of the text.
Add range checking to style lookup in Fl_Text_Display.
Add syntax hilighting to editor example.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fl_Menu_::remove() added 1 to the size() value, but it didn't need to.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Mirror some of those changes into OS/2 config header, too.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2248 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Make style data const in Fl_Text_Display.
Use INT input only when step() is an integral value.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2246 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Add Fl_Shared_Image.html to the list of HTML files to install.
Change C++ command to C in src/flstring.h.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2244 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
and strncat() in almost all places (there are still a few strncpy's
that need to be used...)
Added configure check for strlcat() and strlcpy().
Added emulation code for strlcat() and strlcpy().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
getting truncated to a uchar, so we cast r, g, and b to int first...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
menu after reading the last attribute in a menu item...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2208 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
same, eliminating any filename completion value.
Added relative argument to fl_file_chooser() and fl_dir_chooser(); both
default to 0 (return absolute paths)
Give focus to the filename field in the chooser when show() is called.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
widget (Fl_File_Input is much lighter-weight, and is simpler in function.)
Update file chooser dialog to use new Fl_File_Input widget and always
display absolute path.
Still need to do docos, new screenshots, and update FLUID to support the
new widget.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2145 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
length parameter for the string.
Added GUI preferences and file history to FLUID, using Fl_Preferences.
FLUID now uses getUserdataPath() for the cut buffer location.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
slash.
Modify Fl_File_Browser::load() to check for trailing slash on WIN32.
This should fix performance problems when loading large remote
directories.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Set pattern, type, etc. before setting value in file chooser. Otherwise
the filename wouldn't get highlighted the second time it was shown.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
The "none" and "base" schemes map to no scheme (standard FLTK look-n-feel)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2119 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
might need to add the set_override() method to the 1.1 window classes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2104 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Force full redraw in Fl_Input when using Xft or OSX anti-aliased text.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Implemented Fl_RGB_Image alpha blending for MacOS X - others still
get 1-bit screen-door transparency...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2083 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
for...
Add "tooltips" resource for default state of tooltips.
Fix another tooltip cycling problem.
Fix default help and argument processing (didn't have the right min
chars for matching, and didn't list new options)
Update docos to list new tooltip resource and list of standard arguments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2079 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fl_Input now conditionally supports DND out via run-time option.
Fl_Input now clears selection if you click inside the selection when
DND is turned on.
Added support for scheme, dndTextOps, and visibleFocus resources under
X11.
Documented all X resources supported under X11...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2078 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Add FL_BACKGROUND_COLOR, FL_BACKGROUND2_COLOR, and FL_FOREGROUND_COLOR,
and use them instead of FL_GRAY, FL_WHITE, and FL_BLACK, respectively.
(FL_GRAY defined to FL_BACKGROUND_COLOR for back-compatibility)
Add fl_rgb_color(uchar g) inline method to map 8-bit grayscale to
24-bit RGB color.
Doco updates for all of this...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2072 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Bump version numbers to 1.1.0b13.
Need to include <config.h> (via "flstring.h") in src/Fl.cxx to
get Fl_Window::hide() to call fl_destroy_xft_draw()...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2066 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
show tooltips for box widgets.
Add docos for Fl_Widget::tooltip() methods.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
to copy selected text, and wouldn't know when to redraw itself when
it lost focus...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2057 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
TODO: Fl::set_fonts() should add all of the fonts returned by Xft;
right now it is a no-op.
BUG: Getting X messages like "XRequest.155: 202 0x260002b" for some
reason on my system.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
accept keyboard focus before taking focus when clicked on.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
text between different input demo windows (sometimes the target gets it,
sometimes the target dumps core, too...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
column width.
Pass UNFOCUS events to parent groups, too (for Fl_Tabs)
Conditionally compile in support for TrackMouseEvent(), since support
for it is spotty at best.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1966 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Update fltk-config to support all C++ file extensions.
Make background of FLTK logo transparent.
Disable overlays if the scheme is set.
Fix table cell formatting in Fl_Help_View. Still need to resolve an
issue with column widths vs. table widths.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1965 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Change how tabs are colored, and update the tabs demo to show it...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1951 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Add Fl_BMP_Image.H links to fltk.list.in.
Reset colors to standard FLTK ones in Fl::get_system_colors().
Don't clear button events when fixing focus.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1918 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
OpenGL implementations can queue dozens of frames...
Also fix controls in "flying" mode - the Y axis was reversed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1907 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Add fl_parse_color() to X11 version, too, and use it instead of XParseColor
in the image handling code.
Move the default color stuff in the plastic scheme to the MacOS
get_system_colors(), and apply the background color to the tile image.
More fixes for test makefile.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1901 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Added show(argc, argv) method to Fl_Help_Dialog.
Don't clear tab area in Fl_Tabs...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1896 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
keys and iBook keys, several fixes to keyboard focus.
Happy Holidays!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1894 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
for new FLTK_SCHEME environment variable, which should get added to
FLTK 2.0 CVS, as well as the -scheme option...)
Revert Fl_Group/Fl_Widget destructor change - it doesn't work for
statically initialized widgets (like the widgets in a color chooser...)
Export fl_round_up_box() and fl_round_down_box() so they can be
restored in Fl::reload_scheme().
Use FL_DOWN_BOX and FL_ROUND_DOWN_BOX in menu drawing code.
Use a static string for the display environment variable in Fl::display().
Updated MacOS README file...
Added window tile image...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1883 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
all message handling now in Carbon.
mouse capture support added.
timer support added.
overlay support added.
getting there...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
in CVS (makedepend contains local dependencies, not <stdio.h> and
so forth)...
The configure script didn't add -fpermissive or -fno-exceptions to
the CFLAGS and CXXFLAGS variables.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1880 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
- Fl_GIF_Image and Fl_PNG_Image didn't close the file before
calling Fl::error().
- Fl_Help_View didn't clear the line array in Fl_Help_Block,
and Fl_Help_Block::font and ::size were not used.
- Fl_Shared_Image::get() didn't return NULL if the image
could not be loaded.
- Switched to more efficient code for
Fl_Tiled_Image::color_average() and ::desaturate().
- Don't delete children in Fl_Text_Display since the group
will do it.
- Fixes to filename_isdir(), filename_absolute(), and
filename_relative().
- Was using numbers instead of define constants for some
OpenGL stuff under WIN32.
- Wasn't exporting threading functions under WIN32.
- The Fl_Widget destructor now removes from the parent to
avoid a Purify error since the old widget would be
referenced by the parent when it was destroyed; this has
no apparent performance impact since Fl_Group::clear()
sets children_ to 0, making Fl_Group::remove() very
fast...
- WIN32 font enumeration datatype fixes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1878 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
all events except Mac menus are now handled using Carbon,
window activation fixed,
GL_SWAP_TYPE default changed to make gl_overlay work.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1874 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
and look funny in 'fonts' test, some start with a '.' and
should probably not be listed?!)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1871 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
you got the chooser centered where the mouse pointer was when your
application first created it.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
displays a sensible error message when the URI scheme isn't handled.
Fl_File_Icon no longer tries to load icon files that don't exist.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1860 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Move Fl_Tooltip::enter(0) to the end of Fl_Window::hide(); otherwise
we get nasty recursion problems...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1859 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Use "while shown" instead of "while visible" in chooser functions,
since a desktop switch will make FLTK think the window is not visible
and prematurely return whatever file you have selected.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
HTML files on a single line.
Fl_Wizard.html still had a title and background color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Redraw parent if child button loses focus and is using FL_NO_BOX.
Fix test/Makefile to build mandelbrot and shiny demos right.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Cleanup some demos and the color chooser.
Restore code in Fl_Window::hotspot() to keep the window on the screen.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1837 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Mose Wheel, Key Modifiers, etc. .
Added some documentation (please check: English is not my native
language)
Changed line pattern to look a little nicer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1835 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
explain the reason for specifying a program uses FLTK, and drop the
requirement for include the FLTK license...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
updated the number of lines in the buffer.
Carl, please make sure this fix gets added to 2.0 CVS, if necessary.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Clip Fl_Tiled_Image to the bounding box.
Draw Fl_Progress using the box.
Draw plastic box types right for narrow (but horizontal buttons)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1814 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Almost all test applications run out of the box (->Makefile). See more
information in README.mac .
Changes:
- message handling
- access to opaque port structures
- image, bitmap, pixmap support
- most OpenGL stuff
- window styles
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1812 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
colors as Fl_Input_, and use fl_contrast to get an appropriate text color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1801 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
in boxier tabs, but you can customize as desired.
Fix plastic box types when drawing larger boxes that would default to
the color (without any adjustment).
Don't need to build fluid files anymore for source distro - visual C
projects now create them as needed.
Changelog update.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Doco updates (use <!-- NEW PAGE --> instead of <HR break>, plus more
Fl_Text_Buffer docos)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
fl_dir_chooser(), so that apps like FLUID won't get absolute paths all
the time...
Update filename_xyz() functions to take a destination size, and provide
inline methods for the old FL_PATH_MAX convention.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
definitions, and (v)snprintf function declarations...
Fix Fl_File_Chooser so it always checks for an empty directory_ (so
that is doesn't add the leading slash to drive letters and mount
points)
Make Fl_File_Icon use Fl_Shared_Image, and look in all KDE icon
directories.
Fl::error() no longer exits by default; only Fl::fatal() does...
Wasn't doing callbacks in Fl_Tabs when the current tab was changed
via the keyboard.
FLUID wasn't writing the tooltips in message files, and didn't count
tooltips when computing the message number for catgets.
Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
The pixmap_browser demo now supports all image formats via Fl_Shared_Image.
Dropped image file stuff from image demo.
Added Fl_Tiled_Image class, which tiles an Fl_Image, useful for tiling a
background image in groups.
Added tiled_image demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1725 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Add Fl_Shared_Image class, with get() and release() methods.
Update Fl_Help_View to use Fl_Shared_Image class.
Update image demo to accept a filename, and to use the Fl_Shared_Image
class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1714 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fix --disable-cygwin configure option, and use AC_SEARCH_LIBS for
math library.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1711 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
configure.
Comment out symlink stuff for Cygwin, and (hopefully) soon for OSX, too.
Add uninstall targets where needed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
classes: new copy(), copy(w,h), desaturate(), color_average(), and
inactive() methods, alloc_xyz member for copied data, etc.
Updated test programs to use inactive() and copy() methods to create
inactive images for the test buttons, plus the inactive button to toggle
it...
Added start of separate image classes, a la 2.0, for various image formats.
FLUID will also be updated for it...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121