From 10d37a3f559e3c94101253227954ddc08d845f6a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 30 Apr 2012 01:45:40 +0000 Subject: PuglWindow => PuglView. --- pugl/pugl_internal.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'pugl/pugl_internal.h') diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h index 3685522..0b04e5d 100644 --- a/pugl/pugl_internal.h +++ b/pugl/pugl_internal.h @@ -27,7 +27,7 @@ typedef struct PuglPlatformDataImpl PuglPlatformData; -struct PuglWindowImpl { +struct PuglViewImpl { PuglHandle handle; PuglCloseFunc closeFunc; PuglDisplayFunc displayFunc; @@ -45,55 +45,55 @@ struct PuglWindowImpl { }; void -puglSetHandle(PuglWindow* window, PuglHandle handle) +puglSetHandle(PuglView* view, PuglHandle handle) { - window->handle = handle; + view->handle = handle; } PuglHandle -puglGetHandle(PuglWindow* window) +puglGetHandle(PuglView* view) { - return window->handle; + return view->handle; } void -puglSetCloseFunc(PuglWindow* window, PuglCloseFunc closeFunc) +puglSetCloseFunc(PuglView* view, PuglCloseFunc closeFunc) { - window->closeFunc = closeFunc; + view->closeFunc = closeFunc; } void -puglSetDisplayFunc(PuglWindow* window, PuglDisplayFunc displayFunc) +puglSetDisplayFunc(PuglView* view, PuglDisplayFunc displayFunc) { - window->displayFunc = displayFunc; + view->displayFunc = displayFunc; } void -puglSetKeyboardFunc(PuglWindow* window, PuglKeyboardFunc keyboardFunc) +puglSetKeyboardFunc(PuglView* view, PuglKeyboardFunc keyboardFunc) { - window->keyboardFunc = keyboardFunc; + view->keyboardFunc = keyboardFunc; } void -puglSetMotionFunc(PuglWindow* window, PuglMotionFunc motionFunc) +puglSetMotionFunc(PuglView* view, PuglMotionFunc motionFunc) { - window->motionFunc = motionFunc; + view->motionFunc = motionFunc; } void -puglSetMouseFunc(PuglWindow* window, PuglMouseFunc mouseFunc) +puglSetMouseFunc(PuglView* view, PuglMouseFunc mouseFunc) { - window->mouseFunc = mouseFunc; + view->mouseFunc = mouseFunc; } void -puglSetReshapeFunc(PuglWindow* window, PuglReshapeFunc reshapeFunc) +puglSetReshapeFunc(PuglView* view, PuglReshapeFunc reshapeFunc) { - window->reshapeFunc = reshapeFunc; + view->reshapeFunc = reshapeFunc; } void -puglSetScrollFunc(PuglWindow* window, PuglScrollFunc scrollFunc) +puglSetScrollFunc(PuglView* view, PuglScrollFunc scrollFunc) { - window->scrollFunc = scrollFunc; + view->scrollFunc = scrollFunc; } -- cgit v1.2.3