Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)

option(TINY_UI_SAMPLES "The build will create the samples." ON)

Expand Down
3 changes: 2 additions & 1 deletion src/backends/sdl2_renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@
return ResultOk;
}

ret_code Renderer::drawText(Context &ctx, const char *string, Font *font, const Rect &r, const Color4 &fgC, const Color4 &bgC, Alignment alignment) {
ret_code Renderer::drawText(Context &ctx, const char *string, Font *font, const Rect &r, const Color4 &fgC,
const Color4 &bgC, Alignment alignment) {

Check warning on line 200 in src/backends/sdl2_renderer.cpp

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove the unused parameter "bgC", make it unnamed, or declare it "[[maybe_unused]]".

See more on https://sonarcloud.io/project/issues?id=kimkulling_tiny_ui&issues=AZ14WxcMpusSX9i-c3kV&open=AZ14WxcMpusSX9i-c3kV&pullRequest=28
if (string == nullptr) {
return InvalidHandle;
}
Expand Down
Loading