MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / CreateWindow

Method CreateWindow

LibLemon/src/gui/window.cpp:341–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339 }
340
341 int64_t WMClient::CreateWindow(int x, int y, int width, int height, unsigned int flags, const std::string& title) const {
342 Message ret;
343
344 Call(Message(WMCreateWindow, x, y, width, height, flags, title), ret, WindowBufferReturn);
345
346 int64_t key = 0;
347 if(ret.Decode(key)){
348 return 0;
349 }
350
351 return key;
352 }
353
354 void WMClient::DestroyWindow() const {
355 Queue(Message(WMDestroyWindow));

Callers

nothing calls this directly

Calls 2

DecodeMethod · 0.80
MessageClass · 0.50

Tested by

no test coverage detected