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
But anyways some Delphi-superhero has done all work for us
https://github.com/MahdiSafsafi/ImmersiveColors
https://github.com/MahdiSafsafi/ImmersiveColors
Tommi Prami Why do you think is strange ?
ReplyDeleteImmersive 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.
Also, "was just thinking that could these two sets of colors/API be added to same class and so"
ReplyDeleteCan you please explain more cause I didn't get your idea.
I mean add themes API colors also, way or other. So would be single class to provide all color info
ReplyDelete