Browse Source

Misc

gh-pages
falkTX 11 years ago
parent
commit
3585ef8376
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      dgl/src/pugl/pugl_osx_extended.m

+ 2
- 3
dgl/src/pugl/pugl_osx_extended.m View File

@@ -37,12 +37,11 @@ void puglImplSetSize(PuglView* view, unsigned int width, unsigned int height)
id window = view->impl->window;

NSRect frame = [window frame];
frame.origin.y -= frame.size.height;
frame.origin.y += height;
frame.origin.y -= height - frame.size.height;
frame.size.width = width;
frame.size.height = height+20;

[window setFrame:frame display:YES animate:NO];
[window setFrame:frame];
}

void puglImplSetTitle(PuglView* view, const char* title)


Loading…
Cancel
Save