Figured out that I don't need a special screen, just send events to the component directly with OnEvent. However, you have to component->Add() or call Render(component, []) with it or else it's not considered a child.
This commit is contained in:
parent
e3cff8142c
commit
96ee16e598
9 changed files with 32 additions and 1078 deletions
|
@ -49,7 +49,6 @@ roguish = executable('roguish', [
|
|||
'render.cpp',
|
||||
'config.cpp',
|
||||
'save.cpp',
|
||||
'sfml_screen.cpp',
|
||||
'panel.cpp',
|
||||
],
|
||||
dependencies: dependencies)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue