Minor code changes (e.g. renaming of variables) included, but no functional
changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12002 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Probably more needs to be done (see STR), but at least solves the
immediate issues.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12000 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
A few more indenting and whitespace fixes:
- remove trailing spaces and tabs
- use a combination of tabs and spaces for indenting.
Note: most parts of configure.ac used tabs+spaces, but there were some
parts not consistent with this. Now tabs+spaces indenting is used
everywhere. This commit does not change functionality.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
autoconf --warnings=all displayed a long list of warnings about deprecated
macros and suggested to use autoupdate to fix these warnings.
This commit fixes all these warnings and replaces some more macros with
more modern ones while still maintaining compatibility with autoconf 2.50.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit and the following commits marked "Configure #x:" will
update the autoconf/configure system to a more future-proof state
while maintaining compatibility with autoconf 2.50:
- rename configure.in to configure.ac (this commit)
- replace deprecated configure macros with recommended ones
- simplify some configure macros (e.g. CHECK_HEADERS instead of CHECH_HEADER)
- improve indenting (clarify macro arguments)
- better (combined) header and library checks
- and some more small changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
The warning is issued to stderr only once (previously: every time rotated
text was used).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11977 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
Fix compilation error under Windows with MS compiler (Visual Studio) only.
Also fix layout and resizing behavior.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11940 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Note to devs: this was already fixed in branch-1.3-porting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11914 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Also, document what is the value of alloc_array after construction of an Fl_RGB_Image object.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11896 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fl_Paged_Device::draw_decorated_window() is also repaired.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11894 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This function sets the screen dimensions and tries to use Xrandr,
Xinerama, and basic X11 functions (in this order) to get the screen
sizes and resolutions (dpi).
This commit simplifies conditional compilation and fixes "unused variable"
compiler warnings under certain conditions as mentioned by Greg in
fltk.general, thread "Can not change font size in Kubuntu 16.04" on
Mon, 15 Aug 2016 00:25:32 -0700.
Also merged back small improvements of branch-1.3-porting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11889 ea41ed52-d2ee-0310-a9c1-e6b18d33e121