Commit Graph

5269 Commits

Author SHA1 Message Date
Greg Ercolano
3cf006f5c3 Solves STR #2681.
Added ABI-breaking Fl_Table::scrollbar_size() with new ABI #ifdefs.
tests/unittests program modified to test this feature if enabled.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9345 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-14 20:35:56 +00:00
Greg Ercolano
db2cca57f1 Added table-with-keynav.cxx to emphasize keyboard/mouse selection
(as per a question on the newsgroup about how to do this..)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9344 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-14 19:45:50 +00:00
Manolo Gouy
e0fca85c74 Added missing initialization in Fl_Paged_Device constructor
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-13 16:57:14 +00:00
Ian MacArthur
6f4c59079f This change to fluid's CodeEditor ought to make it honour textsize changes
that are applied at text buffer creation.

How effective this will be for etxtsize changes that occur later is
another question, but this corrects a problem identified in the
thread "Re: [fltk.general] FLUID fonts earlier



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9341 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-13 14:45:18 +00:00
Greg Ercolano
418dd143f0 ABI modifications to Fl_Tree: deprecate mouse selection hotfix with proper solution.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9340 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-13 02:51:15 +00:00
Albrecht Schlosser
c28adce903 Fix typos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9338 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-10 21:18:35 +00:00
Greg Ercolano
6444e23359 fixes to build on IRIX.
(scoping rules for variables declared within for() loops)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9337 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-10 19:16:44 +00:00
Albrecht Schlosser
dfe7fafd92 Fix compiler warning "variable set but not used".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-09 12:36:23 +00:00
Manolo Gouy
60d448d150 Removed Fl_Widget::is_fullscreen() that is just another name for Fl_Window::fullscreen_active()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-09 09:12:34 +00:00
Albrecht Schlosser
91ce609fc7 simplify MinGW install directory check.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9328 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-07 11:56:09 +00:00
Albrecht Schlosser
abbd9839bf Fix MS VC++ (2008/2010) compiler error, as discussed in fltk.general in
thread "Compilation error on windows VS 2010 (r9300)" of Mar 24, 2012.
Only the "static" attribute had to be fixed now, since the enum access
problem had been fixed before (r 9325).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9327 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-05 15:04:43 +00:00
Albrecht Schlosser
8ed93f0065 fix a typo and indenting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-05 14:30:19 +00:00
Fabien Costantini
8809c5d65d Fixed build error in msvs because Fl ref to FULLSCREEN enum was not accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-05 05:12:30 +00:00
Manolo Gouy
37ea8ba9e6 Mac OS: canBecomeKeyWindow returns NO also for menu windows
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-04 19:53:11 +00:00
Manolo Gouy
cb32ceaf4d Fix STR#2818: (Mac OS) tooltip window takes focus away from input field.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9321 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-04 16:33:09 +00:00
Manolo Gouy
c2fa0114dd Mac OS: walk back changes from r.9312 that were not a good idea.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9313 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-30 17:38:19 +00:00
Manolo Gouy
bc5731c3b7 Mac OS: use last ABI version when compiling with Xcode
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-30 17:00:31 +00:00
Ian MacArthur
1e5c19b087 Maybe fix for the Fl_Pixmap issue building 9310 on mingw/WinXP.
PLEASE check this is OK, I don't have access to test systems here...



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-29 13:45:11 +00:00
Manolo Gouy
ae4d6338b8 WIN32: Fl_Pixmap printing uses a global variable called win_pixmap_bg_color equal to the color
used for the pixmap background, and treats this color as transparent. FLTK assigns to this variable
a color unused by the processed pixmap. In theory this variable should be specific to each processed
pixmap. In practice, it's very unlikely that several values are needed. A new member variable is
added to the Fl_Pixmap object to hold this value. This member is made static if FLTK_ABI_VERSION
< 10302 for ABI compatibility. The correct thing, though, is for a non-static member.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9308 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-28 13:19:33 +00:00
Manolo Gouy
0b6f546b0f Added support for the additional key of ISO keyboards (aka 102-key keyboards) named FL_Iso_Key.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-26 16:54:54 +00:00
Manolo Gouy
08ce2e07d3 Fix STR#2641: true fullscreen windows that cover all their screen including menu bar, task bar, dock.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-23 16:47:53 +00:00
Manolo Gouy
8cd98f5236 Mac OS: Allow keyboard input with borderless windows
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9294 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-22 13:58:38 +00:00
Manolo Gouy
32d4bc4099 Fix STR#2810: removed all uses of function Fl_Device::class_name().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9293 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-18 18:48:29 +00:00
Manolo Gouy
53ccc78759 Removed duplicated code when printing pixmap on WIN32.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-17 17:35:02 +00:00
Manolo Gouy
c41d3ac3f3 Fixed error in printed color of Fl_Bitmap
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9284 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-14 15:59:02 +00:00
Manolo Gouy
da96b83903 Moved a few local variable declarations.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-14 09:51:22 +00:00
Manolo Gouy
7d0b5d05cb Simplified Fl_Paged_Device::print_window() under Mac OS
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-14 08:49:36 +00:00
Manolo Gouy
f6cb583e27 Replaced fl_copy_offscreen_with_alpha() by Fl_GDI_Graphics_Driver::copy_offscreen_with_alpha() and
fl_create_offscreen_with_alpha() by Fl_Quartz_Graphics_Driver::create_offscreen_with_alpha()

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-12 11:55:50 +00:00
Manolo Gouy
4715e1593e Use a new Fl_Quartz_Graphics_Driver or Fl_GDI_Graphics_Driver instance when printing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9276 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-12 09:39:17 +00:00
Manolo Gouy
c9303f2c83 Added needed initialization in Fl_Graphics_Driver constructor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-11 18:58:55 +00:00
Manolo Gouy
de254a0070 Fixed error in vktab[] table.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9273 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-10 15:52:44 +00:00
Manolo Gouy
719f72b501 Mac OS: renamed compute_macKeyLookUp() to fl_compute_macKeyLookUp().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-10 08:45:44 +00:00
Manolo Gouy
739a6f89ae Mac OS: the macKeyLookUp table is now computed at program start from the vktab table
by compute_macKeyLookUp() in file src/Fl_get_key_mac.cx

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-09 21:35:45 +00:00
Manolo Gouy
01861dd47b Fixed error with \ key under Mac OS
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9269 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-09 21:24:57 +00:00
Greg Ercolano
40ece0489e Added commented out FLTK_ABI_VERSION macro definition
that users and devs can uncomment to enable ABI breaking features/fixes.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-05 23:42:07 +00:00
Manolo Gouy
c36a9992e3 Fix STR #2260: OpenGL windows in Fl_Tabs don't hide when tabs are switched (Mac only)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-05 08:46:30 +00:00
Manolo Gouy
4e3f9e2ab3 The Fl_Paged_Device destructor is made public instead of protected to ease the use of custom
Fl_Paged_Device subclasses at the application level. 
This is protected by #if FLTK_ABI_VERSION >= 10302

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-04 18:24:38 +00:00
Manolo Gouy
5237b2bc76 The virtual member functions of the Fl_Graphics_Driver abstract class that were set to 0 are now set to
do-nothing to ease the construction of specialized Fl_Graphics_Driver subclasses at the application level.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-04 18:18:03 +00:00
Manolo Gouy
7c4e992977 Minor comment rewording
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9261 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-02 16:23:28 +00:00
Greg Ercolano
4ce583c0f8 Docs + cosmetics only.
> Added docs to utf8_input_filter() function
    > Documented its variables
    > Added comments to its code so it can be better understood in the future.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9260 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-01 14:22:15 +00:00
