Compare commits
2 Commits
5433fd9b1d
...
e4285bd48b
Author | SHA1 | Date | |
---|---|---|---|
e4285bd48b | |||
a76638cc86 |
@ -21,8 +21,7 @@ TileSheetEditorView::TileSheetEditorView(turbine::Context &ctx, ox::StringView p
|
||||
}
|
||||
|
||||
void TileSheetEditorView::draw() noexcept {
|
||||
constexpr Color32 bgColor = 0x717d7e;
|
||||
glClearColor(redf(bgColor), greenf(bgColor), bluef(bgColor), 1.f);
|
||||
glClearColor(0.37f, 0.37f, 0.37f, 1.f);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
m_pixelsDrawer.draw(updated(), m_scrollOffset);
|
||||
m_pixelGridDrawer.draw(updated(), m_scrollOffset);
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user