wxdragon-sys 0.9.16

Raw FFI bindings to libwxdragon (which statically links wxWidgets).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef WXD_GAUGE_H
#define WXD_GAUGE_H

#include "../wxd_types.h"

// --- Gauge Functions ---
WXD_EXPORTED wxd_Gauge_t*
wxd_Gauge_Create(wxd_Window_t* parent, wxd_Id id, int range, int x, int y, int w, int h,
                 wxd_Style_t style);
WXD_EXPORTED void
wxd_Gauge_SetRange(wxd_Gauge_t* self, int range);
WXD_EXPORTED void
wxd_Gauge_SetValue(wxd_Gauge_t* self, int value);
WXD_EXPORTED int
wxd_Gauge_GetValue(const wxd_Gauge_t* self);

#endif // WXD_GAUGE_H