Albrecht Schlosser
450248d20e
Check that a widget is a child of its Fl_Grid parent
...
... when assigning it to a cell. This is required for consistency.
2 years ago
Matthias Melcher
0fc3f7cd92
FLUID: fixes `override` handling and code duplication
2 years ago
Albrecht Schlosser
5c7ad00e07
Improve Fl_Grid example code
...
Add 'grid->end();' although it's redundant in this specific example.
2 years ago
Matthias Melcher
ca7844cf94
FLUID now recognizes `override` and `FL_OVERRIDE` keywords ( #801 )
2 years ago
ManoloFLTK
ff7958e57a
Fix "Keyboard sometimes stops working after Ctrl/+ or Ctrl/-" ( #794 )
2 years ago
ManoloFLTK
c1d9376934
Fix for "Keyboard sometimes stops working after Ctrl/+ or Ctrl/-" ( #794 )
2 years ago
Albrecht Schlosser
56af338cfd
Fix Fl_Tile::set_cursor() which was broken
...
... since commit 6ba7b49baf
.
2 years ago
Albrecht Schlosser
27a779b235
Fix trailing whitespace
2 years ago
ManoloFLTK
c27009e52c
launching a binary from the command line hangs on macOS Sonoma ( #799 )
2 years ago
ManoloFLTK
9f141aefc6
Fix drawing points in complex shape mode with Cairo ( #792 )
2 years ago
ManoloFLTK
c62501c93a
launching a binary from the command line hangs on macOS Sonoma ( #799 )
2 years ago
Albrecht Schlosser
49900e3710
Update documentation with Fl_Flex and Fl_Grid widgets
2 years ago
ManoloFLTK
50b04b565b
Fix Crashes and warnings when Fl_Double_Window is smaller than 1x1 ( #798 )
2 years ago
Albrecht Schlosser
38871c5b31
Add Fl_Grid widget and test and demo programs
...
- FL/Fl_Grid.H: header file
- src/Fl_Grid.cxx: implementation
- examples/grid-simple.cxx: simple example program
- test/cube.cxx: use Fl_Grid for layout
- test/grid_alignment.cxx: test cell alignment and other functions
- test/grid_buttons.cxx: demo program as discussed in fltk.general
- test/grid_login.cxx: like test/flex_login.cxx but with Fl_Grid
- test/flex_login.cxx: modified to match test/grid_login.cxx
2 years ago
Albrecht Schlosser
e7b790ae31
Fix Windows (MSVC) compiler warnings
...
warning C4244: '=': conversion from 'double' to 'time_t',
possible loss of data
warning C4244: 'return': conversion from 'time_t' to 'long',
possible loss of data
2 years ago
Albrecht Schlosser
63dc3f2acb
Fix compiler warning (C++11 standard)
...
Warning: override controls (override/final) only available with
‘-std=c++11’ or ‘-std=gnu++11’
2 years ago
ManoloFLTK
010b179489
Remove Doxygen warning in Fl_Tile.cxx line 185
...
The warning was
warning: End of list marker found without any preceding list items.
2 years ago
Albrecht Schlosser
7e71cea54a
Update .gitignore files
...
Add missing executables
2 years ago
ManoloFLTK
ae4ed35229
Add virtual void Fl_Graphics_Driver::draw_circle()
2 years ago
ManoloFLTK
15fe9d9880
Fix Drawing artifact with radio buttons under Cairo ( #792 ) - cont'd
2 years ago
ManoloFLTK
09e06dc703
Fix indentation
2 years ago
Albrecht Schlosser
6ba7b49baf
Improve subclassing cababilities of Fl_Tile (STR 2791)
...
- remove static variables and functions
- make move_intersection() virtual
- add (protected) cursor access methods
These changes were inspired by STR 2791 where the user proposing an
enhancement was not able to subclass Fl_Tile properly. This commit
fixes the mentioned issues and enables subclassing without copying
internal code.
2 years ago
ManoloFLTK
da5331b592
Open
...
Fix Drawing artifact with round check buttons in menu under Cairo (#792 )
2 years ago
ManoloFLTK
52f5653545
Doxygen-only: warn when current color is changed
...
Also, remove the statement that rectangles are drawn with 1-pixel lines
which is wrong with HighDPI displays.
2 years ago
Albrecht Schlosser
4964a15c01
Improve small radio buttons by using fl_draw_circle()
...
This removes duplicated code as intended when fl_draw_circle()
was introduced.
2 years ago
Albrecht Schlosser
fd6accec24
Fix small circle drawing and add doxygen \since statement
...
src/fl_draw.cxx: improve documentation, add \since 1.4.0,
simplify scaling code, use forgotten 'color' argument to set the
circle color.
src/fl_draw_arrow.cxx: add doxygen \since statement
2 years ago
Matthias Melcher
56ad8f8a78
Draws nicer small circles if display is scaled up.
2 years ago
ManoloFLTK
ded5839d9c
Improve Fl_Wayland_Window_Driver::take_focus()
2 years ago
Albrecht Schlosser
01038e832a
Fix trailing whitespace and dependencies
2 years ago
ManoloFLTK
6958e5d615
Drawing artifact with round check buttons in menu under Cairo ( #792 )
2 years ago
ManoloFLTK
c274ae1365
Remove obsolete comments
2 years ago
Matthias Melcher
58b13b868e
FLUID: allow mousewheel events on coordinate input
...
MACOS: make sure that even small mouse wheel deltas count at least as 1 unit
2 years ago
Matthias Melcher
b1321bb97e
#748 : Adds option to choose menu window boxtype
...
...independently from the menu button or menu bar boxtype
2 years ago
Matthias Melcher
0af27f6fda
test/menubar: use popup menu default boxtype
2 years ago
Matthias Melcher
d93b991e5c
FLUID: Settings dialog is now resizable
2 years ago
Matthias Melcher
d7a5e5099c
Fixes conversion warning.
2 years ago
Matthias Melcher
c41b3a1a64
Fixes fl_filename_relative on Linux, Mac, and Windows ( #787 )
...
* fixed filename_relative for Linux
* Fixing fl_filename_relative for MSWindows.
* Update documentation
* Fixed docs.
* Fixes Linux and macOS builds
2 years ago
Matthias Melcher
33b601e574
Synchronize all arrow colors and inactive drawing ( #791 )
2 years ago
Matthias Melcher
e2c2ba7773
FLUID: adds better zoom icon
2 years ago
ManoloFLTK
86cadec162
macOS: remove availability warning
2 years ago
ManoloFLTK
00aab5e698
Add legit #pragma clang diagnostic ignored "-Wdeprecated-declarations"
2 years ago
leen
fcaae03537
Fix default color of ATTR_GRAMMAR/ATTR_SPELLING ( #790 )
2 years ago
ManoloFLTK
bb7e1635ad
macOS: remove a bunch of deprecation warnings
2 years ago
ManoloFLTK
d1436f4f63
Clean long source lines in Fl_Wayland_Graphics_Driver.cxx
2 years ago
ManoloFLTK
da15a12ffe
Fix " Wayland compilation warnings" ( #788 )
2 years ago
Albrecht Schlosser
1fd6f0dd3a
Fix STR 3458: "GLUT compatibility mode segfaults"
...
... "when there's no current window".
Silently ignore GLUT function calls that need a current window if the
current window is NULL, return 0 from functions that return an 'int'.
Check if window is shown in Fl_X11_Gl_Window_Driver::swap_buffers().
This would issue "XRequest.nnn: GLXBadDrawable 0x0" on X11 otherwise.
Note: the chosen implementation to ignore GLUT calls silently appears
to be compatible with GLUT (3.7) whereas FreeGLUT 3.0 would issue error
messages and exit. The latter could be implemented as well but would
be much more work.
2 years ago
ManoloFLTK
f6690a9742
Fix: macOS runtime warning makeKeyWindow... ( #785 )
2 years ago
ManoloFLTK
f20e2188fd
Change prototype to Fl::now(double offset = 0) - cont'd
2 years ago
ManoloFLTK
4d9805537b
Change prototype to Fl::now(double offset = 0)
2 years ago
Matthias Melcher
ac047172b9
Removes stray files.
2 years ago