Greg Ercolano
4e934c01be Fix STR#2808: corruption bug with Fl_Text_Buffer::insertfile().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-01 13:25:15 +00:00
Manolo Gouy
17d221bd34 Improved doc of Fl_PostScript_File_Device::start_job().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9257 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-01 08:48:36 +00:00
Greg Ercolano
0197e5b31c Small #ifdef mod for windows builds.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9256 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-02-29 05:42:12 +00:00
Greg Ercolano
a9397d9ca8 Added progress bar widget demo.
Nabbed from Greg's cheat sheet, with his permission.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9255 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-02-29 05:37:30 +00:00
Albrecht Schlosser
04c4df7be6 clarified console window FAQ
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9253 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-02-24 14:46:10 +00:00
Manolo Gouy
ceb2bbc4b8 Fix so that function Fl::cairo_make_current() is properly documented
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9251 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-02-21 13:36:07 +00:00
Manolo Gouy
0130df031a Allows compilation on 64-bit Mac OS X with FLTK_HAVE_CAIRO defined.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9250 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-02-21 12:27:31 +00:00
Greg Ercolano
e920c28d0b Fix STR#2807: when(FL_WHEN_NEVER) was not working.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9249 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-02-21 00:34:27 +00:00
Manolo Gouy
34a045f2e3 The interface displays Fl_Menu_Bar / Fl_Sys_Menu_Bar class names.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9241 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-02-18 08:29:30 +00:00
Manolo Gouy
435e7f5e23 Various fixes required by device virtualization in fl_vertex.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-02-17 09:47:04 +00:00