I'm trying to port HB_GTI_CLOSABLE and HB_GTI_PALETTE to gtxwc.c but I'm finding that's much more complicated than I expected.
My aim is to have a compatible palette definitions between gtwvt (gtwvg), gtxwc and putty/pterm ( gttrm ). Clearly I cannot control from the apps the colours of the terminal based programs so I'd like to adopt putty/pterm standard. They defines colours as resources ( or via putty gui in the Win registry ) like: pterm.Colour0: 187,187,187 pterm.Colour1: 255,255,255 .... pterm.Colour15: 85,85,255 pterm.Colour16: 187,0,187 For gtwvt/gtxwc apps I think about an ini like: [palette0] Colour0=187,187,187 ... Colour16=187,0,187 But it seems that gtxwc needs colors in the form "rgb:hh/hh/hh" to get the color value from the X server. Any suggestion? best regards, Lorenzo _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour