#include <windowInformation.h>
Definition at line 68 of file windowInformation.h.
◆ ~WindowInformation()
minsky::WindowInformation::~WindowInformation |
( |
| ) |
|
Definition at line 96 of file windowInformation.cc.
99 #ifdef USE_WIN32_SURFACE 100 SelectObject(hdcMem, hOld);
101 DeleteObject(hbmMem);
103 SetWindowLongPtrA(childWindowId, GWLP_USERDATA, 0);
104 PostMessageA(childWindowId,WM_CLOSE,0,0);
105 #elif defined(MAC_OSX_TK) 106 #elif defined(USE_X11) 107 XFreeGC(display, graphicsContext);
108 XDestroyWindow(display, childWindowId);
109 XDestroyWindow(display, bufferWindowId);
◆ WindowInformation() [1/2]
minsky::WindowInformation::WindowInformation |
( |
uint64_t |
parentWin, |
|
|
int |
left, |
|
|
int |
top, |
|
|
int |
cWidth, |
|
|
int |
cHeight, |
|
|
double |
scalingFactor, |
|
|
bool |
hasScrollBars, |
|
|
const std::function< void()> & |
draw |
|
) |
| |
◆ WindowInformation() [2/2]
◆ copyBufferToMain()
void minsky::WindowInformation::copyBufferToMain |
( |
| ) |
|
Definition at line 118 of file windowInformation.cc.
References minsky::anonymous_namespace{windowInformation.cc}::blit().
121 #ifdef USE_WIN32_SURFACE 122 InvalidateRect(childWindowId,
nullptr,
true);
123 PostMessageA(childWindowId,WM_PAINT,0,0);
124 #elif defined(USE_X11) 132 XExposeEvent& expose=
event.xexpose;
137 expose.window=childWindowId;
138 expose.display=display;
143 XSendEvent(display,childWindowId,
false,ExposureMask,&event);
◆ getBufferSurface()
const ecolab::cairo::SurfacePtr & minsky::WindowInformation::getBufferSurface |
( |
| ) |
const |
◆ operator=()
◆ requestRedraw()
void minsky::WindowInformation::requestRedraw |
( |
| ) |
|
◆ RenderNativeWindow
◆ bufferSurface
ecolab::cairo::SurfacePtr minsky::WindowInformation::bufferSurface |
◆ draw
std::function<void()> minsky::WindowInformation::draw |
◆ hasScrollBars
const bool minsky::WindowInformation::hasScrollBars =false |
The documentation for this class was generated from the following files: