From adc925180be3a8b4a970c70c58ef6c3de6993458 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 23 Nov 2020 17:14:21 +0100 Subject: Rename puglShowWindow and puglHideWindow to puglShow an puglHide These names were confusing because a view is not necessarily a window. Since there's no room for ambiguity here, simply drop the superfluous word. --- src/implementation.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/implementation.c') diff --git a/src/implementation.c b/src/implementation.c index 35c4c26..23bfbde 100644 --- a/src/implementation.c +++ b/src/implementation.c @@ -289,6 +289,18 @@ puglDispatchEvents(PuglWorld* world) return puglUpdate(world, 0.0); } +PuglStatus +puglShowWindow(PuglView* view) +{ + return puglShow(view); +} + +PuglStatus +puglHideWindow(PuglView* view) +{ + return puglHide(view); +} + #endif PuglStatus -- cgit v1.2.1