Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 14:10
    mikke89 milestoned #220
  • 13:12

    mikke89 on backends_refactor

    Update comments (compare)

  • 12:03

    mikke89 on backends_refactor

    Move the global shortcut handle… (compare)

  • 11:56

    mikke89 on backends_refactor

    Add DL libraries to CMake Format SFML Start refactoring SFML/GL2 back… and 2 more (compare)

  • 10:27
    mikke89 labeled #318
  • 10:27
    mikke89 labeled #318
  • 10:27
    mikke89 commented #318
  • 10:20
    mikke89 commented #317
  • 10:19
    mikke89 closed #317
  • 10:19
    mikke89 commented #317
  • 10:19
    mikke89 labeled #317
  • 10:05
    ImYellowFish starred mikke89/RmlUi
  • 05:43
    ExoticMatter opened #318
  • May 23 23:44
    XiaoXianThis starred mikke89/RmlUi
  • May 23 22:22
    xland edited #317
  • May 23 12:25
    Kibande starred mikke89/RmlUi
  • May 23 08:56
    xland opened #317
  • May 23 08:44
  • May 23 08:20
    temurka1 starred mikke89/RmlUi
  • May 23 03:57
    xland closed #316
illwieckz
@illwieckz:matrix.org
[m]
I noticed some of our RML files does that, for example I have one file with that line:
<body id="menu_main" class="mainmenu" nohide onShow='welcome(event, document) Events.pushevent("play 2 sound/ui/heartbeat sound/ui/heartbeat1", event)'>
Notice the lone nohide
then our code just does HasAttribute( "nohide" )
but I noticed this was making some python xml parser to abort the parsing
it may be super convenient to just set attributes like that, and only check the presence of it
but are we abusing the format?
Michael R. P. Ragazzon
@mikke89
Hello. Plain attributes like that are perfectly valid, it's commonly used with some elements eg. the checked attribute. Not sure if it's strictly valid xml, but in rml (and html for that matter) it should be fine at least.
illwieckz
@illwieckz:matrix.org
[m]
ok thanks 👍
it makes easy to flag some markup without adding to add useless =""
Kolja
@pinguin999
Does RmlUi Supports Korean fonts?
Text like 계속하기 results in no text at all. :( (But I have a very old version)
Michael R. P. Ragazzon
@mikke89
@pinguin999 I haven't tested it, but I think it should work? Of course you need to load a font that supports it.
Kolja
@pinguin999
I have a font that supports it.
If you have a quick way to test it, it would be a big help.
Michael R. P. Ragazzon
@mikke89
@pinguin999 I just tested this now on my end it's working fine here for me.
image.png
Kolja
@pinguin999
Thanks a lot. Than I will update my RmlUi version.
Michael R. P. Ragazzon
@mikke89
Uhm, have any of you ever seen character escapes in CSS by forward slash? Or am I somehow misinterpreting this code: https://github.com/mikke89/RmlUi/blob/536c24b49304b9e6e1bd11b0d0f82d0452643924/Source/Core/PropertySpecification.cpp#L492
Looks like escape character logic, but that should instead be back slash right?
Quinn Romanek
@quinnromanek_gitlab
small question - is there a way to do recursion using data models? I.e. to display a tree structure or something of that kind
maybe with templates?
Michael R. P. Ragazzon
@mikke89
Hm, I don't know how we would declare something like recursion with data bindings. To me it doesn't really sound like a great idea either. You should take a look at the tree sample, that one shows you how you can do tree structures without recursion.
Quinn Romanek
@quinnromanek_gitlab
will have a look
Maximilian Stark
@Dakror
Hey @mikke89 , i want to add support for array textures. Would you rather add the array texture layer in each sprite definition or would you rather make a single spritesheet per layer basically?
Maximilian Stark
@Dakror
After starting to fiddle with the system i concluded for now to just generate sprite sheets per layer and handle the z texture component in my application render interface
Michael R. P. Ragazzon
@mikke89
@Dakror Yeah, one sprite sheet per layer sounds reasonable. In a sense though a sprite sheet already does the job that array textures do.
aquawicket
@aquawicket
@mikke89 about those / slashes in css.. I think they have been used in the past to "one-line" fontsize/lineHeight or some something. used as a parameter divider.
obsolete i.m.o
Michael R. P. Ragazzon
@mikke89
@aquawicket Ah, that's interesting. In this case though it seems to be used for escaping quote characters and such though. I already changed it to backslash to align with CSS.
aquawicket
@aquawicket
ok, finally got some space time to finnish up the rml attribute selector stuff. I've never used travis, it's pretty awesome though. Finds all kinda of stuff my compilers don't. So, is there a way to trigger those build scripts before commits? or just don't worry about it and update the branch until it's clean?
Michael R. P. Ragazzon
@mikke89
Great! There's no way to trigger builds outside of commits, I'd say just keep pushing commits until it's all green :) If you'd like you can do a commit cleanup (interactive rebase) when you feel you're done, or otherwise I'll just squash and merge it when accepting the PR.
Michael R. P. Ragazzon
@mikke89
Figured it was time for a new release! :)
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
hi
@mikke89 nice work.!
libsdl2 can be used as render ?
thx.
and mix with video ?
Michael R. P. Ragazzon
@mikke89
@zygon.sisyphus:matrix.org Hi! Yes, SDL2 should work just fine, there is in fact already a sample for this backend. Video support you have to add yourself.
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
thx
SDl2 render depends on OpenGL?
Michael R. P. Ragazzon
@mikke89
The one in the sample does that, yes.
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
on windows/msys2 I have some issues with glew32 link, is normal ? it looks like cmake can't find the lib use glu32 not glw32
sdl2 and sfml samples can't compile with mingw64
Michael R. P. Ragazzon
@mikke89
Ugh, yeah, I've had a lot of trouble linking glew with CMake as well. What seems to be reliable for me is manually passing the paths to cmake. Eg. when calling CMake pass something like cmake <...> -DGLEW_INCLUDE_DIR=C:/msys64/mingw64/include/GL -DGLEW_LIBRARIES=C:/msys64/mingw64/lib/libglew32.dll.a
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
why it depends on GL ? why not only libsdl2?
and let libsdl take care of this
what I'm trying to do in to mix lite-xl.github.io wit rmlui and lua ( or wasm )
( + luajit )
Michael R. P. Ragazzon
@mikke89
@zygon.sisyphus:matrix.org Historically, SDL2 didn't have a way to render arbitrary geometry. However now that this is added just recently, this PR does exactly what you want: mikke89/RmlUi#252
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
THX