Commit Graph

6575 Commits

Author SHA1 Message Date
Albrecht Schlosser
f2ff3eb0e0 Fix more Windows 64-bit g++ compiler warnings.
Fixed warnings:

  42 cast to pointer from integer of different size [-Wint-to-pointer-cast]


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-29 10:51:00 +00:00
Albrecht Schlosser
a51a940890 Fix compiler warnings (gcc 6.1).
Some of these warnings were benign (code formatting), but one of them
showed a potential bug (zero divide in test/fraciewer.cxx).

Fixed warnings:

 2 suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
 1 this 'while' clause does not guard... [-Wmisleading-indentation]
 1 this 'for' clause does not guard... [-Wmisleading-indentation]
 1 this 'else' clause does not guard... [-Wmisleading-indentation]


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-29 09:23:44 +00:00
Albrecht Schlosser
9721373219 Doc changes: set fl_font before fl_measure() (STR #3243)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-24 08:53:08 +00:00
Greg Ercolano
60ac8a8eba Fixes STR #3270; when an image is used as a link,
this mod synchronizes the link's hot spot with the image.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-23 04:25:40 +00:00
Greg Ercolano
f22cd53795 Fixes to fl_choice() docs, added screenshots.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-22 02:05:44 +00:00
Greg Ercolano
2bb2192dd3 Solves STR#3294; added methods to let user set the userdeicon,
and removed the performance degrading automatic deicon creation.




git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11840 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-21 00:35:06 +00:00
Greg Ercolano
d8676e6f4c More properties.. :/
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11838 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 18:38:32 +00:00
Greg Ercolano
d5a64877cf Property mods for new external code editor files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11837 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 18:34:13 +00:00
Greg Ercolano
a8e65c0a45 Improved fluid-org.png diagram.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11835 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 18:02:52 +00:00
Greg Ercolano
09158e192a Added updated settings dialog screenshots to the fluid docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 15:32:10 +00:00
Greg Ercolano
91cd90be3b Updating CHANGES file for fluid external editor support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-20 13:22:18 +00:00
Greg Ercolano
bf8c44098e These files weren't added in r11816, adding now..
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11817 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-18 14:23:50 +00:00
Greg Ercolano
0d189a0814 Adds external editor capability to fluid for all platforms.
Solves STR#3213. [CORRECTED]



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11816 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-17 19:51:54 +00:00
Albrecht Schlosser
fa2bb6514b Improve drawing of rounded box (STR #2943).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11814 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-15 22:10:23 +00:00
Albrecht Schlosser
97bb88960e Fix unnecessary case-sensitive comparison (STR #2899).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11813 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-15 20:01:08 +00:00
Albrecht Schlosser
6e503e90a0 Allow widget callback to be NULL (STR #2835).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-15 19:23:16 +00:00
Albrecht Schlosser
f40cb28308 Fix uninitialized variable warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11810 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-15 10:24:35 +00:00
Greg Ercolano
1c761bedc3 Solves STR# 3305 as ABI feature 1.3.4.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-14 18:48:43 +00:00
Greg Ercolano
7d3218f7ea Fix problem w/unittest's schemes -> tab3 text editors
not showing up correctly.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-14 18:12:46 +00:00
Greg Ercolano
e45dfc2b20 Small code simplification as suggested in comment #15 of STR#2828
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-14 01:12:21 +00:00
Greg Ercolano
5a340a2e5e Solves STR#3306.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-13 23:19:12 +00:00
Albrecht Schlosser
f41ef4e158 Clarification and better documentation of ABI version configuration.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11803 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-09 18:43:31 +00:00
Albrecht Schlosser
189591d4b6 Documentation fixes and clarifications.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11801 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-09 17:06:46 +00:00
Greg Ercolano
a0086f7075 Document savefile() return value, see also references to/from outputfile()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-25 00:54:24 +00:00
Greg Ercolano
e964f33514 Small doc improvements/elaborations.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11798 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-23 20:17:11 +00:00
Manolo Gouy
abb580f294 Add dots-per-inch info to the screen data displayed by the fullscreen demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 08:46:02 +00:00
Greg Ercolano
88105f2d72 Brought in Manolo's doc mods (r11785).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11795 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 07:49:34 +00:00
Greg Ercolano
e756dd8dab Changed Fl_Sys_Menu_Bar::update() from protected -> public
as per STR #3317 and manolo's commit #11785 to branch-1.3-porting/



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 07:43:16 +00:00
Manolo Gouy
1680285406 Output the value of Fl_Gl_Window::pixels_per_unit() as a float.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11791 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 07:18:30 +00:00
Manolo Gouy
dcf8bc2afa Fix for STR#3316: use same value for the size argument of glGenLists() and glDeleteLists()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11789 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 06:55:40 +00:00
Manolo Gouy
1919691343 Use Xrandr to get the true DPI of the display under the X11 platform.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 05:58:30 +00:00
Manolo Gouy
6b95819984 Make Fl_Gl_Window::pixels_per_unit() return a float (rather than int) value.
This is compatible with future scaling factors applicable to the GUI.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-22 05:44:14 +00:00
Greg Ercolano
e09806d249 Some small Fl_Sys_Menu_Bar related doc mods as per STR#3317.
WIP -- more to come; just checking in what I have for now..

	1) rank -> index
	2) Added docs for index \return values for some methods 
	3) Some clarification in the internal docs about rank vs. index
	4) Enabled Fl_Menu_Item's enum flags to be able to be links (added @file
	   to Fl_Menu_Item.H) so references to e.g. "::FL_MENU_TOGGLE" will show
	   up as links in doxygen docs.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-18 00:32:18 +00:00
