Grid edit tool, grid menu, and bookmark menu improved
This commit is contained in:
parent
ffc9d42c5b
commit
47232ec7e9
8 changed files with 179 additions and 74 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "GridManager.hpp"
|
||||
#include "World.hpp"
|
||||
|
||||
GridManager::GridManager(World& w):
|
||||
world(w) {}
|
||||
|
|
@ -8,6 +9,7 @@ void GridManager::init_client_callbacks() {
|
|||
|
||||
void GridManager::add_grid(const std::string& name) {
|
||||
WorldGrid g;
|
||||
g.color = color_mul_alpha(convert_vec4<Vector4f>(world.canvasTheme.toolFrontColor), 0.6f);
|
||||
grids[name] = g;
|
||||
changed = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue