| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
By defining boxtypes with underscores, box
drawing cod ethat was not used was not linked,
but with the introduction of themes, all boxes
are available at all times. Reducing complexity.
|
|
|
|
The biggest changes are in src/Fl_Scroll.cxx where most of the changes
are caused only by formatting (alignment). The behavior is the same
for all boxtypes that had been covered by the old switch/case code
and should be improved for other FL_*_FRAME boxtypes that had been
ignored.
|
|
This is a first step to fix some background (re-)drawing issues in
widgets. A new bit in the array of boxtypes can be used to determine
if a particular boxtype uses a solid background (e.g. all FL_*_BOX
types) or if the parent widget is responsible for drawing it (FL_NO_BOX
and all FL_*_FRAME) types, and maybe more ...
The old struct member `set` in the struct of boxtypes has been
renamed to `flags` and is now used as a bit field.
Except these changes, this first commit fixes the focus box drawing
of specific boxtypes, as seen in unittest_schemes.cxx in the
Fl_Check_Button with label "Check", and very likely more.
|
|
|
|
|
|
|
|
|
|
For events, fonts, and callback reasons
|
|
- replace FL_OVERRIDE and NULL with 'override' and 'nullptr', resp.
- remove useless global variable (declare it locally in main)
- standardize callbacks using standard callback signatures
- rename some callbacks with more appropriate names
- fix layout of image display and image size info
- improve alignment of text display
- set window size_range (minimal window size)
|
|
|
|
|
|
|
|
|
|
|
|
\see Fl::timeout_list();
|
|
|
|
|
|
Works for all slider types.
Adds tick marks to "nice slider".
Defaults to linear if min or max is zero.
There is room for improvement for drawing the tick marks.
|
|
There seem to be some lazy people who prefer copying
and pasting a bunch of lines over entering every resource manually... .
|
|
|
|
Refactoring long methods into smaller parts
that are easier to understand.
|
|
Better variable names,
More descriptive integer types.
|
|
- Apple Clang 17.0.0.
- png, z, jpeg lib integer cast warnings remain
- FLTK callback function cast warnings remain.
|
|
|
|
Reorder declarations and implementations.
Rename to current FLTK standards, reformat.
|
|
Made global variables private.
|
|
Documented every function and variable in Fl_Menu.cxx.
|
|
|
|
A menu item can be designated as a headline.
Fully integrated and used in Fluid.
|
|
Undiscovered for 10 years, this crude vector font generator
snuck into the font test ten years ago through a careless
commit by yours truly. It's time to go now.
|
|
|
|
|
|
|
|
Also fixed 'c' shortcut described in the onscreen help to show "Color Bars".
|
|
|
|
* define the pen/tablet support API
* add pen event handler stub as a fallback
* add pen device test "penpal".
* Add macOS pen/stylus/tablet driver.
* Add Oxygen documentation.
|
|
... on GitHub (GitLab CI builds used it already)
|
|
|
|
* Change class Fl into namespace Fl.
* Untangle Fl namespace into themed headers.
* cut line count of FL/Fl.H in half
* FL/core subdirectory now holds short headers
grouped by functionality.
|
|
|
|
In commit a0654b59ac17ad5b7739b7136d00f2469b03d5fa all assignments to
variable `fl_xmousewin` were erroneously put under control of macro
FLTK_CONSOLIDATE_MOTION. This commit reverts this.
The correct fix would have been to declare
extern Fl_Window *fl_xmousewin;
unconditionally which was eventually done in a later commit.
The related variable `static Fl_Window *send_motion;` is still used
under control of macro FLTK_CONSOLIDATE_MOTION.
|
|
This computation has been found possible only for single-display settings.
|
|
These Fl_Window methods are 'const' but had not been declared 'const':
- uchar get_size_range(...) const
- int shown() const
- const Fl_Image *shape() const
- int screen_num() const
- fl_uintptr_t os_id() const
|
|
|