Page 1 of 1

[IDE Tool] SysColorRequester

Posted: Wed May 03, 2006 3:49 pm
by Flype
This tool displays all the 'system colors', and copy the color in the clipboard.
Sources for Purebasic 4.0+ are provided in the archive.

Download it here : SysColorRequester

Image

Posted: Wed May 03, 2006 3:57 pm
by ts-soft
nice tool, thx

Posted: Wed May 03, 2006 4:03 pm
by Flype
hi ts-soft,
can you translate this in german, please ?

( SysColorRequester_i18n.pb )

Code: Select all

    lang(00) = "SysColors Requester"
    lang(01) = "Copy to clipboard"
    lang(02) = "Color Requester"
    lang(03) = "Cancel"
    lang(04) = "Color"
    lang(05) = "Constant"
    lang(06) = "Copy as $BBGGRR"
    lang(07) = "Copy as $RRGGBB"
    lang(08) = "Copy as RGB(r,g,b)"
:?: shouldn't be too hard :D

Posted: Wed May 03, 2006 4:06 pm
by tomijan
thx, flype!
very usefull plugin (for me)
tom

Posted: Wed May 03, 2006 4:11 pm
by Winduff

Code: Select all

    lang(00) = "SysFarben Requester" ;Or your programname?!
    lang(01) = "Kopieren" ;This is the usual Windows text for "Copy to clipboard"
    lang(02) = "Farb-Requester" ;we know requester as requester :-P
    lang(03) = "Abbrechen"
    lang(04) = "Farbe"
    lang(05) = "Konstant"
    lang(06) = "Als $BBGGRR kopieren"
    lang(07) = "Als $RRGGBB kopieren"
    lang(08) = "Als RGB(r,g,b) kopieren" 
There ya go ;-) Dunno if it fits to the program though, can be different in connection to other things... ;-)

Posted: Wed May 03, 2006 4:19 pm
by Flype
thank you very much - files updated.

( and spanish, maybe num3 :D ? )

Posted: Wed May 03, 2006 5:05 pm
by ts-soft

Code: Select all

  Case #LANG_GERMAN
    lang(00) = "SysColor Requester"
    lang(01) = "Kopieren"
    lang(02) = "Color-Requester"
    lang(03) = "Abbrechen"
    lang(04) = "Farbe"
    lang(05) = "Konstante"
    lang(06) = "Als $BBGGRR kopieren"
    lang(07) = "Als $RRGGBB kopieren"
    lang(08) = "Als RGB(r,g,b) kopieren" 
imho, a bit better my translation :wink:

Posted: Wed May 03, 2006 5:16 pm
by Winduff
ts-soft wrote:

Code: Select all

  Case #LANG_GERMAN
    lang(00) = "SysColor Requester"
    lang(01) = "Kopieren"
    lang(02) = "Color-Requester"
    lang(03) = "Abbrechen"
    lang(04) = "Farbe"
    lang(05) = "Konstante"
    lang(06) = "Als $BBGGRR kopieren"
    lang(07) = "Als $RRGGBB kopieren"
    lang(08) = "Als RGB(r,g,b) kopieren" 
imho, a bit better my translation :wink:
Stole my translation ey? :twisted:

Posted: Wed May 03, 2006 6:38 pm
by Flype
hehe, stolen or not, file is updated, thanks to both :wink:

Posted: Wed May 03, 2006 10:51 pm
by va!n
nice work! a tool that should be included to the IDE ^^

Posted: Thu May 04, 2006 1:33 am
by Flype
thank you va!n.

new version (1.2) with more constantes (all i think).
they are also sorted in alpha order
and a handy constant mini-documentation.

:wink:

( there are 31 new strings to translate :? )

Posted: Thu May 04, 2006 9:32 am
by einander
Thx Flype
nice tool!

Spanish translation:

lang(00) = "Selector de colores del sistema"
lang(01) = "Copiar al portapapeles"
lang(02) = "Selector de colores"
lang(03) = "Cancelar"
lang(04) = "Color"
lang(05) = "Constante"
lang(06) = "Copiar como $BBGGRR"
lang(07) = "Copiar como $RRGGBB"
lang(08 ) = "Copiar como RGB(r,g,b)"

Posted: Thu May 04, 2006 10:06 am
by Flype
thank you einander :P

archives and languages updated

Posted: Thu May 04, 2006 11:16 am
by dagcrack
Hey why is the spanish language half-supported? :?

Here are the help texts translated:

