mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-27 16:19:35 +08:00
Fixed: https://github.com/ArthurSonzogni/FTXUI/issues/792
This commit is contained in:
28
CHANGELOG.md
28
CHANGELOG.md
@@ -7,26 +7,16 @@ current (development)
|
||||
### Component
|
||||
- Feature: Add support for `Input`'s insert mode. Add `InputOption::insert`
|
||||
option. Added by @mingsheng13.
|
||||
- Feature/Bugfix/Breaking change: `Mouse transition`:
|
||||
- Bugfix/Breaking change: `Mouse transition`:
|
||||
- Detect when the mouse move, as opposed to being pressed.
|
||||
The Mouse::Moved motion was added.
|
||||
- Dragging the mouse with the left button pressed now avoids activating
|
||||
multiple checkboxes.
|
||||
- A couple of components are now activated when the mouse is pressed,
|
||||
as opposed to being released.
|
||||
This fixes: https://github.com/ArthurSonzogni/FTXUI/issues/773
|
||||
Dragging the mouse with the left button pressed now avoids activating multiple
|
||||
checkboxes.
|
||||
|
||||
Add support for detecting mouse press transition. Added:
|
||||
```cpp
|
||||
// The previous mouse event.
|
||||
Mouse Mouse::previous;
|
||||
|
||||
// Return whether the mouse transitionned from:
|
||||
// released to pressed => IsPressed()
|
||||
// pressed to pressed => IsHeld()
|
||||
// pressed to released => IsReleased()
|
||||
bool Mouse::IsPressed(Button button) const;
|
||||
bool Mouse::IsHeld(Button button) const;
|
||||
bool Mouse::IsReleased(Button button) const;
|
||||
```
|
||||
A couple of components are now activated when the mouse is pressed,
|
||||
as opposed to released.
|
||||
This fixes: https://github.com/ArthurSonzogni/FTXUI/issues/792
|
||||
- Bugfix: mouse.control is now reported correctly.
|
||||
- Feature: Add `ScreenInteractive::FullscreenPrimaryScreen()`. This allows
|
||||
displaying a fullscreen component on the primary screen, as opposed to the
|
||||
alternate screen.
|
||||
|
Reference in New Issue
Block a user