Browse Source

Misc

gh-pages
falkTX 10 years ago
parent
commit
866b05f18e
2 changed files with 9 additions and 1 deletions
  1. +1
    -1
      dgl/src/Window.cpp
  2. +8
    -0
      dgl/src/pugl/pugl_osx_extended.h

+ 1
- 1
dgl/src/Window.cpp View File

@@ -27,8 +27,8 @@
#if DGL_OS_WINDOWS
# include "pugl/pugl_win.cpp"
#elif DGL_OS_MAC
extern "C" {
# include "pugl/pugl_osx_extended.h"
extern "C" {
struct PuglViewImpl {
int width;
int height;


+ 8
- 0
dgl/src/pugl/pugl_osx_extended.h View File

@@ -23,7 +23,15 @@

#include "pugl.h"

#ifdef __cplusplus
extern "C" {
#endif

void puglImplFocus(PuglView* view);
void puglImplSetSize(PuglView* view, unsigned int width, unsigned int height);
void puglImplSetTitle(PuglView* view, const char* title);
void puglImplSetVisible(PuglView* view, bool yesNo);

#ifdef __cplusplus
} /* extern "C" */
#endif

Loading…
Cancel
Save