FuncDoodle
Loading...
Searching...
No Matches
ToolManager.h File Reference

Manages tools, tool state, and tool-related UI in FuncDoodle. More...

#include "Project/Frame.h"
#include "Asset/AssetLoader.h"
#include "Keybinds/Keybinds.h"
#include "Util/MacroUtils.h"
#include "Tool/Tool.h"

Go to the source code of this file.

Classes

class  FuncDoodle::ToolManager
 Manages tools in FuncDoodle. More...

Namespaces

namespace  FuncDoodle
 The FuncDoodle C++ namespace.

Detailed Description

Manages tools, tool state, and tool-related UI in FuncDoodle.

This file defines ToolManager, responsible for:

  • Tracking the currently selected drawing tool
  • Managing tool parameters (color, brush size, etc.)
  • Rendering tool UI elements
  • Handling tool-related keybinds and input updates
  • Updating cursor behavior based on active tool

ToolManager acts as the central bridge between user input, UI rendering, and editing tools such as pencil, fill, erase, etc.

This file defines ToolManager, responsible for:

  • Tool selection and registration
  • Tool rendering in the UI
  • Cursor updates based on selected tool
  • Tool keybind registration