|
ShishGL
1.0
A simple modular cross-platform graphics library
|
|
Go to the documentation of this file.
2 #ifndef SHISHGL_BEHAVIOR_HPP
3 #define SHISHGL_BEHAVIOR_HPP
16 template <
typename SomeWindow>
17 [[nodiscard]] SomeWindow*
target()
const {
18 return dynamic_cast<SomeWindow*
>(target_window);
30 #endif //SHISHGL_BEHAVIOR_HPP
SomeWindow * target() const
Definition: Behavior.hpp:17
Definition: UIWindow.hpp:16
Definition: CoreApplication.hpp:10
Definition: Behavior.hpp:9
Behavior(class UIWindow *target)
Definition: Behavior.hpp:12
virtual void onTargetUpdate()
Definition: Behavior.hpp:21