Api.h
1/* Copyright (C) 2015 Marc Boris Duerner
2 SPDX-License-Identifier: LGPL-2.1-or-later WITH mif-exception
3*/
4
5#ifndef PT_FORMS_API_H
6#define PT_FORMS_API_H
7
8#include <Pt/Api.h>
9
10#define PT_FORMS_VERSION_MAJOR PT_VERSION_MAJOR
11#define PT_FORMS_VERSION_MINOR PT_VERSION_MINOR
12#define PT_FORMS_VERSION_REVISION PT_VERSION_REVISION
13#define PT_FORMS_VERSION_PRERELEASE PT_VERSION_PRERELEASE
14
15#if defined(PT_FORMS_API_EXPORT)
16# define PT_FORMS_API PT_EXPORT
17# else
18# define PT_FORMS_API PT_IMPORT
19# endif
20
21namespace Pt {
22
32namespace Forms {
33
34class ActivateEvent;
35class CloseEvent;
36class Control;
37class EnableEvent;
38class EnterEvent;
39class FocusEvent;
40class InvalidateEvent;
41class KeyEvent;
42class LeaveEvent;
43class LayoutEvent;
44class MeasureEvent;
45class MouseEvent;
46class MoveEvent;
47class PaintEvent;
48class RelayoutEvent;
49class RescaleEvent;
50class ResizeEvent;
51class ScrollEvent;
52class ShowEvent;
53class TouchEvent;
54class Widget;
55class Window;
57
58} // namespace
59
60} // namespace
61
62#endif
Reports that a widget became active or inactive.
Definition ActivateEvent.h:49
Reports that a widget is closing.
Definition CloseEvent.h:50
Reusable view used as application content.
Definition Control.h:107
Pointer entered a widget.
Definition EnterEvent.h:49
Reports that a widget gained or lost focus.
Definition FocusEvent.h:48
Key press or release.
Definition KeyEvent.h:50
Pointer left a widget.
Definition LeaveEvent.h:49
Pointer movement or button change.
Definition MouseEvent.h:134
Reports that a widget moved.
Definition MoveEvent.h:50
Reports a dirty rectangle that a widget must paint.
Definition PaintEvent.h:48
Reports that a widget was resized.
Definition ResizeEvent.h:50
Scroll or wheel movement.
Definition ScrollEvent.h:51
Reports that a widget was shown or hidden.
Definition ShowEvent.h:48
Touch press, move, or release.
Definition TouchEvent.h:51
Common type of every visual Forms object.
Definition Widget.h:105
Reports that a window's presentation state changed.
Definition WindowStateEvent.h:50
Form presented by a window manager.
Definition Window.h:99
Graphical user interfaces.
Definition ActivateEvent.h:40
Core module.
Definition Allocator.h:33