17 #ifndef DGL_WIDGET_HPP_INCLUDED
18 #define DGL_WIDGET_HPP_INCLUDED
20 #include "Geometry.hpp"
114 struct DISTRHO_DEPRECATED_BY("KeyboardEvent") SpecialEvent : BaseEvent {
119 SpecialEvent() noexcept
150 #ifdef DISTRHO_PROPER_CPP11_SUPPORT
151 string{
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0',
'\0'} {}
153 string() { std::memset(
string, 0,
sizeof(
string)); }
327 void setSize(uint width, uint height) noexcept;
400 DISTRHO_DEPRECATED_BY("
getApp()")
403 DISTRHO_DEPRECATED_BY(
"getWindow()")
451 #if defined(__clang__)
452 # pragma clang diagnostic push
453 # pragma clang diagnostic ignored "-Wdeprecated-declarations"
454 #elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 460
455 # pragma GCC diagnostic push
456 # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
458 virtual bool onSpecial(
const SpecialEvent&) {
return false; }
459 #if defined(__clang__)
460 # pragma clang diagnostic pop
461 #elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 460
462 # pragma GCC diagnostic pop
467 PrivateData*
const pData;
471 DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(
Widget)
Definition: Application.hpp:43
Definition: Window.hpp:63