diff options
Diffstat (limited to 'gui/radio-receiver.c')
-rw-r--r-- | gui/radio-receiver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/radio-receiver.c b/gui/radio-receiver.c index 136b45f..defd419 100644 --- a/gui/radio-receiver.c +++ b/gui/radio-receiver.c @@ -61,6 +61,8 @@ extern void fp_set_dimensions(int x, int y, int width, int height); extern void fm_set_dimensions(int x, int y, int width, int height); [[clang::import_module("toggle-widget")]] [[clang::import_name("set-dimensions")]] extern void mode_set_dimensions(int x, int y, int width, int height); +[[clang::import_module("audio-device-widget")]] [[clang::import_name("set-dimensions")]] +extern void audio_device_set_dimensions(int x, int y, int width, int height); #define BACKGROUND_WIDTH 200 #define BACKGROUND_HEIGHT 100 @@ -79,6 +81,7 @@ void init() { vp_set_dimensions(base_x + 100 - 40, base_y + 20, 20, 20); vm_set_dimensions(base_x + 120 - 40, base_y + 20, 20, 20); mode_set_dimensions(base_x + 100 - 100, base_y + 40, 100, 20); + audio_device_set_dimensions(base_x, base_y + 60, 200, 20); } void render(int mouseX, int mouseY, float delta) { |