Is it possible to get the color code from elements on the screen? Or can I get the codes directly out of the current theme?
I want to draw on canvas and use the same colors that are used by the current theme. For example buttons, background, text and a scrollbar shall be drawn in the same color that is used by the current theme.
One possibility would perhaps be to take a copy of the current canvas, save it into a file an reread the file an its content. But:This seems to be a bit complicated.
Is there an easy way to do this? Perhaps something like "get_color_at(x,y)"?

This seems to be a bit complicated.
Reply With Quote




