Make the sfml parts a separate dependency so you can use them if you want.
This commit is contained in:
parent
de0d957c66
commit
b7c49711b6
4 changed files with 47 additions and 31 deletions
|
@ -143,6 +143,7 @@ namespace guecs {
|
|||
|
||||
bool UI::mouse(float x, float y, bool hover) {
|
||||
int action_count = 0;
|
||||
// BUG: use lel::Parser.hit instead of this
|
||||
|
||||
query<lel::Cell>([&](auto ent, auto& cell) {
|
||||
if((x >= cell.x && x <= cell.x + cell.w) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue