1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:08:12 +00:00
serenity/Userland/Libraries/LibGUI
Linus Groh 5367bbb82c LibGUI: Add ScreenRectChangeEvent and deliver it to windows and widgets
Having to rely on GUI::Desktop's on_rect_change is quite limiting and a
bit awkward (continuing to use it would mean having to setup the
callback in every application using a webview) - we need a better way of
letting widgets know of a screen rect change automatically.

The specific use case will be IPWV/OOPWV which need to keep track of the
screen rect and notify the WebContent service of any change (which on
its own deliberately can't interact with WindowServer at all).

It'll also be useful for notification windows and the taskbar, which
currently both rely on the GUI::Desktop callback but will now be able to
listen and react to the event themselves.
2021-04-04 00:37:54 +02:00
..
Wizards LibGUI: Allow a wizard page to return null as its next page 2021-03-22 07:43:58 +01:00
AboutDialog.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
AboutDialog.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
AbstractButton.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
AbstractButton.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
AbstractSlider.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
AbstractSlider.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
AbstractTableView.cpp LibGUI: Support double-click resizing column headers 2021-03-18 07:49:55 +01:00
AbstractTableView.h LibGUI: Support double-click resizing column headers 2021-03-18 07:49:55 +01:00
AbstractView.cpp LibGUI: Improve IconView rubberband performance 2021-02-25 18:04:06 +01:00
AbstractView.h LibGUI: Improve IconView rubberband performance 2021-02-25 18:04:06 +01:00
Action.cpp LibGUI: Use delegating constructors in GUI::Action 2021-02-20 13:25:04 +01:00
Action.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
ActionGroup.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ActionGroup.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Application.cpp Userland: Turn all application menus into window menus :^) 2021-03-25 22:14:09 +01:00
Application.h Userland: Turn all application menus into window menus :^) 2021-03-25 22:14:09 +01:00
AutocompleteProvider.cpp LibGUI: remove empty TODO. 2021-03-22 07:43:26 +01:00
AutocompleteProvider.h HackStudio+LanguageServers/Cpp: Show scope of symbols in Locator 2021-03-23 18:32:39 +01:00
BoxLayout.cpp LibGUI: Subtract layout margin when placing items along secondary axis 2021-04-02 23:33:17 +02:00
BoxLayout.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
BreadcrumbBar.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
BreadcrumbBar.h LibGUI: Allow setting a tooltip on BreadcrumbBar segments 2021-02-20 14:23:21 +01:00
Button.cpp LibGUI: Make it possible to tweak icon spacing on a GUI::Button 2021-03-25 22:41:40 +01:00
Button.h LibGUI: Make it possible to tweak icon spacing on a GUI::Button 2021-03-25 22:41:40 +01:00
Calendar.cpp LibGUI: Always outline selected date and paint today's date bold 2021-04-02 22:23:21 +02:00
Calendar.h LibGUI+Calendar: Inherit from Frame class 2021-04-02 22:23:21 +02:00
CheckBox.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CheckBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Clipboard.cpp LibGfx: Rename 32-bit BitmapFormats to BGRA8888 and BGRx888x 2021-03-16 11:50:03 +01:00
Clipboard.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CMakeLists.txt LibGUI: Remove ControlBoxButton widget 2021-02-27 16:38:36 +01:00
ColorInput.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ColorInput.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ColorPicker.cpp LibGfx: Rename 32-bit BitmapFormats to BGRA8888 and BGRx888x 2021-03-16 11:50:03 +01:00
ColorPicker.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ColumnsView.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
ColumnsView.h LibGUI: Increase row height in Table/ColumnViews and center icons 2021-03-04 16:28:12 +01:00
ComboBox.cpp WindowServer+LibGUI: Remove the global menubar :^) 2021-03-25 23:27:11 +01:00
ComboBox.h LibGUI: Register more GML properties and widgets 2021-03-12 09:59:03 +01:00
Command.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Command.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Desktop.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Desktop.h WindowServer+LibGUI: Remove the global menubar :^) 2021-03-25 23:27:11 +01:00
Dialog.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Dialog.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
DisplayLink.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
DisplayLink.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
DragOperation.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
DragOperation.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
EditingEngine.cpp EditingEngine: Don't jump to the beginning or end of a non-existant word 2021-03-30 11:32:59 +02:00
EditingEngine.h Revert "TextEditor: Add vim status indicators to the statusbar" 2021-02-02 19:01:54 +01:00
EmojiInputDialog.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
EmojiInputDialog.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Event.cpp Everywhere: Rename "logo" key to "super" key 2021-03-11 18:55:16 +01:00
Event.h LibGUI: Add ScreenRectChangeEvent and deliver it to windows and widgets 2021-04-04 00:37:54 +02:00
FileIconProvider.cpp LibGUI: Return symlink fallback icon if target icon cannot be determined 2021-03-27 19:43:36 +01:00
FileIconProvider.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
FilePicker.cpp LibGUI: Add transient option to show dotfiles in FilePicker 2021-03-29 19:36:38 +02:00
FilePicker.h LibGUI: Add transient option to show dotfiles in FilePicker 2021-03-29 19:36:38 +02:00
FilePickerDialog.gml LibGUI: Port GUI::FilePicker to GML and improve the layout 2021-02-19 23:03:47 +01:00
FileSystemModel.cpp LibGUI: Show human readable size in filemanager 2021-03-26 22:59:09 +01:00
FileSystemModel.h LibGUI: Use Core::FileWatcher in FileSystemModel 2021-02-11 13:13:32 +01:00
FilteringProxyModel.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
FilteringProxyModel.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
FocusSource.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
FontPicker.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
FontPicker.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
FontPickerDialog.gml Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Forward.h LibGUI: Add ScreenRectChangeEvent and deliver it to windows and widgets 2021-04-04 00:37:54 +02:00
Frame.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Frame.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
GMLFormatter.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
GMLFormatter.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
GMLLexer.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
GMLLexer.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
GMLParser.cpp LibGUI: Remove the necessity to have empty {} on GML objects 2021-03-29 09:10:23 +02:00
GMLParser.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
GMLSyntaxHighlighter.cpp LibSyntax: Make rehighlight() take Gfx::Palette as by const-reference 2021-02-11 23:52:39 +01:00
GMLSyntaxHighlighter.h LibSyntax: Make rehighlight() take Gfx::Palette as by const-reference 2021-02-11 23:52:39 +01:00
GroupBox.cpp LibGUI: Ignore glyph dimensions when painting a titleless GroupBox 2021-02-22 09:21:30 +01:00
GroupBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
HeaderView.cpp LibGUI: Support double-click resizing column headers 2021-03-18 07:49:55 +01:00
HeaderView.h LibGUI: Support double-click resizing column headers 2021-03-18 07:49:55 +01:00
Icon.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Icon.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
IconView.cpp LibGUI: Don't try to paint items in model-less IconView :^) 2021-04-03 20:36:43 +02:00
IconView.h LibGUI: Scroll selection into view when the IconView is first laid out 2021-03-07 11:00:36 +01:00
ImageWidget.cpp QuickShow: Animate animated images :^) 2021-03-17 12:37:48 +01:00
ImageWidget.h LibGUI: Add opacity to ImageWidget 2021-03-12 09:59:03 +01:00
INILexer.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
INILexer.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
INISyntaxHighlighter.cpp LibSyntax: Make rehighlight() take Gfx::Palette as by const-reference 2021-02-11 23:52:39 +01:00
INISyntaxHighlighter.h LibSyntax: Make rehighlight() take Gfx::Palette as by const-reference 2021-02-11 23:52:39 +01:00
InputBox.cpp Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes 2021-02-26 16:59:56 +01:00
InputBox.h LibGUI: Set InputBox initial value to text_value string 2021-02-20 12:19:46 +01:00
ItemListModel.h LibGUI: Allow ItemListModel to have 2D items 2021-03-22 07:43:58 +01:00
JsonArrayModel.cpp LibGUI: Allow assigning a value to a specific index in JsonArrayModel 2021-03-26 22:58:31 +01:00
JsonArrayModel.h LibGUI: Allow assigning a value to a specific index in JsonArrayModel 2021-03-26 22:58:31 +01:00
Label.cpp LibGUI: Add word wrapping to Labels 2021-03-02 11:57:27 +01:00
Label.h LibGUI: Add word wrapping to Labels 2021-03-02 11:57:27 +01:00
Layout.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Layout.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
LazyWidget.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LazyWidget.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
LinkLabel.cpp LibGUI: Set correct open action for LinkLabel context menu 2021-02-26 13:50:00 +01:00
LinkLabel.h LibGUI: Show context menu when right-clicking a LinkLabel 2021-02-21 23:47:05 +01:00
ListView.cpp LibGUI: Add corresponding padding to ListView content width 2021-03-19 22:56:36 +01:00
ListView.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Margins.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Menu.cpp LibGUI: Remove one ancient GMENU_DEBUG debug log 2021-03-23 20:37:39 +01:00
Menu.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
MenuBar.cpp Userland: Turn all application menus into window menus :^) 2021-03-25 22:14:09 +01:00
MenuBar.h Userland: Turn all application menus into window menus :^) 2021-03-25 22:14:09 +01:00
MenuItem.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
MenuItem.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
MessageBox.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
MessageBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Model.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Model.h LibGUI: Add possibility to search for exact match in model 2021-03-01 11:16:18 +01:00
ModelEditingDelegate.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ModelIndex.cpp Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
ModelIndex.h Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
ModelRole.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ModelSelection.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
ModelSelection.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
MultiView.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
MultiView.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Notification.cpp NotificationServer: Close connection on notification close 2021-03-22 12:46:16 +01:00
Notification.h NotificationServer: Close connection on notification close 2021-03-22 12:46:16 +01:00
OpacitySlider.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
OpacitySlider.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Painter.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Painter.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ProcessChooser.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ProcessChooser.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ProgressBar.cpp LibGfx+LibGUI: Add support for vertical ProgressBars 2021-03-12 09:59:03 +01:00
ProgressBar.h LibGfx+LibGUI: Add support for vertical ProgressBars 2021-03-12 09:59:03 +01:00
RadioButton.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
RadioButton.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
RegularEditingEngine.cpp Revert "TextEditor: Add vim status indicators to the statusbar" 2021-02-02 19:01:54 +01:00
RegularEditingEngine.h Revert "TextEditor: Add vim status indicators to the statusbar" 2021-02-02 19:01:54 +01:00
ResizeCorner.cpp LibGUI+WindowServer: Don't use a WM IPC to initiate own window resize 2021-02-01 11:23:54 +01:00
ResizeCorner.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
RunningProcessesModel.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
RunningProcessesModel.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ScrollableWidget.cpp LibGUI: Let ScrollableWidget handle the wheel events of its ScrollBars 2021-02-21 01:06:17 +01:00
ScrollableWidget.h LibGUI: Let ScrollableWidget handle the wheel events of its ScrollBars 2021-02-21 01:06:17 +01:00
ScrollBar.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
ScrollBar.h LibGUI: Let ScrollableWidget handle the wheel events of its ScrollBars 2021-02-21 01:06:17 +01:00
SeparatorWidget.cpp LibGUI: Register more GML properties and widgets 2021-03-12 09:59:03 +01:00
SeparatorWidget.h LibGUI: Register more GML properties and widgets 2021-03-12 09:59:03 +01:00
Shortcut.cpp Everywhere: Rename "logo" key to "super" key 2021-03-11 18:55:16 +01:00
Shortcut.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Slider.cpp LibGUI: Ignore scroll length multiplier in SpinBoxes & Sliders 2021-03-12 09:59:03 +01:00
Slider.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SortingProxyModel.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
SortingProxyModel.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SpinBox.cpp LibGUI: Ignore scroll length multiplier in SpinBoxes & Sliders 2021-03-12 09:59:03 +01:00
SpinBox.h LibGUI: Remove ControlBoxButton widget 2021-02-27 16:38:36 +01:00
Splitter.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Splitter.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
StackWidget.cpp LibGUI: Register GUI::StackWidget with GML 2021-03-28 11:46:47 +02:00
StackWidget.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
StatusBar.cpp Revert "StatusBar: Allow GML files to set the number of labels to create" 2021-02-02 19:02:01 +01:00
StatusBar.h Revert "StatusBar: Allow GML files to set the number of labels to create" 2021-02-02 19:02:01 +01:00
TableView.cpp LibGUI: Add variable padding and center bitmaps in TableViews 2021-03-12 09:59:03 +01:00
TableView.h LibGUI: Add variable padding and center bitmaps in TableViews 2021-03-12 09:59:03 +01:00
TabWidget.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
TabWidget.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TextBox.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TextBox.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TextDocument.cpp LibGUI: Fix crash when getting text of selected line after a line delete 2021-03-21 11:45:22 +01:00
TextDocument.h LibGUI: Allow TextDocument::set_text to fail 2021-03-21 09:46:21 +01:00
TextEditor.cpp TextEditor: Adjust AutoCompleteBox's position to the scroll height 2021-03-29 18:05:46 +02:00
TextEditor.h TextEditor: Visualize leading whitespace 2021-03-25 11:01:49 +01:00
TextPosition.h Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
TextRange.h Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
ToolBar.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ToolBar.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ToolBarContainer.cpp LibGUI: Paint all widgets as toolbars in ToolBarContainer 2021-02-25 19:23:12 +01:00
ToolBarContainer.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TreeView.cpp LibGUI: Walk all visible rows when updating TreeView column sizes 2021-03-19 22:56:36 +01:00
TreeView.h LibGUI: Support double-click resizing multi-column TreeViews 2021-03-19 22:56:36 +01:00
UndoStack.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
UndoStack.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Variant.cpp LibGUI: Allow constructing a string Variant from StringView 2021-03-22 07:43:58 +01:00
Variant.h LibGUI: Allow constructing a string Variant from StringView 2021-03-22 07:43:58 +01:00
VimEditingEngine.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
VimEditingEngine.h Revert "TextEditor: Add vim status indicators to the statusbar" 2021-02-02 19:01:54 +01:00
Widget.cpp LibGUI: Add ScreenRectChangeEvent and deliver it to windows and widgets 2021-04-04 00:37:54 +02:00
Widget.h LibGUI: Add ScreenRectChangeEvent and deliver it to windows and widgets 2021-04-04 00:37:54 +02:00
Window.cpp LibGUI: Add ScreenRectChangeEvent and deliver it to windows and widgets 2021-04-04 00:37:54 +02:00
Window.h LibGUI: Add ScreenRectChangeEvent and deliver it to windows and widgets 2021-04-04 00:37:54 +02:00
WindowServerConnection.cpp LibGUI: Add ScreenRectChangeEvent and deliver it to windows and widgets 2021-04-04 00:37:54 +02:00
WindowServerConnection.h WindowServer+Taskbar: Show applets in taskbar :^) 2021-03-30 23:43:24 +02:00
WindowType.h LibGUI+WindowServer: Keep canonical WindowType enum in WindowServer 2021-03-29 22:39:18 +02:00