You are browsing as a guest. Sign up (or log in) to start making projects!

1h 5m 18s logged

mostly ui stuff (and fighting windows wide chars)

yay pretty ui

editor ui theming ui blah blah idk what to call it

  • kinda cleaned up some stuff into proper members so the ui state doesn’t get all weird and persistent when you close the theme window
  • discarding changes: actually works now. closing the window used to revert colors but keep your staged font changes, which was dumb (didnt really cause issues since changes werent applied anyways unless you saved beforehand but still.)
  • font role indicators: added a little visual thingamabob where the font list now shows a star next to whatever font is actively set as the body font (also font name is now rendered in its proper font)
  • path tooltips: added a hover tooltip on the font list items that shows the full file path of the font
  • also some placeholder stuff in the code for searching the customization menu i might be implementing soon

windows compat

  • std::filesystem::path everything: went through and switched out the raw std::string usage for font paths inside FontConfig, replacing them with std::filesystem::path. this was purely because my windows ci build was failing. i was passing raw char strings around and doing weird string conversions, which completely blows up on windows because it expects wide chars for paths and i didnt consider that when i was being lazy and doing silly conversions and stuff because i just wanted to pass ez pz to a c library.
  • freetype & serialization cleanup: updated all the internal freetype helper functions (GetFontName, etc.) and the json theme serializer to play nice with the new paths instead of passing raw char pointers

kinda mostly just making it a lil more prettier

0
39

Comments 0

No comments yet. Be the first!