palette based GUI

hello,

how it’s about user-defined palettes under photon e.g. if i want to switch
the look and feel of me GUI be simply changing the palette to use?
2)
why could PdGetPalette() always fail? and how to switch into something
like a user palette mode?

I tried it by setting my own palette via PgSetPalette() and after that I
tried to access this palette simply with PgSet…Color(X|Pg_INDEX_COLOR) -
but nothing happens :frowning:

thanks!

regards,
mirtch