17 #ifndef DGL_WIDGET_HPP_INCLUDED
18 #define DGL_WIDGET_HPP_INCLUDED
20 #include "Geometry.hpp"
112 struct DISTRHO_DEPRECATED_BY("KeyboardEvent") SpecialEvent : BaseEvent {
117 SpecialEvent() noexcept
148 #ifdef DISTRHO_PROPER_CPP11_SUPPORT
149 string{
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0'} {}
151 string() { std::memset(
string, 0,
sizeof(
string)); }
325 void setSize(uint width, uint height) noexcept;
376 DISTRHO_DEPRECATED_BY("
getApp()")
379 DISTRHO_DEPRECATED_BY(
"getWindow()")
427 #if defined(__clang__)
428 # pragma clang diagnostic push
429 # pragma clang diagnostic ignored "-Wdeprecated-declarations"
430 #elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 460
431 # pragma GCC diagnostic push
432 # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
434 virtual bool onSpecial(
const SpecialEvent&) {
return false; }
435 #if defined(__clang__)
436 # pragma clang diagnostic pop
437 #elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 460
438 # pragma GCC diagnostic pop
443 PrivateData*
const pData;
447 DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(
Widget)
Definition: Application.hpp:43
Definition: Window.hpp:63