|
ShishGL
1.0
A simple modular cross-platform graphics library
|
|
Go to the documentation of this file.
2 #ifndef SHISHGL_DIALOG_HPP
3 #define SHISHGL_DIALOG_HPP
22 for (
auto& child : target<UIWindow>()->getChildren()) {
23 if (child->contains(event.
where())) {
35 #endif //SHISHGL_DIALOG_HPP
bool onMouseButton(MouseButtonEvent &event) override
Definition: Dialog.hpp:16
bool onMouseButton(MouseButtonEvent &event) override
Definition: Draggable.cpp:18
Dialog(UIWindow *target)
Definition: Dialog.hpp:12
Definition: Draggable.hpp:10
SomeWindow * target() const
Definition: Behavior.hpp:17
Definition: UIWindow.hpp:16
Definition: CoreApplication.hpp:10
const Vector2< double > & where() const
Definition: MouseEvent.cpp:13
@ UP
Definition: Mouse.hpp:12