MCPcopy Create free account
hub / github.com/DISTRHO/DPF / PrivateData

Method PrivateData

dgl/src/WindowPrivateData.cpp:107–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105// -----------------------------------------------------------------------
106
107Window::PrivateData::PrivateData(Application& a, Window* const s)
108 : app(a),
109 appData(a.pData),
110 self(s),
111 view(appData->world != nullptr ? puglNewView(appData->world) : nullptr),
112 topLevelWidgets(),
113 isClosed(true),
114 isVisible(false),
115 isEmbed(false),
116 usesScheduledRepaints(false),
117 usesSizeRequest(false),
118 scaleFactor(DGL_NAMESPACE::getScaleFactor(view)),
119 autoScaling(false),
120 autoScaleFactor(1.0),
121 minWidth(0),
122 minHeight(0),
123 keepAspectRatio(false),
124 ignoreIdleCallbacks(false),
125 waitingForClipboardData(false),
126 waitingForClipboardEvents(false),
127 clipboardTypeId(0),
128 filenameToRenderInto(nullptr),
129 #ifdef DGL_USE_FILE_BROWSER
130 fileBrowserHandle(nullptr),
131 #endif
132 #ifdef DGL_USE_WEB_VIEW
133 webViewHandle(nullptr),
134 #endif
135 modal()
136{
137 initPre(DEFAULT_WIDTH, DEFAULT_HEIGHT, false);
138}
139
140Window::PrivateData::PrivateData(Application& a, Window* const s, PrivateData* const ppData)
141 : app(a),

Callers

nothing calls this directly

Calls 3

getScaleFactorFunction · 0.70

Tested by

no test coverage detected