| Age | Commit message (Collapse) | Author |
|
Member cb of struct wld_buffer is replaced by member frame_cb of struct wld_window.
This allows frame_cb to be used both for non-GL and for top-level GL windows.
|
|
Keyboard behavior for button types was not consistent with mouse
click behavior. This change avoids callbacks when pressed radio buttons
are pressed again.
|
|
Previous commits introduced too many changes to Fl_Button callbacks,
creating problems in user apps. This is the base for a second much
more specific fix to event flags.
|
|
Implement a less strict handling of resizing of a decorated window entirely covered
by a subwindow where throttling of fast resize commands is guided by the
value of the in_use member variable of the window's wld_buffer.
|
|
|
|
|
|
|
|
> Enabled -Wall -Wextra -Wpedantic to catch errors
- Silenced resulting "unused parameters" warnings
- Fixed char omission in protected Fl_Terminal::insert_char() methods
> Self doc code and better comments in RingBuffer::resize()
> Changed private RingBuffer::clear_disp_row() -> clear_disp_rows()
> Added private RingBuffer::hist_rows()/disp_rows() setter methods
> Added private RingBuffer::offset_adjust() method for adjusting RingBuffer offset_
> Fixed comment typos
> Remove white space inside outer parens of while()/if()/etc
|
|
|
|
|
|
|
|
|
|
...when hidden
|
|
|
|
|
|
- this commit does rewrite some of the logic,
hoping to make thing more, um, logical. The bits
react mostly the same and hopefully as expected.
Everything is documented in the Fl_Button ctor.
|
|
converting to non pointer type "int" from NULL (-Wconversion-null)
|
|
|
|
|
|
- adds documentation to all calls
- changes implementation details on ::copy()
and copy(w,h)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
... if the doxygen path includes spaces.
Done for configure/make + CMake.
|
|
Requested by Jonathan Griffitts during rust bindings.
|
|
|
|
... as discussed previously.
|
|
Keypad key 'Del' aka '.' (or ',') was missing in the key translation
table for Fl::e_original_keysym.
Also: add DEBUG_KEYBOARD macro to enable/disable keyboard debugging
code easier.
|
|
examples/howto-remap-numpad-keyboard-keys.cxx:
Substitute Fl::event_key() as well which is required for some input
widgets - maybe only on some platforms (seemed to work on X11 but
not on Wayland).
Also: fix typos and whitespace.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Prevents window from squishing buttons horizontally.
Allows tty height to shrink to no less than a single line.
|
|
|
|
- if a tile with a size range is resize smaller than the
minimum size of all children, the children will now no
longer shrink, and expanding will make them work
again as expected.
|
|
|
|
... although currently disabled - just in case this feature will be
re-enabled.
|
|
This also updates the RMB menu labels before every popup so
that changing the labels after creating the widgets still reflects
that change correctly.
|
|
Add more tests to do additional operations under stricter conditions
|
|
Mutter implements too strictly this rule expected from compositors about "frame callbacks" :
"A server should avoid signaling the frame callbacks if the surface is not visible in any way,
e.g. the surface is off-screen, or completely obscured by other opaque surfaces."
When a window is being interactively resized, it makes no sense to create a frame callback
for an entirely covered surface but then never signal the surface can be redrawn,
because this blocks the resize operation.
Neither KWin nor Weston have this problem.
|
|
|
|
|
|
This addresses some issues pointed out by GitHub Issue #875.
Documentation lacked details about Fl_Multi_Label assignment and
correct memory handling.
The new methods
- Fl_Menu_Item::image_label(const Fl_Image *) and
- Fl_Menu_Item::multi_label(const Fl_Multi_Label *)
provide a cleaner interface to assign images and Fl_Multi_Label's
to menu items.
examples/howto-menu-with-images.cxx: carify some issues, fix leak,
and use new Fl_Menu_Item::multi_label(const Fl_Multi_Label *).
|