Albrecht Schlosser
1d571c3054
STR 2096: Fixed a regression introduced by making Fl_Widget::hide()
...
virtual (svn -r 6502, STR #396 ): Windows closed, if minimized.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-28 09:06:08 +00:00
Ian MacArthur
994c1d82a2
STR #2097 - attempt to workaround fl_round_box not honouring colors passwed to it from fl_rgb_color(...) calls.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-27 20:43:27 +00:00
Ian MacArthur
865f3d8e61
STR 2076: experimental fl_text_extents patch applied. Please feedback comments.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-19 20:34:27 +00:00
Ian MacArthur
cbfba6feca
STR 1948: fix glutIdleFunc so that it does not use the deprecated Fl::set_idle method, and does not interact harmfully with other Fl::add/remove_idle() functions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-13 19:42:45 +00:00
Fabien Costantini
8878c68256
Doxygenized fl_expand_text() comment, more minor code comment and debug printf cleanup.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-06 22:36:01 +00:00
Fabien Costantini
a6def7d9de
UTF8 nbsp detection before string expansion fixed: as explained, now the fl_expand_txt() main loop is utf8 multibyte char aware and should not confuse nbsp chars with utf8, even mixed with other CP125x code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-06 22:30:14 +00:00
Matthias Melcher
ebbb485040
Reverted to old Mac Keyboard handling until new code is functional on allMac versions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-06 20:19:00 +00:00
Fabien Costantini
c6b9818f4a
Got inspired from manolo STR#2067 proposal to fix OSX window title not utf8 aware, but generalized it so that all Fl_mac.cxx calls the same new q_set_window_title() function(). Now OSX Window shows UTF8 title correctly. old code is still present but factorized in the new q_set_window_title() function(BTW the Str255 truncation was omitted in one part of the old code), please review so that we can remove that old non-UTF8 aware code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-05 12:54:39 +00:00
Fabien Costantini
8094043bcb
Added fast utf8 string detection routine fl_is_valid_utf8(). Solves the drawing problem in #2080 related fl_expand_text() use. The particularity of this routine is that the complete scan is cached so that it executes 0 to 1 time in the fl_expand_text() loop. Now chinese example in str 2080 seems to works perfectly here. Still, incorrect windows title in Win32 need to be adressed.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6497 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-05 01:55:17 +00:00
Albrecht Schlosser
a26fe4d320
Re-applying change to Makefile reverted by Fabien (STR 2063).
...
Although this may look strange for somebody, it is the correct fix for
the _current_ Makefile implementation, as discussed in fltk.development.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6496 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-04 08:16:50 +00:00
Fabien Costantini
28553f266f
Reverted las Makefile changes. This is not acceptable because any modification tyo xutf8 file must be achieved in corresponding xutf Makefile. So Instead of cleaning the file generated by xutf Makefile by src makefile, you have to do that in the xutf8 Makefile instead.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6494 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-02 11:25:51 +00:00
Albrecht Schlosser
962f924d04
make clean (and make distclean) now delete src/xutf/*.o
...
STR #2063
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6493 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-01 17:33:38 +00:00
Matthias Melcher
2ecabfa676
Moved Fl_Preferences documentation to the correct places.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-31 16:30:07 +00:00
engelsman
13267ea186
added doxygen comments for more font/text functions in fl_draw.{H,cxx}
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6489 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-28 20:58:44 +00:00
engelsman
642d8e63fb
added more minor doxygen comments for fl_color.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6488 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-27 22:58:49 +00:00
Fabien Costantini
ed6ac69dd6
Fixed cairo makefiles link error when shared option activated under linux.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-25 18:31:44 +00:00
Matthias Melcher
b989051bd6
Improved stability of fl_read_image (STR #2021 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 20:35:53 +00:00
Matthias Melcher
0490b30383
Fixed adding an idle handler during a draw() call (STR #1950 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6473 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 20:15:32 +00:00
Matthias Melcher
baa5549c00
Moving some doxygen dox around (Fl_Preferences).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6464 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 09:37:21 +00:00
Fabien Costantini
268ffc6ef2
Cairo increment 2: Finer cairo granularity, less deps, new fltk_cairo lib
...
+ added new USE_CAIRO config preprocessor def.
to differentiate from HAVE_CAIRO so that we can use the cairo lib
without forcing the full fltk lib to be linked against it.
In that case, cairo autolink context functionality which needs fltk lib
instrumentation is disabled.
+ added new --enable-cairoext, which correspond to previous --enable-cairo.
now, --enable-cairo only adds HAVE_CAIRO def. and keeps fltk lib
from referencing cairo.
In both cases (--enable-cairo & --enable-cairoext), a new fltk_cairo lib is
created. This lib, similarly to local versions of png,jpeg and zlib,
is not generated if cairo is not enabled.
+ added cairo to fltk-config : now new --use-cairo flag is available
+ modified all unix like makefiles to now generate minimum cairo deps and also
new libfltk_cairo lib.
+ added new cairo subdir to permit conditional fltk_cairo lib generation.
+ vc2005 project minimum update to compile without be broken, but still needs
to create a similar fltk_cairo independent lib. For now, it works as before
with a dedicated cairo env. similar to --enable-cairoext context in unix.
+ regression tested ok with cairo disabled on win32, mac osx, mingw.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 01:42:35 +00:00
Fabien Costantini
7a5e64a4f3
Fixed mingw was broken because src/XUtf8 Makefile didn't point to proper ../../lib and ../../makeinclude paths.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6461 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 01:27:26 +00:00
Matthias Melcher
fc28028954
Updated some documentation for Fl_Preferences::getUserdataPath()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-18 20:35:13 +00:00
engelsman
4b48d5f84a
added more minor doxygen comments for fl_draw.H and fl_line_style.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6444 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-16 20:56:43 +00:00
engelsman
065cfaadbe
minor doxygen updates for fl_draw.H, fl_color.cxx and fl_vertex.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6442 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-15 21:38:38 +00:00
Fabien Costantini
d272c1b43f
Doxygen PDF Documentation: Added image latex tags, added missing eps corresponding images (most of them in B/W) for the widget classes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-15 11:27:29 +00:00
engelsman
e08fffdfe0
copied more documentation from drawing.dox to {fl_curve,fl_vertex}.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6430 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-14 21:42:24 +00:00
Fabien Costantini
025290929d
Fixed missing config.h includes in X11 after QD removal.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6426 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 23:44:22 +00:00
Fabien Costantini
92051890f1
Quickdraw removal: option removed from configure, all Qd code removed from sources. Also took this opportunity to sort the ifdef clauses so that USE_X11 shows first. Also added error pragma to enforce proper target checking, thus make even less assumptions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 23:10:43 +00:00
engelsman
de04c108f8
copied more doxygen comments from drawing.dox back to source code
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 21:42:05 +00:00
Matthias Melcher
a26d5408a1
STR 1952: Fixed first modifier key event, some minor utf8 orrections.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6416 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 19:26:18 +00:00
Albrecht Schlosser
7c977f76a0
Fl_Tooltip could pop up a wrong tooltip, when there had been no tooltip
...
displayed before, and the current belowmouse() widget didn't have a tooltip.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6409 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-11 12:33:28 +00:00
engelsman
0adc1ccdaa
doxygen comments for undocumented drawing, clipping and color functions
...
added comments in fl_draw.H, fl_color.cxx and fl_rect.cxx so that the
links within drawing.dox can be simplified to allow LaTeX/PDF docs too.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6392 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-07 21:07:12 +00:00
engelsman
82a48229fe
added doxygen comments for undocumented functions in fl_boxtype.cxx
...
Some of these are required in order to simplify the html headers,
names and links in drawing.dox, to let doxygen do the linking and
generate correct LaTeX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6390 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-06 21:16:56 +00:00
Fabien Costantini
2c2cc8592e
Fixed a memory leak in new quartz window frame sizes detection routine.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6389 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-06 19:20:49 +00:00
Fabien Costantini
aca18384b7
STR#2058 fix: fl_draw() would crash on Quartz if no font was selected yet.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6388 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-06 16:40:42 +00:00
Fabien Costantini
e1d53edca0
STR#2005 fix: potential crash in Fl_Text_Display.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6387 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-05 23:37:11 +00:00
Fabien Costantini
30800d35d4
STR#2052 fixed. Also added documentation to FL_File_Input explaining what events the user can handle and also an application note explaining how to avoid potential callback reentrant calls.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6386 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-05 23:10:33 +00:00
Fabien Costantini
cf001ac338
STR#2051 fix: Tile would still change the mouse cursor when inactive.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-05 17:21:08 +00:00
Fabien Costantini
355223b558
STR#2056 Fixed all compilation problems and tested that fluid, utf8 demo works the utf8 code is harmonized with the unix impl. instead of the win32 impl in case Cygwin lib is used.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6376 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-04 17:26:07 +00:00
Fabien Costantini
fdeb60898e
#STR2056 partial fixes : wsock API now compiles ok, but there are still all utf8 stuff that won't compile: fl_utf8.cxx, fl_set_fonts_win32.cxx won't compile yet and Fl_Preferences recent utf8 addon should be checked for Cygwin.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6375 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-04 16:35:58 +00:00
engelsman
c28c0de681
added doxygen comments for undocumented features in Fl, Fl_Gl_Window
...
- I see Fabien was/is? busy with Fl.H, so I submit the few changes
I've made and hope I haven't trodden on his toes too much :-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6374 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-04 15:54:15 +00:00
Fabien Costantini
7fc0d4903d
Corrected comment inversion in fl screen_xywh() api.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-04 15:27:12 +00:00
Fabien Costantini
bfac12dbfa
Completed and corrected Fl and related Fl_Window documentation, added cross references, especially to back compatibility functions to the new ones.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6372 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-04 14:15:16 +00:00
engelsman
0eb1ac797f
added doxygen comments for undocumented features of Fl_File_Icon
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6371 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-04 12:21:46 +00:00
Fabien Costantini
b40c69272f
Added return comments to rgb and hsv color chooser methods.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6370 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-04 12:13:59 +00:00
Fabien Costantini
5fcfaa2fa1
Doxygen documentation: more paranoid fixes and complements in common dialogs. Added new test cases in the ask demo now featuring fl_message() and fl_password() API, made fl_choice() more specific about its return value tests in caller (also added a third button).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6369 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-04 12:00:16 +00:00
Fabien Costantini
727b50652c
Added systematically missing in out modifiers to all param doxygen statements. Added a TODO.osx file in the root describing what we have to do on the os x platform before we can pre-release 1.3
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-03 12:00:21 +00:00
Fabien Costantini
fabf5fc181
Fixed bad comments in fl_color_chooser, r g b param are in/out params and not in. Added param and return dox commands to these functions. Added a new Common Dialogs Module containing all fl_ask,fl,fl_color,fl_file dialogs. Fixed the fl_old_shortcut appearing in Fl_Button.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6367 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-03 11:20:50 +00:00
Fabien Costantini
b763b271a7
Doxygen documentation : removed useless FLTK prefix to Modules list as it doesn't change their order in the Modules page.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6366 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-03 08:05:48 +00:00
Fabien Costantini
bd882119e7
Doxygen documentation : minor comment fixes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6365 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-03 07:48:38 +00:00
engelsman
a95a1f01a9
added doxygen comments for undocumented features of Fl_Free
...
- converted some HTML tags tags to doxygen \commands
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6364 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-01 22:51:30 +00:00
engelsman
2b7fa0f60e
added doxygen comments for undocumented features of Fl_FormsPixmap
...
Q. Is there a potential memory leak if Pixmap(B) called after set(b) ?
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6363 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-01 22:02:55 +00:00
engelsman
4db42c2996
doxygen comments for undocumented features of Fl_File_Init
...
- is Fl_File_Input::errorcolor() ever used?
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6362 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-01 18:43:10 +00:00
Albrecht Schlosser
98c794fee9
added svn properties and fixed some documentation typos.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6361 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-01 15:28:41 +00:00
engelsman
c0a5c88872
converted more html markup in src/Fl_File_Chooser2.cxx to doxygen
...
[the biggie is going to be converting the table, if that is indeed possible]
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-30 22:51:08 +00:00
engelsman
9c789b0e69
doxygen comments for undocumented features of Fl_File_Chooser
...
- needed to use new doxygen comment feature in fluid to provide comments for
the various static const char* member variables (eg add_favorites_label).
I had not been able to work out how to add the comments "out-of-code" in
src/Fl_File_Chooser2.cxx without getting unpredictable end-results.
- needed to add doxygen comments for newButton and previewButton to the
"out-of-code" comments in src/Fl_File_Chooser2.cxx because the new doxygen
comment feature in fluid doesn't extend to widget member variables :-(
- added some missing "out-of-code" comments about customization/copying.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-30 22:22:49 +00:00
Fabien Costantini
cccbaca0c5
fixed max os x QD mode would not compile. Got back all the QD font drawing code from 1.1.9. the labels draw but are uncorrectly shifted to the right.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6357 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-30 18:06:44 +00:00
Fabien Costantini
b53ea22a59
fixed warnings when compiling Fl_mac.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-30 18:04:35 +00:00
Albrecht Schlosser
acbb5af54b
doxygen docs for some missing Fl_Group methods, updated Fl::focus().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6351 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-28 22:25:23 +00:00
Fabien Costantini
ffad932289
+ Cairo branch merged after successful testing on Mac OS X 10.5.4, Linux Ubuntu 8.04,Windows XPSP2.
...
This integration is minimum as discussed, in particular it does not feature any fltk cairo drawing substitution
as in fltk2.
Still it provides all the fundations to go further even in next 1.4 ...
By default *no* cairo features are implemented nor linked, it can only be activated by --enable-cairo
whose default is false.
Please visit the README.cairo for complete description.
+ fixed UTF8 compilation pb on linux ubuntu
+ minor comments fixes on the fly
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-25 18:26:33 +00:00
engelsman
f9dc24a096
doxygen comments for undocumented features of Fl_Double_Window
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6338 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-21 18:55:58 +00:00
engelsman
da70ad2226
added #ifndef FL_DOXYGEN around Flcc_*::methods() to avoid warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-21 15:29:42 +00:00
engelsman
efd1647a25
doxygen comments for undocumented features of Fl_Dial, Fl_Counter
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-21 14:40:31 +00:00
engelsman
a4b0ac592e
doxygen comments for undocumented features of Fl_Color_Browser
...
added comment for mode() and enum {M_RGB, ...} but now I can't find the
latter on the genrated pages. What have I done wrong?
Also added #ifndef FL_DOXYGEN around the Flcc_* helper classes so they
won't appear in the docs, or cause undocumented warnings from doxygen.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-21 13:20:12 +00:00
engelsman
4bc22ed15d
doxygen comments for undocumented features of Fl_Clock, Fl_Check_Browser
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6327 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-21 08:00:32 +00:00
Albrecht Schlosser
fb343ffdf6
More doxygen updates for Fl_Text_Buffer. Also changed some argument
...
names from "char *s" to "char *text" to be in sync with the docs.
Caution: If there will be name conflicts with Fl_Text_buffer::text(),
then this can at least be fixed easier, because searching for "text"
is better than for "s". I remember that some argument names x,y,w,h
have been changed to uppercase, because of conflicts with x(), etc.
with ... valgrind (?) or maybe some compilers ?
I did this deliberately, because changing the headers and doxygen docs
to "s" instead of "text" appeared to be not feasible.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-21 01:46:27 +00:00
Fabien Costantini
87c649e153
Corrected duplicated paragraph in previous commit.
...
Much prefer the \a syntax rather than the \p syntax as it has the same look that the parameters shown in the function declaration (italic).
Should be added to the todo list how to.
Completed all other parameters applying the \a modification in this file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-21 00:09:12 +00:00
Albrecht Schlosser
b804e1f3ab
Fixed some typos and links and added a section about document structure
...
and some more to development.dox.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6320 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-20 22:46:24 +00:00
engelsman
fd407c7775
doxygen comments for undocumented features in Fl_Browser_, Fl_Button, Fl_Chart.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-20 21:04:28 +00:00
engelsman
f5a1576d7c
added doxygen comments for undocumented methods of Fl_Bitmap and Fl_Browser
...
also replaced some html with doxygen equivalent.
note that not all comments are consistent. some are one-liners, even though
the contain [obvious?] parameters, and others have \param and \returns.
note too, that some parameter names are ambiguous and require type info,
eg line could be FL_BLINE* for whole line entry, or int for line number,
and this can make descriptions awkward (\param line line number).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6318 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-20 14:29:29 +00:00
engelsman
40a156aa94
Simplified the doxygen comment strategy for fl_color_command()
...
Too many \defgroup, \ingroup and \relatesalso and doxygen gets confused!
Simplified down to a single \relatesalso, and moved the extra function
documentation into the class comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6313 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-19 20:56:19 +00:00
Matthias Melcher
e8f467b9e3
Updating fl_utf8.h references. Fixing copyright date in .fl files.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-19 17:40:20 +00:00
Fabien Costantini
e8478458bf
Doxygen documentation: Fixed most important warnings for the Fl_Widget, Fl_Window, Fl_Valuator classes that should be now a 100% documented. For the rest I drastically reduced the undocumented APIs, but many others (less important) remains.
...
It looks and feels pretty good now :-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-18 19:09:34 +00:00
Fabien Costantini
72ac77216d
Doxygen documentation
...
+ Added new \relatesalso dox command to attach fl_file_chooser(), fl_color_chooser() to their respective related classes
+ corrected copyright date and added lgpl with exceptions in preface
+ restored undocumented warnings, changed QUIET mode to yes, this way we get all warnings/errors and not the long verbose list treated files. Seems to be a bit faster to run too.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-18 10:34:22 +00:00
Fabien Costantini
dcb87bede1
Doxygen documentation: completed Fl_Gl_Window.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6294 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-18 00:15:35 +00:00
Fabien Costantini
2be88792b3
Doxygen documentation: fixed all ambiguous methods signatures, fixed erroneous path test into ../test since the doxyfile move, fixed all intro dl,dt,dd related tags warnings in intro.dox .
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6289 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-17 22:25:45 +00:00
Fabien Costantini
a2eaf60572
Doxygen documentation:
...
+ Added HAVE_GL,HAVE_GL_OVERLAY to Doxyfile defines
+ many obsolete api signature causing to be igmored by doxygen have been fixed, more to come and this is good! (we are forced to refresh these api and be up-to-date to have them documented...)
+ Added a Fl_Gl_Window::draw() method that raises a Fl::fatal() message if used directly. The old doc said it was a pure virtual which is not true. one can easily create a Fl_Gl_Window created, this won't work of course but is subject to trouble.
Now the Fl_Gl_Window doxygenize beautifully and content is more accurate.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-17 20:30:37 +00:00
Fabien Costantini
3787be9b6e
Doxygen documentation: replace all occurences in comments of " by a quote char. Temporarily set warn_if_undocumented to NO until we correct more severe messages.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-17 15:44:43 +00:00
Albrecht Schlosser
5cd6da0ae4
Fixed bad '\' escape sequences (removed "unknown command" warnings).
...
And yes, I added some <tt> tags again, because e.g. "@." wouldn't
be very well readable in a proportional font (FL_Browser.H).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6279 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-17 11:08:59 +00:00
Albrecht Schlosser
9e2f9c5b3a
fixed typo in comments
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6276 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-17 09:18:52 +00:00
engelsman
915d310a70
added doxygen comments for fl_color_chooser() function.
...
By creating a doxygen group in the .cxx file with the implementation,
I've achieved a separate fl_color_chooser() module in the generated
documentation, with a Referenced by link that doesn't [yet] work.
Is there a way to also make this appear in the Fl_Color_Chooser.H page?
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-16 22:25:07 +00:00
Fabien Costantini
ae697b80b2
Doxygen documentation : took the opportunity to update copyright info as we modified already in batch almost all sources, added also a fil doxygen command to class headers to harmonize with original matt Fl_Widget dox. format.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-16 07:26:22 +00:00
Albrecht Schlosser
e20eeb6541
applied Duncan Gibson's documentation patch (WP3).
...
Docs look good, compiles okay.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-16 06:49:08 +00:00
Fabien Costantini
e6652d845a
Doxygen documentation increment 2: adding more classes, comments not referenced in original doc. hide public enter_(), exit_() functions, made friend Fl_Widget::tooltip(), these should not appear in the public member dox. documentation. added static variables initialisation to 0 in glut for msvc platform compilers."
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6261 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-15 20:56:17 +00:00
Fabien Costantini
a99524ef2d
Doxygen documentation. Completed Fl class, added a todo related to recent Fl API to document. Matt?. More cosmetics have been done, replaced *all* <pre> </pre> tags by \code \endcode sequences.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6260 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-15 19:21:20 +00:00
Fabien Costantini
d55dfeb5e9
Doxygen documentation. Fixed somes typos and also H4 remanent misplaced tags and comments.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6258 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-15 17:46:42 +00:00
Fabien Costantini
b8955a9ced
Doxygen documentation WP11 Done!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6255 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-15 16:39:05 +00:00
Fabien Costantini
09f3094aef
Doxygen documentation WP10 Done. Reserved WP11.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6254 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-15 12:46:49 +00:00
Matthias Melcher
730dc6367d
Ah Unicode! Using the correct UTF8 glyphs for OS X menu shortcuts.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6253 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-15 11:41:39 +00:00
Fabien Costantini
8701883e54
Doxygen documentation WP9 Done.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6251 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-15 11:10:51 +00:00
Fabien Costantini
b9ca133376
Doxygen documentation WP8 Done. Reserved WP9, WP10. Will now check WP3 from engelsman and integrates it.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6250 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-15 08:41:54 +00:00
Fabien Costantini
fdcfef214e
Doxygen documentation WP7 Done. Fl_Menu_Item was a real pain to doxyfy.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6248 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-15 00:27:28 +00:00
Fabien Costantini
6645d3cb6a
Doxygen Documentation WP6 Done, Also completed the documentation of Help_View, Help_Dialog and cleaned up Preferences from ugly stars in comments and also removed redundant get/set text from methods doc. In this increment, we don't bother with the old dox format (comments in header). We have better things to do with our time (like about 40 mores files to doxyfy :-).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6243 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-14 20:00:03 +00:00
Matthias Melcher
f49e2a7af5
Horribly hacked together Unicode keyboard support for OS X. But although this needs a lot of fixing and cleaning, we can now at least enter characters outside of the stricly ASCII range again.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6242 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-14 19:09:13 +00:00
Fabien Costantini
7ddd3b8c50
Doxygen Documentation WP5 Done, WP6 half finished so that all Fl_Image class hierarchy is up-to-date. Also completed the documentation of the useful Fl_Shared_Image.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6241 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-14 18:19:41 +00:00
Fabien Costantini
ce4d0fd5d8
Doxygen Documentation WP4 Done. Has all documentation content but should be completed in increment 2. Registered for WP5.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-14 15:45:27 +00:00
Fabien Costantini
58548b781d
Doxygen Documentation WP2 done.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6235 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-14 12:45:42 +00:00
Fabien Costantini
9bf19e2329
WP1 merged from my branch, WP2 reserved, todo list updated.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-13 22:33:03 +00:00
Matthias Melcher
483dab9e92
Remove compile-time dependency on Imm32.dll on Win32. I have no MSWindows machine here, so this code is likely to contain one or more typos... . When working, this will take the burdon of linking to imm32 away, so that existing makefiles will need no changes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-11 11:14:06 +00:00
Matthias Melcher
000946ba22
Fixed a few missing renames form Fl_FontSize to Fl_Font_Descriptor
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6213 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-11 06:12:21 +00:00
Matthias Melcher
b6bde2e456
Merging the UTF8 patch, consisting of O'ksi'd s original 1.1.6 patch and additions by Ian. PLEASE BE AWARE that the patch in its current incarnation is a regression in many aspects and further work is required before we can announce Unicode support.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-10 23:56:49 +00:00
Albrecht Schlosser
84e98c0ce9
modified resize behavior, as discussed in STR 2032.
...
Fl_Group.cxx: resizes itself before changing its children
Fl_Scroll.cxx: similar change
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6192 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-07 11:22:14 +00:00
Fabien Costantini
c7f4b8c930
merged modification from my private branch after successful regression testing on win32,cygwin/mingw, mac osx, linux.
...
Fl_win32.cxx and Fl_x.cxx modified for:
======================================
- STR# 2029 fix: async select using USE_ASYNC_SELECT def. would not work. Obsoleted and commented as discussed
- STR# 2032 fix: fl_ready would load wsock dll unnecessarily. Bad indents corrected
fluid.cxx modifed for:
======================
Added a local portable Fl_Process class to fluid enabling popen encapsulated win32 impl. based on CreateProcess() to work as expected in non console apps, so that exec command output window is now also implemented in win32, also permitting testing add_fd()/remove_fd() API relying on winsock on win32.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-02 12:03:30 +00:00
Fabien Costantini
e77a5d14d8
wsock32 static lib dependency removal from win build files.
...
error msg if wsock load fails changed by Fl::fatal() API use.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-28 17:33:56 +00:00
Fabien Costantini
5156431137
STR #1972 fix :check validity of icrsr before updating cursor state.
...
Fixes crashes when setting up Fl_Wizard pane dynamically before show() is called.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-27 18:12:28 +00:00
Fabien Costantini
bc6d15183c
+ Added a new optional compile time varaible named USE_WSOCK1 that would change the use of the WINSOCK2 libray by default, by the use of Winsock 1 (also implies the use of winsock.h instead of winsock2.h)
...
+ Removed one unused ret variable.
TODO: remove unnecessary wsock32.lib dependency from fltk-config, and other win32 build files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-27 16:53:39 +00:00
Fabien Costantini
05a6292ac0
included the broken_image test in the free() method of Fl_Help_View for Win32, now also fixes heap error on exit
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-26 15:08:55 +00:00
Fabien Costantini
a8e192e6b4
STR #2004 fix: got inspired from suggested modifications but limited their impact for broken_image test because it is not needed for osx and win32 platforms. thanks Mark and Sebastian. Works great in X11 now.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6168 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-26 14:49:51 +00:00
Fabien Costantini
c874be7712
removed unused wsock api, fixed return result in fl_ready()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6167 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-26 08:24:54 +00:00
Fabien Costantini
fa58041f11
STR #1906 fixed as discussed :
...
Now winsock2 is linked instead of winsock1 by default.
Also, this lib is now linked dynamically on-the-fly, only when needed.
Separate commit will follow for vc2005 proj. modifications (removing wsock32.lib) for more readability.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6164 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-25 23:51:34 +00:00
Matthias Melcher
b6b746cd69
Replaced badly named type Fl_FontSize with Fl_Font_Descriptor. This type is only used in the core files and not available to the user.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6162 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-15 21:18:27 +00:00
Matthias Melcher
e63c50b2d1
Rename type Fl_Font_Size into Fl_Fontsize to comply with other naming in FLTK.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-15 21:11:21 +00:00
Matthias Melcher
2bded55947
Moving more documentation into doxygen format
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-11 08:35:34 +00:00
Michael R Sweet
ba2e9f3375
Make --post create a basic Mac OS X application bundle with a shell script
...
that executes the bundled program.
Change the defaults for Quartz, threading, large file support, XDBE, Xft,
and Xinerama to "yes".
Remove the old Mac OS X resource fork file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-07-13 21:39:07 +00:00
yuri
c04f2f8bff
fix Fl_Font and Fl_Font_Size types in Fl_File_Chooser.fl file
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6122 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-01 18:56:12 +00:00
yuri
385c38912e
STR #1908 add Fl_Widget* add_extra(Fl_Widget*) function to Fl_File_Chooser class
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-01 18:03:45 +00:00
Matthias Melcher
a19a1da794
Text_Display was using a wrong border margin STR 1909
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6118 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-24 09:10:22 +00:00
Matthias Melcher
5134c0988d
Fixed issues with Fl_Scroll inside and Fl_Scroll (STR #265 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-24 09:01:37 +00:00
Matthias Melcher
433dec6b92
Changed Makefile in src to use 1.3 instead of 1.1 (STR #1922 ). Fixed minor issue with handling of shortcuts in text input fields.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 20:08:39 +00:00
Matthias Melcher
b812f9701f
A few more chnaged to get Fl_Font as a new type going
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6114 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 19:32:47 +00:00
Matthias Melcher
7c8f5cc888
First attempt at consistently using Fl_Font as a type for the font index and Fl_Font_Size as a type to measure font height (or rather size).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 19:09:28 +00:00
Matthias Melcher
88c0d727aa
All widget coordinates are now 32 bit. Beware though, on a 16 bit graphics system, line drawing and window positioning is still messed up for coordinates beyond 16 bit. See STR #1929 .
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6112 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 15:07:13 +00:00
Matthias Melcher
8683ea2c81
Adding keyboard shortcut to Fl_Value_Input and Fl_Text_Editor
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6111 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 14:19:58 +00:00
Matthias Melcher
8198e51799
Added support for keyboard shortcuts to Fl_Input_ derived widgets (STR #1770 ). Code added for Fluid. Documentation updated.
...
This commit must be considered partial because there is no shortcut handling for Fl_Text_Display derived widgets or Fl_Value_Input which is derived form Fl_Valuator.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6109 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-22 23:33:17 +00:00
Matthias Melcher
6a143b1f61
Applying 1.1.9 changes to the 1.3 branch.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-22 18:11:51 +00:00
Matthias Melcher
232ef4e159
Updated 1.3 with changes from 1.1.9
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6099 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-12 19:16:19 +00:00
Matthias Melcher
c6ee3b1922
STR 1891: fixing fl_read_image for double buffered windows.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-03-09 17:58:10 +00:00
Matthias Melcher
8038713b19
Fixed library path in Makefile (STR #1885 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6057 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-27 15:00:31 +00:00
Matthias Melcher
a4c3c685dd
STR #1716 : Fixed image read for partial regions on X11
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6046 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-25 15:03:48 +00:00
Matthias Melcher
ac55d8490c
Fixed Tab key to wrap around menu bars (STR #1877 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6043 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-25 13:09:30 +00:00
Matthias Melcher
fc60a90a67
STR 1880: Fixed timer leak in Fl_Scrollbar
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6042 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-25 13:00:53 +00:00
Matthias Melcher
f33d7c846e
STR 1869: fixed race condition when an alert window pops up during menu handling.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 18:33:25 +00:00
Matthias Melcher
3e9fc08353
Fixed recursion crash in event handling (STR #1873
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 18:17:34 +00:00
Matthias Melcher
dc0ab1d06c
STR 1719: fixed inconsistencies with FL_WHEN_NOT_CHANGED
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 17:59:13 +00:00
Matthias Melcher
97c408f1d2
STR 1849: fixed messages sent to hidden windows
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 17:42:08 +00:00
Matthias Melcher
28c87ce84d
STR #1868 : fixed horizontal scrolbar in help view thanks to wavexx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 17:39:07 +00:00
Matthias Melcher
5d07b1a800
Fixed OS X pixmap offset bug (Thanks to D'Elia Yuri) STR 1856
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-14 18:17:06 +00:00
Matthias Melcher
923f9fe353
STR #1854 : fixed win32 issue with possible NULL pointer
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-10 21:53:34 +00:00
Matthias Melcher
17fec4d9a6
Added warning in inofficial Fl_Sys_Menubar.cxx about bundeling apps to make the menu bar work
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6016 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-09 21:32:40 +00:00
Matthias Melcher
5e3d4fc7db
STR #1853 : fixed potntial buffer overrun un Fl_Preferences
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-09 21:23:51 +00:00
Matthias Melcher
329f5de330
Fixed Fl_Text_Display redrawing for focus changes for primary selection and highlight
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6011 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-04 20:32:37 +00:00
Matthias Melcher
f0ccbbabd8
Fixed 16 bit PNM image support (STR #1847 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6006 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-20 16:32:56 +00:00
Matthias Melcher
5097f4df5b
Fixed exposure event on zero size windows (STR #1824 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6005 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-20 16:22:53 +00:00
Matthias Melcher
ffe3cb7bd5
STR #1729 : fixed ovelay offset for Quartz rendering
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6003 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-18 09:41:12 +00:00
Michael R Sweet
4b6535cd5b
Inset clipping rectangle using box types.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6002 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-16 23:34:06 +00:00
Michael R Sweet
3601f63659
Fix infinite loop bug...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6000 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-16 18:51:17 +00:00
Michael R Sweet
83a8cba9a7
Merge gl_font() changes for Xft+X11 (STR #1809 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 17:35:57 +00:00
Michael R Sweet
56cafe56c3
Fl_Gl_Window::mode() needed to hide and show the window when toggling stereo
...
mode (STR #1846 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 17:32:39 +00:00
Michael R Sweet
f525fc1160
Add set_visible() for GL windows on Mac OS X (STR #1707 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 17:29:32 +00:00
Michael R Sweet
681e6ae946
Add clip_children() method (STR #1844 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 16:42:00 +00:00
Michael R Sweet
fe1e8a37ee
Fl_Browser_ and friends now support FL_WHEN_ENTER_KEY for both Enter/Return
...
and double-clicks (STR #1818 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 16:20:16 +00:00
Michael R Sweet
a9ee420fbf
Fl_Help_View did not release the images it used (STR #1817 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 16:08:23 +00:00
Michael R Sweet
034a26be41
Update scrollbars when showing or hiding items (STR #1724 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-20 21:57:17 +00:00
Michael R Sweet
d76c1e8cd0
Remove unused variables.
...
Fix fltk-config --libs and fltk-config --ldstaticflags (STR #1799 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-20 21:15:08 +00:00
Michael R Sweet
ac3ab91ca2
Fix window hide bug on WIN32 (STR #1748 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-20 17:00:56 +00:00
Matthias Melcher
d2242d59ef
STR 1745: in fl_ask, if the rightmost button has a shortcut in its label, the default 'Escape' is overridden.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-19 16:21:19 +00:00
Matthias Melcher
2217ab964b
STR #1767 : Adding "remove" function for the Fl_Check_Browser
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-19 15:46:03 +00:00
Matthias Melcher
faf6126897
STR #1805 : removed hard-coded scroll bar widths.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-19 15:13:45 +00:00
Matthias Melcher
a965dff175
STR #1742 : Updated documentation to reflect the true nature of "selection()" and "value()" for Fl_Multi_Browser which can be quite surprisin for unsuspecting customers.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 18:39:23 +00:00
Matthias Melcher
25bae9b383
STR #1715 : Added empty "awake" function for non-threaded dll's
...
in Linux
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5950 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 10:44:28 +00:00
Matthias Melcher
c6e6092657
STR #1761 : fixed fl_filename_isdir for '/'-path in Unix
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5948 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 10:12:32 +00:00
Matthias Melcher
705780a301
Fixed Fl_Chart drawing (STR #1756 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5942 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-06 17:33:17 +00:00
Matthias Melcher
4261960ba4
STR #1714 : fixed bad deallocation (NULL pointer issue) in Fl_Preferences.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5917 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-20 13:07:23 +00:00
Matthias Melcher
413d9295ac
#1706 : on WIN32, the attempt to map a subwindow when the parent window was not mapped yet would result in the subwindow never being mapped. This change will defer mapping until the parent window is shown.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5914 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-18 13:08:57 +00:00
Matthias Melcher
933ce8bf07
Fixed wrong array size.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-18 13:03:39 +00:00
Matthias Melcher
18dbfc8a57
STR #1706 : mapping a subwindow with an unmapped parent window would crash under X11.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-18 08:43:37 +00:00
Matthias Melcher
38cc8c2f4d
Fixed rendering of grayscale images with alpha channel on unaccelerated machines. Thanks, Sanel (STR #1703 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-07 17:23:41 +00:00
Matthias Melcher
688c47020f
Typo HAVE_LONg_LONG instead of HAVE_LONG_LONG
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-21 15:56:17 +00:00
Michael R Sweet
d8c288df3e
Fix compiler warnings/errors.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 16:18:31 +00:00
Michael R Sweet
73d01dd659
Fix all compiler warnings from various build systems.
...
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
2007-05-20 00:01:06 +00:00
Matthias Melcher
04ced5396e
STR #1681 : On WIN32 WM_PAINT messages, FLTK would first render the damaged area and then set the area as valid again. While this is mostly fine on single CPU machines, multi-CPU machines may re-invalidate areas that are currently drawn, resulting in unrendered strips when another window was moved quickly across an FLTK window during its redraw phase.
...
The new implementation validates the damaged area as quickly as possible, allowing new damage requests to be handled correctly, even while we are still redrawing the same damaged area.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-16 12:47:49 +00:00
Matthias Melcher
849efb47ae
STR #1625 : yet another slight change in the "fl_contrast" cut-off value that hopefully now delivers best results for all color schemes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5835 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-16 11:46:07 +00:00
Matthias Melcher
cd0defc000
Removed warning about unused variable.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 15:51:00 +00:00
Matthias Melcher
08c5fb6ff4
- Fixed calculation of stride for image scaling and color manipulation (STR #1673 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 13:18:44 +00:00
Matthias Melcher
8f8882a084
Reverted my changes in the message dialog boxes. Reapplied the static size icon, fixing it to 50x50 pixels and avoiding the superlarge bang on long texts.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-09 12:42:39 +00:00
Matthias Melcher
01d6c3b3fc
STR #1670 : Fixed gcc warning in Mac source code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5803 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-06 15:54:07 +00:00
Matthias Melcher
b2ca1b9918
Fixed for Linux, based on my previous checkins
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5795 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-02 08:50:21 +00:00
Matthias Melcher
b4b6776d8f
Added static icon, text selection, and HTML formatting to fl_message etc. (STR #1626 )
...
Fixed selection of first word in Fl_Help_View
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 23:20:39 +00:00
Matthias Melcher
47e802218d
Fixed endless loop in Fl_Text_Display (STR #1655 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 21:09:39 +00:00
Matthias Melcher
488f27d1eb
STR #1652 : allowing shortcuts in tabs
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5791 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 20:20:21 +00:00
Matthias Melcher
18f2016b1f
Removed the Fl::set_awake_cb API and documented the Fl::awake(function, data) API.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5749 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-20 10:41:14 +00:00
Matthias Melcher
27568cfa1c
Better contrast ( #1625 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-20 09:52:51 +00:00
Matthias Melcher
cae6dd02b2
Fixed missing (and empty) unlock_ring and lock_ring for Unix builds without multithreading.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5747 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-20 09:42:36 +00:00
Matthias Melcher
4102380d65
Some improvements as discussed. Not a final feature! May be removed without notice!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5732 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06 19:48:45 +00:00
Matthias Melcher
c4ad147d5f
Fixed previous Fl::awake() commit for UNix and OS X.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06 19:21:41 +00:00
Matthias Melcher
11a15d83a2
This is a suggested change. It is complete except for documentation.
...
I did not like the awake_cb system at all. These changes implement Fl::awake(Fl_Awake_Handler, void*) which is called from a thread and tells the main loop to call the specified handler (rather a callback I guess) as soon as possible from within the main thread. It is implemented as Fifo (currently 1024 entry ring buffer), so handlers are called in the order that they are generated in.
"test/threads" was modified to change the label color as soon as a thread reaches 10000 - pretty boring, but it show the wonderful simplicity of this approach: you can write libraries that don't need to add to the main loop or register a handler at all... .
I will do some more stress testing tonight.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06 17:15:03 +00:00
Matthias Melcher
a1f5426a97
STR #1617 : fltkgl.vcproj in the vnet directory had missing closing brackets in the XML code. The question remains: who ate the slashes?
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5721 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-27 19:23:24 +00:00
Matthias Melcher
d18f2b26b5
Removed warning about unused variable.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5714 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-25 00:00:49 +00:00
Matthias Melcher
3be4efbd8a
First attempt at fixing all WIN32 scrolling issues. This code uses some (legal) trickery and should take multi-monitors and partially obscured windows into account. Albrecht, I do not have a multi-monitor setup. Please verify this fix on your machine. Thanks. (STR #1601 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-24 23:57:49 +00:00
Matthias Melcher
c47b4c91ae
Avoiding to wait forever under Cygwin. (STR #1608 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-23 19:27:43 +00:00
Matthias Melcher
7696c64a46
Setting pointers in Fl_Preferences-destructor to zero. This should not be needed, but may help Cygwin figure it out correctly. I re-tested in Valgrind, and no members of deleted groups are ever accessed, just as I said. There is a slight p[ossibility of such false access if a C++ compiler does not conform to the standard and calls destructors in the fasle order.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5710 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-23 15:37:53 +00:00
Matthias Melcher
e954c5d433
Fixed file chooser to behave transparently to the current group setting
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5704 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-21 20:23:03 +00:00
Matthias Melcher
d1f1f1f26f
Flushing file chooser preferences after every change to avoid data loss due to application crash
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-21 20:08:07 +00:00
Michael R Sweet
00c66abc0e
Update copyright years and use "#ifndef" instead of "#if !defined".
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-20 18:43:10 +00:00
Matthias Melcher
8ea59b412e
Fixed Watcom compiler setup without verification using a patch by mnieuw
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-20 17:02:41 +00:00
Matthias Melcher
658162c509
Fixed WIN32 version of prevois change (undefined variable)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-13 14:38:43 +00:00
Matthias Melcher
1b6f493c55
Updated 'hotspot' positioning of windows in OS X and WIN32 to keep the hotspotted window entirely on the screen that contaings the mouse pointer (STR #1599 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5696 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-13 14:36:08 +00:00
Matthias Melcher
474fa58939
Fixed clipping in OS X Quartz offscreen buffers (STR #1595 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-12 16:41:41 +00:00
Michael R Sweet
1dd28f6e4b
Update dependencies.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-10 14:31:12 +00:00
Michael R Sweet
72ca38cdd9
Fix WIN32 builds.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5686 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-09 21:57:06 +00:00
Michael R Sweet
3439748eaf
Don't depend on having RTLD_DEFAULT defined
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-09 16:21:55 +00:00
Michael R Sweet
6e9a163035
Add handler for thread messages (STR #1536 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5683 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 23:04:20 +00:00
Michael R Sweet
057e542c39
More Cygwin DLL fixes (STR #1585 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 21:22:32 +00:00
Michael R Sweet
1b7589dace
Fix flickering of Fl_Help_View - turns out we were drawing to the
...
window every time we checked for extension of the selection. The
new code draws to a 1x1 off-screen buffer, which eliminates the
flickering and runs much faster!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5681 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 21:18:50 +00:00
Michael R Sweet
3d11948876
Try a slightly different Xdbe implementation that copies instead of swaps.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5679 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 20:50:01 +00:00
Michael R Sweet
e173e7bec0
Add header check for dlfcn.h.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 20:14:30 +00:00
Michael R Sweet
4d6faca615
Add support for glutGetProcAddress() on Mac OS X and other platforms
...
via dlsym() (STR #1582 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5673 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 15:44:28 +00:00
Michael R Sweet
a72fa970a7
Fix text alignment (STR #1589 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 12:58:32 +00:00
Matthias Melcher
624e885b24
STR #1584 : even smarter mouse pointer hiding. I also fixed two little historic bugs in "ask" (double adding a widget, and not using "label.obj()" instead of "copy_label()" for non-static buffer. Lastly, I changed "boxtype" to use a Double_Window because it has become so big now that it started flickering.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5671 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 07:58:47 +00:00
Michael R Sweet
44fab0180e
Fix hoving over links (STR #1588 )
...
Use blue as the default link color, not magenta.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5669 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 01:28:50 +00:00
Michael R Sweet
07fd0cc413
Fix default link color.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-07 03:50:24 +00:00
Michael R Sweet
44b2ff35cf
Use install command instead of CHMOD, CP, and MKDIR.
...
Drop all POSTBUILD stuff as it is no longer used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 19:35:28 +00:00
Michael R Sweet
1c61b1297d
Fix glXGetProcAddressARB() usage and support for POSIX threads on HP-UX 11.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-05 03:20:30 +00:00
Michael R Sweet
502f83219d
Fix DLL generation via MingW/Cygwin (STR #1546 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 20:23:31 +00:00
Michael R Sweet
a4814c41c3
Fix scheme background image bug on X11.
...
Drop changelog for hidden mouse pointer problems since that change was
not made until after 1.1.7 was released (CHANGES only shows changes/fixes
to the previous release...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 19:37:30 +00:00
Matthias Melcher
2368590ecd
Fixed first window behavior in OS X (STR #1548 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5656 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 16:10:19 +00:00
Matthias Melcher
c005f9956f
Added glut files to vc2005 solution.
...
Fixed popup menus that would not stay popped up when clicke once and the first item was disabled.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 15:14:42 +00:00
Matthias Melcher
3df9bdf5c5
Avoiding a hidden mouse pointer after a window is hidden
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 13:52:37 +00:00
Michael R Sweet
6bc5329935
Don't use ARB function unless available (still need to do the autoconf
...
test...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-01 21:52:11 +00:00
Michael R Sweet
85c2e38825
Update documentation and move glutDeviceGet() into code so we can return
...
the correct value for GLUT_NUM_MOUSE_BUTTONS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-01 21:11:20 +00:00
Matthias Melcher
eef6353369
Fixed calculation of character widths for OS X Quartz rendering. Fixed OS X mouse click handling (STR #1504 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-01 20:13:57 +00:00
Michael R Sweet
bda374b386
Add GLUT support functions from FreeGLUT (STR #1522 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5650 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-01 18:10:07 +00:00
Michael R Sweet
56eb04fc67
Incorporate run-time check and initialization of recursive mutexes.
...
This adds support for system-supplied recursive mutexes on OS's other
than Linux (not all define the _NP static initializer) while making
sure that the mutex we do use works as we expect (STR #1575 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-29 17:15:41 +00:00
Michael R Sweet
b7be6fb47e
Drop recursive mutex code since the running kernel may not support it
...
(STR #1575 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 20:26:50 +00:00
Michael R Sweet
2fcd3610d5
Fl::awake() could block on X11 and OSX (STR #1537 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 20:03:31 +00:00
Michael R Sweet
ae8675a45f
Fix order of idle/check processing compared to events (STR #1535 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 19:48:31 +00:00
Michael R Sweet
48a997d0ad
Hide window before doing callback for OK button (STR #1565 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 19:41:56 +00:00
Michael R Sweet
84fe87f472
Fix indentation of elements (STR #1549 )
...
Update layout of help dialog to look like other help dialogs.
Drop resource fork stuff from fltk-config (no more --post, it is a no-op)
Use a single table for the header on the documentation page.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 19:36:51 +00:00
Matthias Melcher
4980b42829
Improved GTK+ schemed round box (STR #1531 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-25 15:41:13 +00:00
Matthias Melcher
e36d3a07ce
- Fluid avoids writing unsopported combinations of the
...
"when()" flags (STR #1501 )
- Fl_Browser_ would allow keyboard callbacks even though
"when()" was set to "never" (STR #1501 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-24 20:32:54 +00:00
Matthias Melcher
ecdd893933
- Added automated little helpers to Sudoku
...
(Menu Difficulty->add helpers)
- Added example code for Wizard with the
Tabs demo (STR #1564 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-24 12:03:36 +00:00
Michael R Sweet
f8d84949c4
Refine the weak-binding solution...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23 21:48:17 +00:00
Michael R Sweet
28b3753946
Don't need path_find() on Mac OS X...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23 20:45:28 +00:00
Michael R Sweet
c8f1e91448
Rename fl_filename_isdir_quick to _fl_filename_isdir_quick, do not
...
export it, and add comments to indicate that it is a private API we
do not support outside of FLTK.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23 15:02:00 +00:00
Matthias Melcher
7401cf37bf
Hopefully some improvement to the 'bring to the foreground'-hack. Please folks, test this on every available platform!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5634 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23 10:27:44 +00:00
Matthias Melcher
930d62b9f6
Fixed comment on trailing slashes
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-22 11:18:30 +00:00
Matthias Melcher
e4586d1572
Removed 'optimization' for fl_filename_isdir which would break the original purpose of the fuction (testing the *existence* of a directory). But I did not want to lose the performance in the directory chooser where I *know* that a directory exists, just not if it is a file or directory, so I added the function fl_filename_isdir_quick() to do just that. Please verify that the new version works as expected, especially with regard to the directory chooser.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-22 11:14:29 +00:00
Matthias Melcher
9e79fd13d2
I changed the Fl_Tabs drawing routine to only redraw the tabs themsleves on a PUSH event, instead of the whole current group. This also allows for a visual feedback from the clicked tab. (str #1520 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-21 15:54:53 +00:00
Matthias Melcher
30be5f711b
Added code to support OS X weak'n;lazy linking.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-21 14:57:42 +00:00
Matthias Melcher
e9e0826d10
Made resource fork on OS X obsolete. We still do add it just in case, but should the data be lost during a copy process through a different file system, the app will still put itself in the foreground if using a GUI (STR #1453 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5627 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-20 15:28:11 +00:00
Matthias Melcher
4ee2c1fafa
Somewhat improved the system menu bar for OS X (STR #1505 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 19:20:13 +00:00
Matthias Melcher
fbd01308b9
Fixed Quartz image drawing and screen reading
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 15:25:09 +00:00
Matthias Melcher
32a8df787c
overlay drawing is now avoiding XOR mode (STR #1438 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 12:59:37 +00:00
Matthias Melcher
5411396ea6
Fixed mousewheel event propagation (STR #1521 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 10:40:37 +00:00
Matthias Melcher
bc842ea528
Fixed drawing issues of a tile in a scroll (STR #1507 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5606 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 10:01:24 +00:00
Matthias Melcher
5f0156cd02
Fixed dismissing buttons in menu bars (STR #1494 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5605 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 09:30:04 +00:00
Michael R Sweet
08216b4fac
Fix fl_open_uri() on WIN32
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5596 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-10 21:11:34 +00:00
Michael R Sweet
5456a2b8fc
Add fl_open_uri() function as discussed on fltk.development.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-04 14:53:54 +00:00
Matthias Melcher
230a2a4332
Added a fe comments to explain multi-monitor support on Win32 better.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5574 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-01 18:29:20 +00:00
Matthias Melcher
2c16ddb964
Fixed silly bug in OS X that would free a pixmap multiple times within Fl_RGB_Image::unchache.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-12-21 22:39:11 +00:00
Michael R Sweet
1c47b9826d
Fix fl_measure with symbols.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-12-21 19:39:26 +00:00
Matthias Melcher
baed853fe3
STR #1542 : implemented the prototyped Fl::has_check() function
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-12-20 20:29:08 +00:00
Matthias Melcher
e8550d89b3
Enabled 'add_check()' on OS X (STR #1534 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-12-20 20:13:22 +00:00
Matthias Melcher
67f87f0285
STR #1463 , STR #449 : Better event mouse handling fixing detached menus and sticky tooltips.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-19 21:04:11 +00:00
Michael R Sweet
8ea3a45772
Merge all of the scrollbar sizes into a single API call
...
(Fl::scrollbar_size()) rather than a bunch of separate APIs and
hardcoded values (STR #1800 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-16 23:17:13 +00:00
Michael R Sweet
839ac66401
Fix text alignment - wasn't resetting the default alignment after
...
closing a table cell...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-15 04:29:45 +00:00
Michael R Sweet
0789a8a18e
Fix endian problem with fl_read_image() and QuickDraw on Intel-based Macs.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-15 01:52:20 +00:00
Michael R Sweet
b6a66645e0
Reject invalid workarea rectangle.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-15 00:44:13 +00:00
Matthias Melcher
725efb3569
STR #1492 : Fl_Progress was using the wrong width to calculate progress
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-12 20:44:12 +00:00
Michael R Sweet
095ed29a7f
Add NULL check for _NET_WORKAREA property value.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-01 15:30:11 +00:00
Michael R Sweet
3ebd631cf0
Fl::x(), Fl::y(), Fl::w(), and Fl::h() did not report the desktop
...
work area on X11 (STR #1482 )
Fix another "missing sentinel" warning in the Xft code.
FL/Fl.H:
- Remove in-line x() and y() implementation for X11.
src/Fl_x.cxx:
- Fl::x(), Fl::y(): Added.
- fl_init_workarea(): Added to get _NET_WORKAREA property from the
root window; if none, is available, the code falls back to 0, 0,
DisplayWidth, and DisplayHeight.
src/fl_font_xft.cxx:
- Missing sentinel needs cast to void *.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5535 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-30 14:16:08 +00:00
Michael R Sweet
117e22670d
Another try at the shortcut fix...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5534 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-29 17:11:10 +00:00
Michael R Sweet
39cb1f8daf
Fix two "hide the cursor" bugs related to click-to-focus windows (STR #1475 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5532 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-29 13:43:31 +00:00
Michael R Sweet
7fffbf7dea
Shortcut events could be sent to the wrong window (STR #1451 )
...
src/Fl.cxx:
- Fl::event_inside(): Only return true for widgets if the
first_window() (focused window) is the same as the widget's
window.
- Fl::handle(): Send shortcuts to the first window (that has
focus) before all others.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-29 13:22:28 +00:00
Michael R Sweet
c0664eefcd
Fl_File_Browser did not calculate the width of directory items
...
correctly (STR #1470 )
src/Fl_File_Browser.cxx:
- Fl_File_Browser::item_width(): Use a bold font for directory
items.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-29 12:13:56 +00:00
Michael R Sweet
cec43a6cb1
Don't start widgets offset by 1/2 the spacing value.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-20 01:07:16 +00:00
Michael R Sweet
2d2b24b781
Fix dead pixel in FL_GTK_UP_BOX/FRAME (STR #1471 )
...
Use FL_COMMAND modifier in FLUID menus (CTRL for non-OSX, CMD for OSX)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-14 04:35:24 +00:00
Michael R Sweet
367c40a9b7
fl_arc() and fl_pie() did not draw properly on WIN32 when the
...
start and end points were identical (STR #1461 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5518 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-11 01:23:52 +00:00
Michael R Sweet
09a1c11ac1
Fl_Input and Fl_Text_Editor now hide the mouse pointer when
...
typing into them (STR #1466 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-11 01:01:02 +00:00
Michael R Sweet
b82b4c4445
Use standard link color as the default, not FL_SELECTION_COLOR.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5512 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-07 14:29:15 +00:00
Michael R Sweet
e8aac38a70
Look for Text.selectBackground instead of fltk.selectBackground to
...
get the selection color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5508 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-04 12:48:18 +00:00
Michael R Sweet
228af43a56
Tweak GTK+ thin up/down boxes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5507 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-04 02:32:42 +00:00
Michael R Sweet
3c03eb67a0
More cleanup of GTK+ scheme - menu buttons now use the new look-n-feel,
...
and I also fixed the radio button offset for the plastic scheme.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5506 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-03 23:08:49 +00:00
Michael R Sweet
7febae3f9e
Add GTK thin up/down box/frame types.
...
Update the GTK round up/down box types.
Update radio/check box drawing for gtk+ scheme.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-03 02:35:12 +00:00
Michael R Sweet
ad4a4ea0db
Fix "missing sentinal" warning from GCC 4 - basically this means we used
...
"0" instead of "(void *)0" in a variable-argument function, which will not
work on 64-bit systems where int is 32-bits.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-03 00:51:35 +00:00
Michael R Sweet
4d0529a276
Fix new alpha blending code to use the source image width instead of
...
the destination width when computing the start pointer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5503 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-02 17:20:56 +00:00
Michael R Sweet
849ecabf53
Fix light button drawing so that the glowing LED mode is only used when
...
Fl::scheme() is "plastic".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-02 14:29:43 +00:00
Matthias Melcher
cc1ab1a315
STR #1447 : Fixed CMake files to include new GTK+ scheme
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-26 18:05:10 +00:00
Michael R Sweet
faddffcf18
src/Fl_Button.cxx:
...
- Fl_Button::draw(): Only use fl_contrast() on the label
color when value() is non-zero.
src/fl_color.cxx:
- fl_contrast(): Require at least 1/3 (85) instead of 1/2
(127) for contrast against the background.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5489 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-25 16:36:52 +00:00
Michael R Sweet
ad40154ca3
Adapt Sadysta's alpha compositing code for current implementation of
...
Fl_RGB_Image. We now provide (unaccellerated) alpha compositing of
RGBA and Grayscale-Alpha images (d() == 4 and d() == 2) on X11 and
QuickDraw...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5486 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-24 19:05:38 +00:00
Michael R Sweet
b91935040a
Flip the color of Fl_Choice to FL_BACKGROUND2_COLOR when there is no
...
scheme so the menu uses the same color as the background.
Add -Dname[=value] documentation to fltk-config man page.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-24 13:35:23 +00:00
Michael R Sweet
a4c2cbd49a
Tweak gtk+ drawing of Fl_Choice.
...
Add support for "-Dname" option in fltk-config.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5484 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-24 04:39:55 +00:00
Michael R Sweet
9663eaa1c4
Use FL_BACKGROUND2_COLOR for the standard Fl_Choice background instead of
...
fl_lighter(color()), so that the previous look-n-feel is preserved.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-23 22:52:07 +00:00
Michael R Sweet
b04788a189
Check buttons did not redraw properly with box() set to FL_NO_BOX
...
(STR #1440 )
src/Fl_Button.cxx:
- Fl_Button::value(): Use redraw_label() if box() is not set.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5482 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-23 15:28:09 +00:00
Michael R Sweet
f0180536b3
Use "1" as the count for the targets query instead of sizeof(Atom).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5478 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-21 12:26:45 +00:00
Michael R Sweet
1d23087fc9
Fix inactive drawing of the new GTK+ box types.
...
Fix inactive drawing of Fl_Clock and Fl_Dial widgets.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-20 03:03:14 +00:00
Michael R Sweet
b4c1d3ef03
Implement new "gtk+" scheme which provides a Bluecurve look-n-feel.
...
Fix size and position of dialog controls in FLUID to match the HIG.
Add "GTK+" scheme to the list of selectable schemes in FLUID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5438 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17 14:58:25 +00:00
Matthias Melcher
d63cf6e315
Much improved sensing if a machine will do Alpha blending. This may actually be the solution. If Alpha blending is not supported, we fall back to the old screen door transparency.
...
This does not take into account a multiple screen setup with different screen depths, but I assume that this is a rare enough constellation and would cause many other problems on top of this minor issue. As a fallback, we will *always* render the image, but worst case without any alpha channel.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17 12:49:19 +00:00
Matthias Melcher
b39938e5cc
OK, I believe I fixed the transparency issues on WIN32. Please everyone, test the code on all machines.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5436 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-16 16:02:00 +00:00
Matthias Melcher
8238e05727
Found bug in Alpha Blending code when using double buffered windiws. Disabeling code until I find the fix.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5435 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-16 14:25:48 +00:00
Matthias Melcher
c6de2dd3ef
Implemented alpha blending for WIN32. I believe that I did it in a way that is compatible even with Windows 95, but please let me know if you have any concerns. Cygwin not tested, but hopefully OK.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5430 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-15 15:35:16 +00:00
Matthias Melcher
ff94d41c51
In Fl_Text_Display, all unused keyboard events are sent to the scrollbars, so that the user can scroll through text using the usual navigation keys (left, right, up, down, page up, page down)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-15 08:24:34 +00:00
Matthias Melcher
27217f9a74
Fixed Fl_RGB_Image::copy. My previous fix had the meaning of ld() wrong.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5427 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-13 22:55:55 +00:00
Matthias Melcher
44264e3c4e
Additional fix for STR #1415 for Xft font selection.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-06 20:16:03 +00:00
Matthias Melcher
8c94b01142
Added code to clear the current font cache when the font face is changed. Now for OS X and X11 as well.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-05 11:26:41 +00:00
Matthias Melcher
caa6fd1ff2
Fixed font caching issue from STR 1415
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-05 11:16:15 +00:00
Matthias Melcher
bfe61f036a
STR #1410 : fl_file_chooser could crash after a previously canceled dialog
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-05 09:57:41 +00:00
Matthias Melcher
84360f49f2
STR 1412: fixed RGB image block copy for ld() values != 0
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5411 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-04 19:24:51 +00:00
Matthias Melcher
82fe05afd1
STR #1411 : fixed latin-to-macRoman text conversion
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5408 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-04 18:46:28 +00:00
Matthias Melcher
46a890cad3
Fixed typo in 'desktop-osx' install. Commented out unused variable.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5384 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-30 10:01:35 +00:00