diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2025-03-20 15:12:37 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2025-03-20 15:12:37 -0300 |
commit | 32f4966e8d3e824619fabbd225ee8e74b62be7c7 (patch) | |
tree | 1bd61a9459b32b48e81279e99c33180312f7d1a5 /gui/radio-receiver.c | |
parent | b1b2b791f55c808483e404e5c35045506432a400 (diff) |
Add a button to select audio output
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) { |