Albrecht Schlosser
879d03fab4 [CMake] Improve sound support detection.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11780 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-14 10:57:56 +00:00
Manolo Gouy
c4d004d5b3 THE best way to test for availability of dlsym().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11778 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-14 05:17:00 +00:00
Albrecht Schlosser
8d67e81b7d [CMake] Add missing end of file comment.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11776 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-13 22:29:17 +00:00
Albrecht Schlosser
ccd5f72035 [CMake] Fix restoration of CMAKE_REQUIRED_LIBRARIES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11775 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-13 22:14:31 +00:00
Manolo Gouy
e2b6f1c7ec Fix cases where function dlsym() is not in library libdl
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-13 12:23:22 +00:00
Manolo Gouy
da46b5caa3 Fix positionning of text after <HR> directive (partial fix of STR #3227).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11768 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-03 11:40:26 +00:00
Greg Ercolano
3420a418c0 Doc fix: fixes STR#3312.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-03 05:13:44 +00:00
Albrecht Schlosser
2058a25373 Hopefully final fix of HTML entity handling
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11763 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-31 11:31:58 +00:00
Manolo Gouy
d850775282 Proper handling of html entities (&name;) in text selections of Fl_Help_View widget.
This commit reproduces the same changes in the fltk-1.3-porting branch.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-31 09:12:40 +00:00
Greg Ercolano
6b288980cb Fl_Text_Editor documentation mods for kf_xxx functions.
(Discussion on fltk.coredev May 29 - 30th 2016)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-30 22:01:06 +00:00
Greg Ercolano
b37803b0ad Added references to the virtual colormap.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11758 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-28 15:50:17 +00:00
Greg Ercolano
8a68fd1de8 Doc mod to refer to fltk color chip table.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11757 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-28 15:39:05 +00:00
Greg Ercolano
92aa25597d Small doxygen doc fix for scrollbar_width().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11756 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-26 16:39:09 +00:00
Albrecht Schlosser
f47e381838 Generate Doxygen docs with the highest possible ABI version.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11754 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-25 15:55:03 +00:00
Albrecht Schlosser
f9b235212d remove duplicate '&dagger;'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11752 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-23 10:48:06 +00:00
Albrecht Schlosser
556727f026 Add another special test case "&dagger;" for Fl_Help_View.
Note: &dagger; = &#x2020 = U+2020, i.e. 0x2020 & 255 = 0x20 = ' ' (space).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11751 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-23 10:45:16 +00:00
Albrecht Schlosser
1127234621 Fix compiler warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11749 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-22 13:43:12 +00:00