1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00

LibGUI: Break up Window::event() into many smaller functions

This function was unbearably huge. Handle each event type in its own
function instead so you can see what's going on.
This commit is contained in:
Andreas Kling 2020-07-24 01:03:24 +02:00
parent 3f45e9ab1e
commit a655cf5b41
3 changed files with 214 additions and 167 deletions

View file

@ -38,6 +38,8 @@ class BoxLayout;
class Button;
class CheckBox;
class Command;
class DragEvent;
class DropEvent;
class FileSystemModel;
class Frame;
class GroupBox;
@ -56,10 +58,12 @@ class Model;
class ModelEditingDelegate;
class ModelIndex;
class MouseEvent;
class MultiPaintEvent;
class MultiView;
class PaintEvent;
class Painter;
class ResizeCorner;
class ResizeEvent;
class ScrollBar;
class Slider;
class SortingProxyModel;
@ -75,9 +79,10 @@ class TextDocument;
class TextDocumentLine;
class TextDocumentUndoCommand;
class TextEditor;
class TreeView;
class ThemeChangeEvent;
class ToolBar;
class ToolBarContainer;
class TreeView;
class Variant;
class VerticalBoxLayout;
class VerticalSlider;