mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
9df79a77da
Applets and windows would like to be able to know when the applet area has been resized. For example, this happens asynchronously after an applet has been resized, so we cannot then rely on the applet area position synchronously after resizing. This adds a new message applet_area_rect_changed and associated Event AppletAreaRectChange, and the appropriate virtual functions.
98 lines
1.7 KiB
C++
98 lines
1.7 KiB
C++
/*
|
|
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace GUI {
|
|
|
|
class AbstractButton;
|
|
class AbstractTableView;
|
|
class AbstractView;
|
|
class Action;
|
|
class ActionGroup;
|
|
class AppletAreaRectChangeEvent;
|
|
class Application;
|
|
class AutocompleteBox;
|
|
class AutocompleteProvider;
|
|
class BoxLayout;
|
|
class Button;
|
|
class CheckBox;
|
|
class ComboBox;
|
|
class Command;
|
|
class DragEvent;
|
|
class DropEvent;
|
|
class EditingEngine;
|
|
class FileSystemModel;
|
|
class Frame;
|
|
class GroupBox;
|
|
class HeaderView;
|
|
class HorizontalBoxLayout;
|
|
class HorizontalSlider;
|
|
class Icon;
|
|
class IconView;
|
|
class JsonArrayModel;
|
|
class KeyEvent;
|
|
class Label;
|
|
class Layout;
|
|
class ListView;
|
|
class Menu;
|
|
class Menubar;
|
|
class MenuItem;
|
|
class Model;
|
|
class ModelEditingDelegate;
|
|
class ModelIndex;
|
|
class MouseEvent;
|
|
class MultiPaintEvent;
|
|
class MultiView;
|
|
class OpacitySlider;
|
|
class PaintEvent;
|
|
class Painter;
|
|
class PersistentHandle;
|
|
class PersistentModelIndex;
|
|
class RadioButton;
|
|
class ResizeCorner;
|
|
class ResizeEvent;
|
|
class ScreenRectsChangeEvent;
|
|
class Scrollbar;
|
|
class AbstractScrollableWidget;
|
|
class Slider;
|
|
class SortingProxyModel;
|
|
class SpinBox;
|
|
class Splitter;
|
|
class StackWidget;
|
|
class Statusbar;
|
|
class TabWidget;
|
|
class TableView;
|
|
class TextBox;
|
|
class UrlBox;
|
|
class TextDocument;
|
|
class TextDocumentLine;
|
|
struct TextDocumentSpan;
|
|
class TextDocumentUndoCommand;
|
|
class TextEditor;
|
|
class ThemeChangeEvent;
|
|
class FontsChangeEvent;
|
|
class Toolbar;
|
|
class ToolbarContainer;
|
|
class TreeView;
|
|
class ValueSlider;
|
|
class Variant;
|
|
class VerticalBoxLayout;
|
|
class VerticalSlider;
|
|
class WMEvent;
|
|
class Widget;
|
|
class Window;
|
|
class WindowServerConnection;
|
|
|
|
enum class ModelRole;
|
|
enum class SortOrder;
|
|
|
|
}
|
|
|
|
namespace WindowServer {
|
|
class ScreenLayout;
|
|
}
|