Skip to content

Commit

Permalink
feat: Ultralight web UI implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
zpl-zak committed Dec 29, 2024
1 parent 42374d7 commit ccba202
Show file tree
Hide file tree
Showing 12 changed files with 1,298 additions and 1 deletion.
8 changes: 7 additions & 1 deletion code/framework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ set(FRAMEWORK_CLIENT_SRC

src/integrations/client/instance.cpp
src/integrations/client/networking/engine.cpp

src/gui/manager.cpp
src/gui/clipboard.cpp
src/gui/view.cpp
src/gui/sdk.cpp
src/gui/backend/view_d3d11.cpp
)

# Append the platform-dependent files to the related lists
Expand Down Expand Up @@ -157,7 +163,7 @@ if(WIN32)
target_link_directories(Framework PUBLIC ${CMAKE_SOURCE_DIR}/vendors/openssl/lib)
target_link_libraries(Framework ws2_32 dbghelp crypt32 winmm iphlpapi psapi userenv)

target_link_libraries(FrameworkClient DiscordSDK DearImGUI UltralightSDK)
target_link_libraries(FrameworkClient DiscordSDK DearImGUI UltralightSDK JavaScriptCorePP)

set(CLIENT_SHARED_LIBS minhook SteamSDK udis86)
target_link_libraries(FrameworkClient ${CLIENT_SHARED_LIBS} ${FREETYPE_LIBRARY})
Expand Down
4 changes: 4 additions & 0 deletions code/framework/src/graphics/renderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,9 @@ namespace Framework::Graphics {
bool IsInitialized() const {
return _initialized;
}

RendererBackend GetBackendType() const {
return _backend;
}
};
} // namespace Framework::Graphics
Loading

0 comments on commit ccba202

Please sign in to comment.