Skip to content

Commit 159b601

Browse files
committed
fix no pch issues
1 parent 7536cde commit 159b601

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

src/pages/Attributes.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include <misc/cpp/imgui_stdlib.h>
55
#include <Geode/binding/CCMenuItemSpriteExtra.hpp>
66
#include "../platform/utils.hpp"
7+
#include <ccTypes.h>
8+
#include <Geode/ui/Layout.hpp>
79

810
using namespace geode::prelude;
911

@@ -132,7 +134,7 @@ void DevTools::drawNodeAttributes(CCNode* node) {
132134
auto color = rgbaNode->getColor();
133135
float _color[4] = { color.r / 255.f, color.g / 255.f, color.b / 255.f, rgbaNode->getOpacity() / 255.f };
134136
if (ImGui::ColorEdit4("Color", _color)) {
135-
rgbaNode->setColor({
137+
rgbaNode->setColor(ccColor3B {
136138
static_cast<GLubyte>(_color[0] * 255),
137139
static_cast<GLubyte>(_color[1] * 255),
138140
static_cast<GLubyte>(_color[2] * 255)

src/pages/GeometryDash.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <Geode/utils/ranges.hpp>
55
#include <Geode/binding/FLAlertLayer.hpp>
66
#include <Geode/binding/GJDropDownLayer.hpp>
7+
#include <Geode/ui/Layout.hpp>
78

89
void drawRowAxisArrow(
910
ImDrawList& foreground,
@@ -285,8 +286,8 @@ void DevTools::drawGD(GLRenderCtx* gdCtx) {
285286

286287
auto pad = ImGui::GetStyle().FramePadding.x;
287288

288-
auto winPos = ImGui::GetCursorScreenPos();
289-
auto winSize = ImGui::GetContentRegionAvail();
289+
auto winPos = ImGui::GetCursorScreenPos();
290+
auto winSize = ImGui::GetContentRegionAvail();
290291

291292
ImVec2 imgSize = {
292293
(winSize.y - pad * 2) * ratio,

src/pages/Settings.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <Geode/modify/AppDelegate.hpp>
77
#include <fmod.hpp>
88
#include <numeric>
9+
#include <Geode/binding/GameManager.hpp>
910

1011
using namespace geode::prelude;
1112

0 commit comments

Comments
 (0)