Compare commits

..

No commits in common. "e4285bd48bb353c21a33fca84b8bf6a76f01bfeb" and "5433fd9b1dd9238260be0a37317610c467fd0206" have entirely different histories.

3 changed files with 5 additions and 4 deletions

View File

@ -21,7 +21,8 @@ TileSheetEditorView::TileSheetEditorView(turbine::Context &ctx, ox::StringView p
}
void TileSheetEditorView::draw() noexcept {
glClearColor(0.37f, 0.37f, 0.37f, 1.f);
constexpr Color32 bgColor = 0x717d7e;
glClearColor(redf(bgColor), greenf(bgColor), bluef(bgColor), 1.f);
glClear(GL_COLOR_BUFFER_BIT);
m_pixelsDrawer.draw(updated(), m_scrollOffset);
m_pixelGridDrawer.draw(updated(), m_scrollOffset);

View File

@ -64,7 +64,7 @@ class Project {
ox::String const&projectPath() const noexcept;
[[nodiscard]]
ox::FileSystem &romFs() noexcept;
ox::FileSystem *romFs() noexcept;
ox::Error mkdir(ox::CRStringView path) const noexcept;

View File

@ -51,8 +51,8 @@ ox::String const&Project::projectPath() const noexcept {
return m_path;
}
ox::FileSystem &Project::romFs() noexcept {
return m_fs;
ox::FileSystem *Project::romFs() noexcept {
return &m_fs;
}
ox::Error Project::mkdir(ox::CRStringView path) const noexcept {