Compare commits
No commits in common. "e4285bd48bb353c21a33fca84b8bf6a76f01bfeb" and "5433fd9b1dd9238260be0a37317610c467fd0206" have entirely different histories.
e4285bd48b
...
5433fd9b1d
@ -21,7 +21,8 @@ TileSheetEditorView::TileSheetEditorView(turbine::Context &ctx, ox::StringView p
|
|||||||
}
|
}
|
||||||
|
|
||||||
void TileSheetEditorView::draw() noexcept {
|
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);
|
glClear(GL_COLOR_BUFFER_BIT);
|
||||||
m_pixelsDrawer.draw(updated(), m_scrollOffset);
|
m_pixelsDrawer.draw(updated(), m_scrollOffset);
|
||||||
m_pixelGridDrawer.draw(updated(), m_scrollOffset);
|
m_pixelGridDrawer.draw(updated(), m_scrollOffset);
|
||||||
|
@ -64,7 +64,7 @@ class Project {
|
|||||||
ox::String const&projectPath() const noexcept;
|
ox::String const&projectPath() const noexcept;
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
ox::FileSystem &romFs() noexcept;
|
ox::FileSystem *romFs() noexcept;
|
||||||
|
|
||||||
ox::Error mkdir(ox::CRStringView path) const noexcept;
|
ox::Error mkdir(ox::CRStringView path) const noexcept;
|
||||||
|
|
||||||
|
@ -51,8 +51,8 @@ ox::String const&Project::projectPath() const noexcept {
|
|||||||
return m_path;
|
return m_path;
|
||||||
}
|
}
|
||||||
|
|
||||||
ox::FileSystem &Project::romFs() noexcept {
|
ox::FileSystem *Project::romFs() noexcept {
|
||||||
return m_fs;
|
return &m_fs;
|
||||||
}
|
}
|
||||||
|
|
||||||
ox::Error Project::mkdir(ox::CRStringView path) const noexcept {
|
ox::Error Project::mkdir(ox::CRStringView path) const noexcept {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user