aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/implementation.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-08-04 17:37:29 +0200
committerDavid Robillard <d@drobilla.net>2019-09-03 08:34:39 +0200
commit1c585b574df224e44c5063474e4577a3e749be05 (patch)
treee12932ffeefa8f3bfb38d278f6d38baf09a67063 /pugl/detail/implementation.c
parent7d72d835097ea87d53b0e439ac759ef956ed0432 (diff)
downloadpugl-1c585b574df224e44c5063474e4577a3e749be05.tar.gz
pugl-1c585b574df224e44c5063474e4577a3e749be05.tar.bz2
pugl-1c585b574df224e44c5063474e4577a3e749be05.zip
Use consistent naming conventions
Diffstat (limited to 'pugl/detail/implementation.c')
-rw-r--r--pugl/detail/implementation.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/pugl/detail/implementation.c b/pugl/detail/implementation.c
index 1b7d4a4..137bef9 100644
--- a/pugl/detail/implementation.c
+++ b/pugl/detail/implementation.c
@@ -146,21 +146,21 @@ puglInitWindowSize(PuglView* view, int width, int height)
void
puglInitWindowMinSize(PuglView* view, int width, int height)
{
- view->min_width = width;
- view->min_height = height;
+ view->minWidth = width;
+ view->minHeight = height;
}
void
puglInitWindowAspectRatio(PuglView* view,
- int min_x,
- int min_y,
- int max_x,
- int max_y)
+ int minX,
+ int minY,
+ int maxX,
+ int maxY)
{
- view->min_aspect_x = min_x;
- view->min_aspect_y = min_y;
- view->max_aspect_x = max_x;
- view->max_aspect_y = max_y;
+ view->minAspectX = minX;
+ view->minAspectY = minY;
+ view->maxAspectX = maxX;
+ view->maxAspectY = maxY;
}
void
@@ -188,7 +188,7 @@ puglInitResizable(PuglView* view, bool resizable)
void
puglInitTransientFor(PuglView* view, uintptr_t parent)
{
- view->transient_parent = parent;
+ view->transientParent = parent;
}
int