mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-07 01:11:22 +08:00
rename ggwave-gui -> waver
This commit is contained in:
@@ -71,8 +71,8 @@ if (GGWAVE_SUPPORT_SDL2)
|
||||
else()
|
||||
# non-emscripten sdl2 examples
|
||||
|
||||
add_subdirectory(ggwave-cli)
|
||||
add_subdirectory(ggwave-gui)
|
||||
add_subdirectory(simple-rx)
|
||||
add_subdirectory(ggwave-cli)
|
||||
add_subdirectory(waver)
|
||||
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://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 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_Window * window = SDL_CreateWindow(windowTitle, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, windowX, windowY, window_flags);
|
||||
Reference in New Issue
Block a user