Some border lines were too short or too long, the shading code would draw
too many shaded lines, and the code was hard to understand.
With this commit all background pixels of the box are drawn exactly once.
The border lines are consistent, but some pixels of the border are not
drawn at all so the background shines through. This is intended for
backwards compatibility.
A minor change is that the drawn background does no longer overlap the
border lines. Hence undrawn pixels that previously displayed the colored
box background are now transparent and show the parent widget's color.
This commit adds comments and implementation notes to make the code easier
to understand and better maintainable (hopefully).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12778 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
See fltk.general "Fl_Text_Buffer constructor bug" on Dec 5, 2016.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Add proper quoting to build properly if the FLTK source directory
is located in a path that contains spaces.
Note: this is a source tar file update that is only necessary if you
build one of the above mentioned Visual Studio IDE solutions in a path
with spaces. Nothing else changed, no documentation updates.
See also important notes below.
------------------------------------------------------------------------
Note to svn (subversion) users: This branch (branch-1.3) is finished
since the release of FLTK 1.3.4.
Only very serious bug fixes will be available in FLTK 1.3 if FLTK 1.4
is not yet released or not (yet) stable.
The new development branch is now branch-1.4 -- please checkout a new,
clean svn working copy if you want to get branch-1.4.
------------------------------------------------------------------------
Note to Git users: FLTK's svn branch-1.3 has been the 'master' branch
in our Git repository, but this branch is finished since the release
of FLTK 1.3.4.
Only very serious bug fixes will be available in the new Git 'branch-1.3'
(this branch) if FLTK 1.4 is not yet released or not (yet) stable.
The new development branch is now branch-1.4 -- please checkout
branch-1.4 if you want to get the current FLTK 1.4 development branch.
The Git 'master' branch will stay as-is for some time, but in the
near future branch-1.4 will likely become the new 'master' branch.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12110 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
KNOWN_BUGS.html is a snapshot of the current roadmap, i.e. the list of
current STR's and RFE's (feature requests).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Note: this commit *is* included in fltk-1.3.4-rc2 although it was committed
after the release.
I forgot to commit it, but since it was modified in my working copy
it was included in the RC.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12054 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Documentation has been fixed and clarified, and ld() handling is now
consistent in Fl_(RGB_)Image, their subclasses and fl_draw_image()
and similar functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Rewrite library and header configuration so HAVE_something is only set
in config.h if both library and header files are found.
Fix and enhance summary output to display _found_ options instead of
_requested_ options (e.g. don't show Xft if Xft was requested but not found).
Configure is aborted if Xft is requested explicitly but not found.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Also: more consistent use of 'const int nc = children()'. Added 'const'
qualifier for clarity only. This does not change the behavior.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11969 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This is now documented as legal to reset a window icon.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This version works much better than the previous one:
- fixed buffer overflow ("stack corruption")
- fixed potential long text truncation
- fixed tab formatting at line start or any offset divisible by 8
- better handling of HTML entities (aka quoted characters)
- code simplifications, e.g. HV_Edit_Buffer::cmp() + width()
Todo:
- improve and standardize handling of HTML entities
- more tests
Missing features and known bugs:
- strike out text (not implemented)
- table and horizontal line formatting issues (STR #3227)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11745 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Setting a different text size didn't affect the scrollbars.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11453 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit fixes a regression in FLTK 1.3.x, where negative values
of 'd' (pixel delta) and 'ld' (line delta) didn't work anymore under
Unix/Linux (X11) and Windows.
With this commit the regression is fixed on all supported platforms.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Platform headers should not be #include'd in public FLTK header files,
so that user space is not polluted by platform specific definitions.
This commit fixes FL/fl_utf8.h to #include X11 headers only if compiled
in the FLTK library.
Todo (FLTK 1.4): Remove more unnecessary (unwanted) system header #include
statements from FL/x.H and other public header files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Visible only with FLTK_ABI_VERSION >= 10303, since FLTK 1.3.3.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11134 ea41ed52-d2ee-0310-a9c1-e6b18d33e121