Code: Select all

    help(#COLOR_3DDKSHADOW             ) = "Sombra oscura para elementos de display tridimensionales."
    help(#COLOR_3DFACE                 ) = "Color de cara para elementos de display tridimensionales y para el fondo de las cajas de diálogo."
    help(#COLOR_3DHIGHLIGHT            ) = "Color de resaltado para los elementos de display tridimensionales (para el punto de iluminación)."
    help(#COLOR_3DHILIGHT              ) = "Color de resaltado para los elementos de display tridimensionales (para el punto de iluminación)."
    help(#COLOR_3DLIGHT                ) = "Color de iluminación para los elementos de display tridimensionales (para los bordes de iluminación)."
    help(#COLOR_3DSHADOW               ) = "Color de sombra para los elementos de display tridimensionales (para los bordes del lado opuesto del punto de iluminación)."
    help(#COLOR_ACTIVEBORDER           ) = "Borde de la ventana activa."
    help(#COLOR_ACTIVECAPTION          ) = "Barra de título de la ventana activa."
    help(#COLOR_APPWORKSPACE           ) = "Color de fondo para aplicaciones del tipo MDI."
    help(#COLOR_BACKGROUND             ) = "Escritorio."
    help(#COLOR_BTNFACE                ) = "Color de cara para los elementos de display tridimensionales y para los fondos de las cajas de diálogo."
    help(#COLOR_BTNHIGHLIGHT           ) = "Color de resaltado para los elementos de display tridimensionales (para el punto de iluminación)."
    help(#COLOR_BTNSHADOW              ) = "Color de sombra para elementos tridimensionales (para los bordes del lado opuesto del punto de iluminación)"
    help(#COLOR_BTNTEXT                ) = "Texto en botones del tipo: push."
    help(#COLOR_CAPTIONTEXT            ) = "Texto en subtítulos, size box y en la cruz de la barra de desplazamiento."
    help(#COLOR_DESKTOP                ) = "Escritorio."
    help(#COLOR_GRADIENTACTIVECAPTION  ) = "Color del lado derecho del degrade en la barra de titulo de una ventana activa. #COLOR_ACTIVECAPTION Especifica el color del lado izquierdo. Use SPI_GETGRADIENTCAPTIONS Con la función: SystemParametersInfo Para determinar si el efecto de degrade se encuentra habilitado."
    help(#COLOR_GRADIENTINACTIVECAPTION) = "Color del lado derecho del degrade en la barra de titulo de una ventana inactiva. #COLOR_INACTIVECAPTION Especifica el color del lado izquierdo."
    help(#COLOR_GRAYTEXT               ) = "Texto gris (deshabilitado). Este color se define en 0 Si el driver del display actual no soporta el color gris sólido"
    help(#COLOR_HIGHLIGHT              ) = "Item(s) Seleccionados en un control."
    help(#COLOR_HIGHLIGHTTEXT          ) = "Texto de/los item(s) seleccionados en el control."
    help(#COLOR_HOTLIGHT               ) = "Color para un enlace o item del tipo: hot-tracked."
    help(#COLOR_INACTIVEBORDER         ) = "Borde de una ventana inactiva."
    help(#COLOR_INACTIVECAPTION        ) = "Subtítulo de una ventana inactiva."
    help(#COLOR_INACTIVECAPTIONTEXT    ) = "Color del texto en un subtítulo inactivo."
    help(#COLOR_INFOBK                 ) = "Color de fondo para los controles del tipo tooltip."
    help(#COLOR_INFOTEXT               ) = "Color del texto para controles del tipo tooltip."
    help(#COLOR_MENU                   ) = "Fondo del Menú."
    help(#COLOR_MENUHILIGHT            ) = "El color utilizado para resaltar los items del menú cuando el menú aparece como un menu flat."
    help(#COLOR_MENUBAR                ) = "El color de fondo para la barra de menú cuando los menús aparecen planos (ver SystemParametersInfo). El item seleccionado del menú es delineado con #COLOR_HIGHLIGHT."
    help(#COLOR_MENUTEXT               ) = "Texto en Menú (Ver: SystemParametersInfo). De todos modos, #COLOR_MENU especifica el color de fondo del menú popup."
    help(#COLOR_SCROLLBAR              ) = "Área gris de la barra de desplazamiento."
    help(#COLOR_WINDOW                 ) = "Fondo de la Ventana."
    help(#COLOR_WINDOWFRAME            ) = "Borde de la Ventana."
    help(#COLOR_WINDOWTEXT             ) = "Texto en Windows"
The texts are quite similar to the original english ones, they describe the same but in a "spanish" way.. Some of the translations sound a little odd because they are so technical and sharp in the actual english form...

Sharp spanish sounds like caveman's english...!
Lots of "de la" or "en la".. etc. So thats why most of the texts should be rephrased for being in spanish.

Posted: Thu May 04, 2006 1:08 pm
by Flype
thank you dagcrack.

in french, it's the same problem, not so easy to translate.

archive updated (version 1.3) !


also, i started to hunt the win32 color constants :

#Black
#Blue
#Cyan
#Gray
#Green
#Magenta
#Red
#White
#Yellow

Is this list complete ? ( i can't find docs/references for them )