Haven't worked with that library before, let us know if you have any issues integrating it. Most likely you won't need any specific support from the RmlUi side, the library is quite flexible so you should be able to integrate it from the client side.
@mikke89 yes I could decode and get the frame I guess I will face some issues to draw them in rmlui thanks for the help I will try to make it stable and send a commit to rmlui, lightweight mp4 files are extremely helpful for creating cool backgrounds.
Hey @mikke89 I am getting a formatting error with tables Element has a display type 'table-row-group', but is not located in a table. It will not be formatted. In element tbody < table.commandBox < body < #root#main
using the style sheet from https://mikke89.github.io/RmlUiDoc/pages/rcss/tables.html and my table is formatted as such
<table class='commandBox' data-model='commandModel'><tbody>
<tr class='commandLog'><td>{{commandLog}}</td></tr>
<tr class='commandInput'><td><input type='text' data-value='commandInput' /></td></tr>
</tbody></table>
I feel like I am missing something obvious (or if I need to change the table RCSS)
element->AddEventListener(Rml::EventId::Change, new Handler(...));
@mikke89 I have very simple RML and C++ which reproduces the issue:
<rml>
<head>
<link type="text/rcss" href="default.rcss"></link>
<style>
*{
font-size: 30dp
}
</style>
</head>
<body>
<main>
<p id="diag"></p>
<br></br>
<p>
Select Mesh<br />
<select id="sel">
<option selected>Cube</option>
<option>Cone</option>
<option>Cylinder</option>
<option>Sphere</option>
</select>
</p>
</main>
</body>
</rml>
struct SelectionEventListener : public Rml::EventListener{
void ProcessEvent(Rml::Event& evt) override{
cout << "selection event triggered" << endl;
}
};
doc->GetElementById("sel")->AddEventListener(Rml::EventId::Change, new SelectionEventListener);
struct BtnEventListener : public Rml::EventListener{
void ProcessEvent(Rml::Event& evt) override{
cout << "button event triggered" << endl;
}
};
doc->GetElementById("btn")->AddEventListener(Rml::EventId::Click, new BtnEventListener);
When run, "button event triggered" is printed while "selection event triggered" is not printed
I can try to put together a test app if necessary
select
element doesn't actually change when a new option is selected, and there is no resulting change
event. Not sure how this worked before, but I do think that the new behavior makes some sense, what do you think?