Skip to content

Commit 877e07e

Browse files
authored
Implement setSelectedColor (#65)
Implement setSelectedColor
1 parent bb7b6e6 commit 877e07e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

library/graphics/Grid.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ inline namespace v1 {
6767
m_vertices[i].color = m_color;
6868
}
6969
}
70+
71+
void Grid::setSelectedColor(const Color4f& color){
72+
m_selectedColor=color;
73+
}
7074

7175
void Grid::hover(Vector2f pointer) {
7276
if (!m_properties) {

0 commit comments

Comments
 (0)