Home
last modified time | relevance | path

Searched refs:TOOL_ADD_OBJECT (Results 1 – 2 of 2) sorted by relevance

/dports/games/frogatto/frogatto-1.3.1/src/
H A Deditor.hpp131 …D_RECT, TOOL_SELECT_RECT, TOOL_MAGIC_WAND, TOOL_PENCIL, TOOL_PICKER, TOOL_ADD_OBJECT, TOOL_SELECT_… enumerator
250 bool editing_objects() const { return tool_ == TOOL_ADD_OBJECT || tool_ == TOOL_SELECT_OBJECT; } in editing_objects()
H A Deditor.cpp1180 const bool object_mode = (tool() == TOOL_ADD_OBJECT || tool() == TOOL_SELECT_OBJECT); in process()
1896 change_tool(TOOL_ADD_OBJECT); in handle_mouse_button_down()
1929 if(tool_ == TOOL_ADD_OBJECT) { in handle_mouse_button_down()
2024 if(!lvl_->editor_selection().empty() && tool() == TOOL_ADD_OBJECT) { in handle_mouse_button_down()
2046 if(tool() == TOOL_ADD_OBJECT && event.button == SDL_BUTTON_LEFT && !lvl_->editor_highlight()) { in handle_mouse_button_down()
2731 case TOOL_ADD_OBJECT: in tool()
2767 case TOOL_ADD_OBJECT: { in change_tool()
3024 if(tool() == TOOL_ADD_OBJECT && !lvl_->editor_highlight()) { in draw_gui()
3602 change_tool(TOOL_ADD_OBJECT); in create_new_object()