Skip to content

Commit

Permalink
rebase master
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlee committed Jan 14, 2025
1 parent e15cc6d commit bfaf503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions system/ui/raylib/wifi_manager/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "third_party/raylib/include/raygui.h"

int main() {
initApp("Wi-Fi Manager", 30);
App app("Wi-Fi Manager", 30);

WifiManager wifi_manager;
while (!WindowShouldClose()) {
Expand All @@ -13,7 +13,5 @@ int main() {
wifi_manager.draw({40, 100, GetScreenWidth() - 80.0f, GetScreenHeight() - 180.0f});
EndDrawing();
}

CloseWindow();
return 0;
}
2 changes: 1 addition & 1 deletion system/ui/raylib/wifi_manager/wifi_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "third_party/raylib/include/raygui.h"

WifiManager::WifiManager() {
GuiSetFont(getFont());
GuiSetFont(pApp->getFont());
GuiSetStyle(DEFAULT, TEXT_SIZE, 40);
GuiSetStyle(DEFAULT, BACKGROUND_COLOR, ColorToInt({30, 30, 30, 255}));
GuiSetStyle(DEFAULT, BASE_COLOR_NORMAL, ColorToInt({50, 50, 50, 255}));
Expand Down

0 comments on commit bfaf503

Please sign in to comment.