Mostly refactored out the common things for drag/drop so now just to refine how it's used and bring back moving the sprite around.
This commit is contained in:
parent
570b70ab0c
commit
be7b86a913
6 changed files with 17 additions and 13 deletions
|
@ -23,9 +23,8 @@ namespace gui {
|
|||
void update();
|
||||
bool mouse(float x, float y, bool hover);
|
||||
|
||||
|
||||
guecs::GrabSource& get_grab_source(DinkyECS::Entity entity);
|
||||
void commit_grab(DinkyECS::Entity slot_id);
|
||||
void remove_slot(DinkyECS::Entity slot_id);
|
||||
|
||||
guecs::DropTarget& get_drop_target(DinkyECS::Entity gui_id);
|
||||
bool place_slot(DinkyECS::Entity gui_id, DinkyECS::Entity world_entity);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue