This is just what I tried to find, but could not figure out what those colors are called :)

This is just what I tried to find, but could not figure out what those colors are called :)

But anyways some Delphi-superhero has done all work for us

https://github.com/MahdiSafsafi/ImmersiveColors
https://github.com/MahdiSafsafi/ImmersiveColors

Comments

  1. Tommi Prami Why do you think is strange ?
    Immersive colors are UNDOCUMENTED features and I was obliged to debug and disasm functions to know how they work ! I found that there is an internal table that holds types name. The table is a pointer to pointer of char !
    So we need to dereference the first pointer (PNativeInt(P)^) to get a null-terminated-string (PChar). And then we cast the PChar to string. At the end we trim the string to make sure that its not empty.

    ReplyDelete
  2. Also, "was just thinking that could these two sets of colors/API be added to same class and so"
    Can you please explain more cause I didn't get your idea.

    ReplyDelete
  3. I mean add themes API colors also, way or other. So would be single class to provide all color info

    ReplyDelete

Post a Comment