/dports/devel/godot2-tools/godot-2.1.6-stable/editor/plugins/ |
H A D | texture_region_editor_plugin.cpp | 74 if (snap_separation.x == 0) in _region_draw() 89 …edit_draw->draw_rect(Rect2(i - snap_separation.x * draw_zoom, 0, snap_separation.x * draw_zoom, s.… in _region_draw() 95 if (snap_separation.y == 0) in _region_draw() 110 …edit_draw->draw_rect(Rect2(0, i - snap_separation.y * draw_zoom, s.width, snap_separation.y * draw… in _region_draw() 539 snap_separation.x = p_val; in _set_snap_sep_x() 544 snap_separation.y = p_val; in _set_snap_sep_y() 776 snap_separation = Vector2(0, 0); in TextureRegionEditor() 854 sb_sep_x->set_val(snap_separation.x); in TextureRegionEditor() 863 sb_sep_y->set_val(snap_separation.y); in TextureRegionEditor() 935 state["snap_separation"] = region_editor->snap_separation; in get_state() [all …]
|
H A D | texture_region_editor_plugin.h | 83 Vector2 snap_separation; variable
|
/dports/devel/godot2/godot-2.1.6-stable/editor/plugins/ |
H A D | texture_region_editor_plugin.cpp | 74 if (snap_separation.x == 0) in _region_draw() 89 …edit_draw->draw_rect(Rect2(i - snap_separation.x * draw_zoom, 0, snap_separation.x * draw_zoom, s.… in _region_draw() 95 if (snap_separation.y == 0) in _region_draw() 110 …edit_draw->draw_rect(Rect2(0, i - snap_separation.y * draw_zoom, s.width, snap_separation.y * draw… in _region_draw() 539 snap_separation.x = p_val; in _set_snap_sep_x() 544 snap_separation.y = p_val; in _set_snap_sep_y() 776 snap_separation = Vector2(0, 0); in TextureRegionEditor() 854 sb_sep_x->set_val(snap_separation.x); in TextureRegionEditor() 863 sb_sep_y->set_val(snap_separation.y); in TextureRegionEditor() 935 state["snap_separation"] = region_editor->snap_separation; in get_state() [all …]
|
H A D | texture_region_editor_plugin.h | 83 Vector2 snap_separation; variable
|
/dports/devel/godot-tools/godot-3.2.3-stable/editor/plugins/ |
H A D | texture_region_editor_plugin.cpp | 81 if (snap_separation.x == 0) in _region_draw() 96 …edit_draw->draw_rect(Rect2(i - snap_separation.x * draw_zoom, 0, snap_separation.x * draw_zoom, s.… in _region_draw() 102 if (snap_separation.y == 0) in _region_draw() 117 …edit_draw->draw_rect(Rect2(0, i - snap_separation.y * draw_zoom, s.width, snap_separation.y * draw… in _region_draw() 607 snap_separation.x = p_val; in _set_snap_sep_x() 612 snap_separation.y = p_val; in _set_snap_sep_y() 921 snap_separation = Vector2(0, 0); in TextureRegionEditor() 992 sb_sep_x->set_value(snap_separation.x); in TextureRegionEditor() 1001 sb_sep_y->set_value(snap_separation.y); in TextureRegionEditor() 1083 state["snap_separation"] = region_editor->snap_separation; in get_state() [all …]
|
H A D | texture_region_editor_plugin.h | 85 Vector2 snap_separation; variable
|
H A D | tile_set_editor_plugin.cpp | 2357 snap_separation.x = CLAMP(p_val.x, 0, 256); in _set_snap_sep() 2358 snap_separation.y = CLAMP(p_val.y, 0, 256); in _set_snap_sep() 2543 spacing = snap_separation.x; in draw_edited_region_subdivision() 2583 if (snap_separation.x != 0) { in draw_grid_snap() 2586 last_p += snap_separation.x; in draw_grid_snap() 2602 if (snap_separation.y != 0) { in draw_grid_snap() 2605 last_p += snap_separation.y; in draw_grid_snap() 3313 grid_coord *= (snap_step + snap_separation); in update_edited_region() 3320 grid_coord *= (snap_step + snap_separation); in update_edited_region() 3443 r_ret = tileset_editor->snap_separation; in _get() [all …]
|
H A D | tile_set_editor_plugin.h | 132 Vector2 snap_separation; variable
|
/dports/devel/godot/godot-3.2.3-stable/editor/plugins/ |
H A D | texture_region_editor_plugin.cpp | 81 if (snap_separation.x == 0) in _region_draw() 96 …edit_draw->draw_rect(Rect2(i - snap_separation.x * draw_zoom, 0, snap_separation.x * draw_zoom, s.… in _region_draw() 102 if (snap_separation.y == 0) in _region_draw() 117 …edit_draw->draw_rect(Rect2(0, i - snap_separation.y * draw_zoom, s.width, snap_separation.y * draw… in _region_draw() 607 snap_separation.x = p_val; in _set_snap_sep_x() 612 snap_separation.y = p_val; in _set_snap_sep_y() 921 snap_separation = Vector2(0, 0); in TextureRegionEditor() 992 sb_sep_x->set_value(snap_separation.x); in TextureRegionEditor() 1001 sb_sep_y->set_value(snap_separation.y); in TextureRegionEditor() 1083 state["snap_separation"] = region_editor->snap_separation; in get_state() [all …]
|
H A D | texture_region_editor_plugin.h | 85 Vector2 snap_separation; variable
|
H A D | tile_set_editor_plugin.cpp | 2357 snap_separation.x = CLAMP(p_val.x, 0, 256); in _set_snap_sep() 2358 snap_separation.y = CLAMP(p_val.y, 0, 256); in _set_snap_sep() 2543 spacing = snap_separation.x; in draw_edited_region_subdivision() 2583 if (snap_separation.x != 0) { in draw_grid_snap() 2586 last_p += snap_separation.x; in draw_grid_snap() 2602 if (snap_separation.y != 0) { in draw_grid_snap() 2605 last_p += snap_separation.y; in draw_grid_snap() 3313 grid_coord *= (snap_step + snap_separation); in update_edited_region() 3320 grid_coord *= (snap_step + snap_separation); in update_edited_region() 3443 r_ret = tileset_editor->snap_separation; in _get() [all …]
|
H A D | tile_set_editor_plugin.h | 132 Vector2 snap_separation; variable
|