mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-04-04 20:56:50 +08:00
rename ggwave-gui -> waver
This commit is contained in:
@@ -12,7 +12,7 @@ Click on the images below to hear what it sounds like:
|
|||||||
|
|
||||||
<a href="https://youtu.be/S2YdGefZiy4"><img width="100%" src="media/ggwave0.gif"></img></a>
|
<a href="https://youtu.be/S2YdGefZiy4"><img width="100%" src="media/ggwave0.gif"></img></a>
|
||||||
|
|
||||||
<a href="https://youtu.be/KWlcgZHJhGQ"><img width="100%" src="media/ggwave-gui0-fast.gif"></img></a>
|
<a href="https://youtu.be/KWlcgZHJhGQ"><img width="100%" src="media/waver-0-fast.gif"></img></a>
|
||||||
|
|
||||||
## Details
|
## Details
|
||||||
|
|
||||||
@@ -60,8 +60,8 @@ The [examples](https://github.com/ggerganov/ggwave/blob/master/examples/) folder
|
|||||||
| ------- | ----------- |
|
| ------- | ----------- |
|
||||||
| [simple-rx](https://github.com/ggerganov/ggwave/blob/master/examples/simple-rx) | A very basic receive-only program |
|
| [simple-rx](https://github.com/ggerganov/ggwave/blob/master/examples/simple-rx) | A very basic receive-only program |
|
||||||
| [ggwave-cli](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-cli) | A command line tool for sending/receiving data through sound |
|
| [ggwave-cli](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-cli) | A command line tool for sending/receiving data through sound |
|
||||||
| [ggwave-gui](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-gui) | A GUI tool for sending/receiving data through sound |
|
|
||||||
| [ggwave-wasm](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-wasm) | a WebAssembly module for web applications |
|
| [ggwave-wasm](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-wasm) | a WebAssembly module for web applications |
|
||||||
|
| [waver](https://github.com/ggerganov/ggwave/blob/master/examples/waver) | A GUI tool for sending/receiving data through sound |
|
||||||
|
|
||||||
Other projects using **ggwave** or one of its prototypes:
|
Other projects using **ggwave** or one of its prototypes:
|
||||||
|
|
||||||
@@ -75,10 +75,10 @@ Other projects using **ggwave** or one of its prototypes:
|
|||||||
|
|
||||||
[Ubuntu]
|
[Ubuntu]
|
||||||
$ sudo apt install libsdl2-dev
|
$ sudo apt install libsdl2-dev
|
||||||
|
|
||||||
[Mac OS with brew]
|
[Mac OS with brew]
|
||||||
$ brew install sdl2
|
$ brew install sdl2
|
||||||
|
|
||||||
[MSYS2]
|
[MSYS2]
|
||||||
$ pacman -S git cmake make mingw-w64-x86_64-dlfcn mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL2
|
$ pacman -S git cmake make mingw-w64-x86_64-dlfcn mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL2
|
||||||
|
|
||||||
|
|||||||
@@ -71,8 +71,8 @@ if (GGWAVE_SUPPORT_SDL2)
|
|||||||
else()
|
else()
|
||||||
# non-emscripten sdl2 examples
|
# non-emscripten sdl2 examples
|
||||||
|
|
||||||
add_subdirectory(ggwave-cli)
|
|
||||||
add_subdirectory(ggwave-gui)
|
|
||||||
add_subdirectory(simple-rx)
|
add_subdirectory(simple-rx)
|
||||||
|
add_subdirectory(ggwave-cli)
|
||||||
|
add_subdirectory(waver)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
add_executable(ggwave-gui main.cpp common.cpp interface.cpp interface-unix.cpp)
|
|
||||||
|
|
||||||
target_include_directories(ggwave-gui PRIVATE
|
|
||||||
..
|
|
||||||
${SDL2_INCLUDE_DIRS}
|
|
||||||
)
|
|
||||||
|
|
||||||
target_link_libraries(ggwave-gui PRIVATE
|
|
||||||
ggwave
|
|
||||||
ggwave-common
|
|
||||||
ggwave-common-sdl2
|
|
||||||
ggsock
|
|
||||||
imgui-sdl2
|
|
||||||
${CMAKE_THREAD_LIBS_INIT}
|
|
||||||
)
|
|
||||||
15
examples/waver/CMakeLists.txt
Normal file
15
examples/waver/CMakeLists.txt
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
add_executable(waver main.cpp common.cpp interface.cpp interface-unix.cpp)
|
||||||
|
|
||||||
|
target_include_directories(waver PRIVATE
|
||||||
|
..
|
||||||
|
${SDL2_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
target_link_libraries(waver PRIVATE
|
||||||
|
ggwave
|
||||||
|
ggwave-common
|
||||||
|
ggwave-common-sdl2
|
||||||
|
ggsock
|
||||||
|
imgui-sdl2
|
||||||
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
|
)
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
# ggwave-gui
|
# waver
|
||||||
|
|
||||||
Simple GUI program using `ggwave`. The UI is the same as in the `Waver` mobile applications.
|
Simple GUI program using `ggwave`. The UI is the same as in the `Waver: Data Over Sound` mobile applications.
|
||||||
|
|
||||||
<a href="https://youtu.be/KWlcgZHJhGQ"><img src="../../media/ggwave-gui0-fast.gif"></a>
|
<a href="https://youtu.be/KWlcgZHJhGQ"><img src="../../media/waver-0-fast.gif"></a>
|
||||||
|
|
||||||
<a href="https://apps.apple.com/us/app/waver-data-over-sound/id1543607865?itsct=apps_box&itscg=30200&ign-itsct=apps_box#?platform=iphone" style="display: inline-block; overflow: hidden; border-radius: 13px; width: 250px; height: 83px;"><img height="60px" src="https://tools.applemediaservices.com/api/badges/download-on-the-app-store/white/en-US?size=250x83&releaseDate=1607558400&h=8e5fafc57929918f684abc83ff8311ef" alt="Download on the App Store"></a>
|
<a href="https://apps.apple.com/us/app/waver-data-over-sound/id1543607865?itsct=apps_box&itscg=30200&ign-itsct=apps_box#?platform=iphone" style="display: inline-block; overflow: hidden; border-radius: 13px; width: 250px; height: 83px;"><img height="60px" src="https://tools.applemediaservices.com/api/badges/download-on-the-app-store/white/en-US?size=250x83&releaseDate=1607558400&h=8e5fafc57929918f684abc83ff8311ef" alt="Download on the App Store"></a>
|
||||||
<a href='https://play.google.com/store/apps/details?id=com.ggerganov.Waver&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://i.imgur.com/BKDCbKv.png' height="60px"/></a>
|
<a href='https://play.google.com/store/apps/details?id=com.ggerganov.Waver&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://i.imgur.com/BKDCbKv.png' height="60px"/></a>
|
||||||
@@ -165,7 +165,7 @@ int main(int argc, char** argv) {
|
|||||||
//int windowX = scale*570;
|
//int windowX = scale*570;
|
||||||
//int windowY = scale*917;
|
//int windowY = scale*917;
|
||||||
|
|
||||||
const char * windowTitle = "ggwave-gui";
|
const char * windowTitle = "Waver";
|
||||||
|
|
||||||
SDL_WindowFlags window_flags = (SDL_WindowFlags)(SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI);
|
SDL_WindowFlags window_flags = (SDL_WindowFlags)(SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI);
|
||||||
SDL_Window * window = SDL_CreateWindow(windowTitle, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, windowX, windowY, window_flags);
|
SDL_Window * window = SDL_CreateWindow(windowTitle, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, windowX, windowY, window_flags);
|
||||||
|
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
Reference in New Issue
Block a user