Skip to content

Commit

Permalink
ofAppGLFWWindow: close as private
Browse files Browse the repository at this point in the history
It was confusing for some people who were calling it instead
of setWindowShouldClose and it's not needed from anywhere except
from the class itself

Fixes #6028
  • Loading branch information
arturoc committed Jul 30, 2018
1 parent bad923d commit bca934a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/openFrameworks/app/ofAppGLFWWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ class ofAppGLFWWindow : public ofAppBaseGLWindow {
bool getWindowShouldClose();
void setWindowShouldClose();

void close();

void hideCursor();
void showCursor();

Expand Down Expand Up @@ -188,6 +186,8 @@ class ofAppGLFWWindow : public ofAppBaseGLWindow {
static void drop_cb(GLFWwindow* windowP_, int numFiles, const char** dropString);
static void error_cb(int errorCode, const char* errorDescription);

void close();

#ifdef TARGET_LINUX
void setWindowIcon(const std::string & path);
void setWindowIcon(const ofPixels & iconPixels);
Expand Down

0 comments on commit bca934a

Please sign in to comment.