Expose milepost's UI system to apps #7

Closed
opened 2023-06-26 10:01:26 +00:00 by MartinFouilleul · 3 comments
Collaborator
  • Add a new handler OnEvent() that apps can declare to get raw mp_event events from the runtime.
  • Compile input_state.c into the orca sdk.
  • Compile the UI system into the orca sdk.
* Add a new handler `OnEvent()` that apps can declare to get raw `mp_event` events from the runtime. * Compile `input_state.c` into the orca sdk. * Compile the UI system into the orca sdk.
Author
Collaborator

@bvisness Since I'll likely spend a couple days on the opengl 2D renderer, could you take a stab at this when you're finished with build stuff?
This should be a matter of making sure input_state.c and ui.c properly compile to wasm and adding an event handler.
This would also be a good way of getting familiar with milepost's UI system, and would fuel futher discussion about the kind of UI features we want in orca.

@bvisness Since I'll likely spend a couple days on the opengl 2D renderer, could you take a stab at this when you're finished with build stuff? This should be a matter of making sure `input_state.c` and `ui.c` properly compile to wasm and adding an event handler. This would also be a good way of getting familiar with milepost's UI system, and would fuel futher discussion about the kind of UI features we want in orca.
Owner

Sure, sounds good.

Sure, sounds good.
bvisness self-assigned this 2023-07-03 16:05:58 +00:00
Author
Collaborator

As we told yesterday Ilia will work on this, and expand the default widgets collection, so you can focus on the dev experience and examples/documentation.
What you could do UI wise though is make a microui example, so that app devs can use it if they're already familiar and it suits their needs, plus it will also give us a point of comparison.

As we told yesterday Ilia will work on this, and expand the default widgets collection, so you can focus on the dev experience and examples/documentation. What you could do UI wise though is make a microui example, so that app devs can use it if they're already familiar and it suits their needs, plus it will also give us a point of comparison.
bvisness removed their assignment 2023-07-04 16:42:17 +00:00
bvisness added this to the Jam MVP milestone 2023-07-04 21:25:54 +00:00
ilidemi was assigned by MartinFouilleul 2023-07-07 08:50:45 +00:00
Sign in to join this conversation.
No Label
macOS
windows
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hmn/orca#7
No description provided.