Bwidget Source Code
Hex Artifact Content
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Sep 9.

Artifact a10ca5c8070fd5ac31e79445c5421fdefbf9b886f48f6c5409bc726f15141571:


0000: 23 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  # --------------
0010: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0020: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0030: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0040: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0050: 0a 23 20 20 6e 6f 2e 6d 73 67 0a 23 20 20 54 68  .#  no.msg.#  Th
0060: 69 73 20 66 69 6c 65 20 69 73 20 70 61 72 74 20  is file is part 
0070: 6f 66 20 55 6e 69 66 69 78 20 42 57 69 64 67 65  of Unifix BWidge
0080: 74 20 54 6f 6f 6c 6b 69 74 0a 23 20 20 44 65 66  t Toolkit.#  Def
0090: 69 6e 69 74 69 6f 6e 20 6f 66 20 6e 6f 20 74 72  inition of no tr
00a0: 61 6e 73 6c 61 74 69 6f 6e 0a 23 20 2d 2d 2d 2d  anslation.# ----
00b0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
00c0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
00d0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
00e0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
00f0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 23 20 2d 2d  ----------..# --
0100: 2d 20 73 79 6d 62 6f 6c 69 63 20 6e 61 6d 65 73  - symbolic names
0110: 20 6f 66 20 62 75 74 74 6f 6e 73 20 2d 2d 2d 2d   of buttons ----
0120: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0130: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0140: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 3a 3a  ------------..::
0150: 6d 73 67 63 61 74 3a 3a 6d 63 73 65 74 20 6e 6f  msgcat::mcset no
0160: 20 7b 26 41 62 6f 72 74 7d 20 7b 26 4f 6d 7d 0a   {&Abort} {&Om}.
0170: 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63 73 65 74 20  ::msgcat::mcset 
0180: 6e 6f 20 7b 26 52 65 74 72 79 7d 20 7b 26 50 72  no {&Retry} {&Pr
0190: c3 b8 76 20 69 67 6a 65 6e 7d 0a 3a 3a 6d 73 67  ..v igjen}.::msg
01a0: 63 61 74 3a 3a 6d 63 73 65 74 20 6e 6f 20 7b 26  cat::mcset no {&
01b0: 49 67 6e 6f 72 65 7d 20 7b 26 49 67 6e 6f 72 65  Ignore} {&Ignore
01c0: 7d 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63 73 65  }.::msgcat::mcse
01d0: 74 20 6e 6f 20 7b 26 4f 4b 7d 20 7b 26 4f 4b 7d  t no {&OK} {&OK}
01e0: 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63 73 65 74  .::msgcat::mcset
01f0: 20 6e 6f 20 7b 26 43 61 6e 63 65 6c 7d 20 7b 26   no {&Cancel} {&
0200: 41 76 62 72 79 74 7d 0a 3a 3a 6d 73 67 63 61 74  Avbryt}.::msgcat
0210: 3a 3a 6d 63 73 65 74 20 6e 6f 20 7b 26 59 65 73  ::mcset no {&Yes
0220: 7d 20 7b 26 4a 61 7d 0a 3a 3a 6d 73 67 63 61 74  } {&Ja}.::msgcat
0230: 3a 3a 6d 63 73 65 74 20 6e 6f 20 7b 26 4e 6f 7d  ::mcset no {&No}
0240: 20 7b 26 4e 65 69 7d 0a 0a 23 20 2d 2d 2d 20 73   {&Nei}..# --- s
0250: 79 6d 62 6f 6c 69 63 20 6e 61 6d 65 73 20 6f 66  ymbolic names of
0260: 20 6c 61 62 65 6c 20 6f 66 20 53 65 6c 65 63 74   label of Select
0270: 46 6f 6e 74 20 64 69 61 6c 6f 67 20 2d 2d 2d 2d  Font dialog ----
0280: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0290: 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 3a 3a 6d 73 67 63  --------..::msgc
02a0: 61 74 3a 3a 6d 63 73 65 74 20 6e 6f 20 7b 42 6f  at::mcset no {Bo
02b0: 6c 64 7d 20 7b 48 61 6c 76 66 65 74 7d 0a 3a 3a  ld} {Halvfet}.::
02c0: 6d 73 67 63 61 74 3a 3a 6d 63 73 65 74 20 6e 6f  msgcat::mcset no
02d0: 20 7b 49 74 61 6c 69 63 7d 20 7b 4b 75 72 73 69   {Italic} {Kursi
02e0: 76 7d 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63 73  v}.::msgcat::mcs
02f0: 65 74 20 6e 6f 20 7b 55 6e 64 65 72 6c 69 6e 65  et no {Underline
0300: 7d 20 7b 55 6e 64 65 72 73 74 72 65 6b 69 6e 67  } {Understreking
0310: 7d 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63 73 65  }.::msgcat::mcse
0320: 74 20 6e 6f 20 7b 4f 76 65 72 73 74 72 69 6b 65  t no {Overstrike
0330: 7d 20 7b 4f 76 65 72 73 74 72 79 6b 65 7d 0a 3a  } {Overstryke}.:
0340: 3a 6d 73 67 63 61 74 3a 3a 6d 63 73 65 74 20 6e  :msgcat::mcset n
0350: 6f 20 7b 26 46 6f 6e 74 7d 20 7b 26 53 6b 72 69  o {&Font} {&Skri
0360: 66 74 7d 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63  ft}.::msgcat::mc
0370: 73 65 74 20 6e 6f 20 7b 26 53 69 7a 65 7d 20 7b  set no {&Size} {
0380: 26 53 74 c3 b8 72 72 65 6c 73 65 7d 0a 3a 3a 6d  &St..rrelse}.::m
0390: 73 67 63 61 74 3a 3a 6d 63 73 65 74 20 6e 6f 20  sgcat::mcset no 
03a0: 7b 53 74 26 79 6c 65 7d 20 7b 53 74 26 69 6c 7d  {St&yle} {St&il}
03b0: 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63 73 65 74  .::msgcat::mcset
03c0: 20 6e 6f 20 7b 26 43 6f 6c 6f 72 2e 2e 2e 7d 20   no {&Color...} 
03d0: 7b 26 43 6f 6c 6f 72 2e 2e 2e 7d 0a 0a 23 20 2d  {&Color...}..# -
03e0: 2d 2d 20 73 79 6d 62 6f 6c 69 63 20 6e 61 6d 65  -- symbolic name
03f0: 73 20 6f 66 20 6c 61 62 65 6c 20 6f 66 20 50 61  s of label of Pa
0400: 73 73 77 64 44 6c 67 20 64 69 61 6c 6f 67 20 2d  sswdDlg dialog -
0410: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0420: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 3a 3a  ------------..::
0430: 6d 73 67 63 61 74 3a 3a 6d 63 73 65 74 20 6e 6f  msgcat::mcset no
0440: 20 7b 26 4c 6f 67 69 6e 7d 20 7b 26 4c 6f 67 67   {&Login} {&Logg
0450: 20 69 6e 6e 7d 0a 3a 3a 6d 73 67 63 61 74 3a 3a   inn}.::msgcat::
0460: 6d 63 73 65 74 20 6e 6f 20 7b 26 50 61 73 73 77  mcset no {&Passw
0470: 6f 72 64 7d 20 7b 26 50 61 73 73 6f 72 64 7d 0a  ord} {&Passord}.
0480: 0a 23 20 2d 2d 2d 20 72 65 73 6f 75 72 63 65 20  .# --- resource 
0490: 66 6f 72 20 53 65 6c 65 63 74 46 6f 6e 74 20 64  for SelectFont d
04a0: 69 61 6c 6f 67 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ialog ----------
04b0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
04c0: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
04d0: 0a 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63 73 65  ..::msgcat::mcse
04e0: 74 20 6e 6f 20 7b 46 6f 6e 74 20 73 65 6c 65 63  t no {Font selec
04f0: 74 69 6f 6e 7d 20 7b 53 6b 72 69 66 74 76 61 6c  tion} {Skriftval
0500: 67 7d 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63 73  g}.::msgcat::mcs
0510: 65 74 20 6e 6f 20 7b 53 61 6d 70 6c 65 20 74 65  et no {Sample te
0520: 78 74 7d 20 7b 50 72 c3 b8 76 65 20 74 65 6b 73  xt} {Pr..ve teks
0530: 74 7d 0a 0a 23 20 2d 2d 2d 20 72 65 73 6f 75 72  t}..# --- resour
0540: 63 65 20 66 6f 72 20 4d 65 73 73 61 67 65 44 6c  ce for MessageDl
0550: 67 20 64 69 61 6c 6f 67 20 2d 2d 2d 2d 2d 2d 2d  g dialog -------
0560: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0570: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0580: 2d 2d 2d 0a 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d  ---..::msgcat::m
0590: 63 73 65 74 20 6e 6f 20 7b 4d 65 73 73 61 67 65  cset no {Message
05a0: 7d 20 7b 4d 65 6c 64 69 6e 67 7d 0a 3a 3a 6d 73  } {Melding}.::ms
05b0: 67 63 61 74 3a 3a 6d 63 73 65 74 20 6e 6f 20 7b  gcat::mcset no {
05c0: 49 6e 66 6f 72 6d 61 74 69 6f 6e 7d 20 7b 49 6e  Information} {In
05d0: 66 6f 72 6d 61 73 6a 6f 6e 7d 0a 3a 3a 6d 73 67  formasjon}.::msg
05e0: 63 61 74 3a 3a 6d 63 73 65 74 20 6e 6f 20 7b 51  cat::mcset no {Q
05f0: 75 65 73 74 69 6f 6e 7d 20 7b 53 70 c3 b8 72 73  uestion} {Sp..rs
0600: 6d c3 a5 6c 7d 0a 3a 3a 6d 73 67 63 61 74 3a 3a  m..l}.::msgcat::
0610: 6d 63 73 65 74 20 6e 6f 20 7b 57 61 72 6e 69 6e  mcset no {Warnin
0620: 67 7d 20 7b 41 64 76 61 72 73 65 6c 7d 0a 3a 3a  g} {Advarsel}.::
0630: 6d 73 67 63 61 74 3a 3a 6d 63 73 65 74 20 6e 6f  msgcat::mcset no
0640: 20 7b 45 72 72 6f 72 7d 20 7b 46 65 69 6c 7d 0a   {Error} {Feil}.
0650: 0a 23 20 2d 2d 2d 20 72 65 73 6f 75 72 63 65 20  .# --- resource 
0660: 66 6f 72 20 50 61 73 73 77 64 44 6c 67 20 64 69  for PasswdDlg di
0670: 61 6c 6f 67 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  alog -----------
0680: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0690: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
06a0: 0a 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63 73 65  ..::msgcat::mcse
06b0: 74 20 6e 6f 20 7b 45 6e 74 65 72 20 6c 6f 67 69  t no {Enter logi
06c0: 6e 20 61 6e 64 20 70 61 73 73 77 6f 72 64 7d 20  n and password} 
06d0: 7b 53 6b 72 69 76 20 69 6e 6e 20 6c 6f 67 67 69  {Skriv inn loggi
06e0: 6e 6e 20 6f 67 20 70 61 73 73 6f 72 64 7d 0a 0a  nn og passord}..
06f0: 23 20 2d 2d 2d 20 73 79 6d 62 6f 6c 69 63 20 6e  # --- symbolic n
0700: 61 6d 65 73 20 6f 66 20 6c 61 62 65 6c 20 6f 66  ames of label of
0710: 20 53 65 6c 65 63 74 43 6f 6c 6f 72 20 64 69 61   SelectColor dia
0720: 6c 6f 67 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  log ------------
0730: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0740: 0a 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63 73 65  ..::msgcat::mcse
0750: 74 20 6e 6f 20 7b 42 61 73 65 20 63 6f 6c 6f 72  t no {Base color
0760: 73 7d 20 7b 42 61 73 65 20 63 6f 6c 6f 72 73 7d  s} {Base colors}
0770: 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63 73 65 74  .::msgcat::mcset
0780: 20 6e 6f 20 7b 55 73 65 72 20 63 6f 6c 6f 72 73   no {User colors
0790: 7d 20 7b 55 73 65 72 20 63 6f 6c 6f 72 73 7d 0a  } {User colors}.
07a0: 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63 73 65 74 20  ::msgcat::mcset 
07b0: 6e 6f 20 7b 59 6f 75 72 20 53 65 6c 65 63 74 69  no {Your Selecti
07c0: 6f 6e 7d 20 7b 59 6f 75 72 20 53 65 6c 65 63 74  on} {Your Select
07d0: 69 6f 6e 7d 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d  ion}.::msgcat::m
07e0: 63 73 65 74 20 6e 6f 20 7b 43 6f 6c 6f 72 20 53  cset no {Color S
07f0: 65 6c 65 63 74 6f 72 73 7d 20 7b 43 6f 6c 6f 72  electors} {Color
0800: 20 53 65 6c 65 63 74 6f 72 73 7d 0a 0a 23 20 2d   Selectors}..# -
0810: 2d 2d 20 64 79 6e 61 6d 69 63 20 68 65 6c 70 20  -- dynamic help 
0820: 74 65 78 74 20 66 6f 72 20 53 65 6c 65 63 74 43  text for SelectC
0830: 6f 6c 6f 72 20 64 69 61 6c 6f 67 2e 20 4c 69 6e  olor dialog. Lin
0840: 65 73 20 37 35 20 63 68 61 72 73 20 6d 61 78 2c  es 75 chars max,
0850: 20 73 70 6c 69 74 20 62 79 20 27 5c 6e 27 2e 0a   split by '\n'..
0860: 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63 73 65 74  .::msgcat::mcset
0870: 20 6e 6f 20 7b 43 6c 69 63 6b 20 6f 72 20 64 72   no {Click or dr
0880: 61 67 20 74 68 65 20 6d 6f 75 73 65 20 69 6e 20  ag the mouse in 
0890: 74 68 65 20 43 6f 6c 6f 72 20 53 65 6c 65 63 74  the Color Select
08a0: 6f 72 73 20 74 6f 20 63 68 6f 6f 73 65 20 61 20  ors to choose a 
08b0: 63 6f 6c 6f 72 2e 5c 6e 49 66 20 74 68 65 20 73  color.\nIf the s
08c0: 65 6c 65 63 74 65 64 20 63 6f 6c 6f 72 20 72 65  elected color re
08d0: 6d 61 69 6e 73 20 62 6c 61 63 6b 2c 20 72 65 67  mains black, reg
08e0: 61 72 64 6c 65 73 73 20 6f 66 20 77 68 61 74 20  ardless of what 
08f0: 79 6f 75 5c 6e 64 6f 20 69 6e 20 74 68 65 20 6c  you\ndo in the l
0900: 65 66 74 2d 68 61 6e 64 20 43 6f 6c 6f 72 20 53  eft-hand Color S
0910: 65 6c 65 63 74 6f 72 20 28 66 6f 72 20 68 75 65  elector (for hue
0920: 20 61 6e 64 20 73 61 74 75 72 61 74 69 6f 6e 29   and saturation)
0930: 2c 20 63 68 65 63 6b 5c 6e 74 68 65 20 70 6f 73  , check\nthe pos
0940: 69 74 69 6f 6e 20 6f 66 20 74 68 65 20 70 6f 69  ition of the poi
0950: 6e 74 65 72 20 69 6e 20 74 68 65 20 72 69 67 68  nter in the righ
0960: 74 2d 68 61 6e 64 20 43 6f 6c 6f 72 20 53 65 6c  t-hand Color Sel
0970: 65 63 74 6f 72 5c 6e 28 66 6f 72 20 62 72 69 67  ector\n(for brig
0980: 68 74 6e 65 73 73 29 2e 5c 6e 5c 6e 43 6c 69 63  htness).\n\nClic
0990: 6b 20 6f 6e 65 20 6f 66 20 74 68 65 20 22 42 61  k one of the "Ba
09a0: 73 65 20 63 6f 6c 6f 72 73 22 20 74 6f 20 72 65  se colors" to re
09b0: 61 64 20 61 20 76 61 6c 75 65 20 66 72 6f 6d 20  ad a value from 
09c0: 74 68 69 73 20 70 61 6c 65 74 74 65 2e 5c 6e 5c  this palette.\n\
09d0: 6e 43 6c 69 63 6b 20 6f 6e 65 20 6f 66 20 74 68  nClick one of th
09e0: 65 20 22 55 73 65 72 20 63 6f 6c 6f 72 73 22 20  e "User colors" 
09f0: 74 6f 20 72 65 61 64 20 61 20 76 61 6c 75 65 20  to read a value 
0a00: 66 72 6f 6d 20 74 68 69 73 20 70 61 6c 65 74 74  from this palett
0a10: 65 2c 5c 6e 6f 72 20 74 6f 20 77 72 69 74 65 20  e,\nor to write 
0a20: 74 6f 20 74 68 65 20 70 61 6c 65 74 74 65 20 69  to the palette i
0a30: 66 20 74 68 65 20 63 6f 6c 6f 72 20 69 73 20 62  f the color is b
0a40: 6c 61 6e 6b 2e 20 49 66 20 79 6f 75 20 74 68 65  lank. If you the
0a50: 6e 5c 6e 75 73 65 20 74 68 65 20 43 6f 6c 6f 72  n\nuse the Color
0a60: 20 53 65 6c 65 63 74 6f 72 73 20 74 6f 20 63 68   Selectors to ch
0a70: 61 6e 67 65 20 74 68 65 20 63 6f 6c 6f 72 2c 20  ange the color, 
0a80: 79 6f 75 72 20 63 68 6f 69 63 65 20 77 69 6c 6c  your choice will
0a90: 20 62 65 5c 6e 77 72 69 74 74 65 6e 20 74 6f 20   be\nwritten to 
0aa0: 74 68 69 73 20 28 55 73 65 72 29 20 70 61 6c 65  this (User) pale
0ab0: 74 74 65 20 63 6f 6c 6f 72 20 75 6e 74 69 6c 20  tte color until 
0ac0: 79 6f 75 20 73 65 6c 65 63 74 20 61 6e 6f 74 68  you select anoth
0ad0: 65 72 5c 6e 28 42 61 73 65 20 6f 72 20 55 73 65  er\n(Base or Use
0ae0: 72 29 20 70 61 6c 65 74 74 65 20 63 6f 6c 6f 72  r) palette color
0af0: 2e 7d 20 7b 43 6c 69 63 6b 20 6f 72 20 64 72 61  .} {Click or dra
0b00: 67 20 74 68 65 20 6d 6f 75 73 65 20 69 6e 20 74  g the mouse in t
0b10: 68 65 20 43 6f 6c 6f 72 20 53 65 6c 65 63 74 6f  he Color Selecto
0b20: 72 73 20 74 6f 20 63 68 6f 6f 73 65 20 61 20 63  rs to choose a c
0b30: 6f 6c 6f 72 2e 5c 6e 49 66 20 74 68 65 20 73 65  olor.\nIf the se
0b40: 6c 65 63 74 65 64 20 63 6f 6c 6f 72 20 72 65 6d  lected color rem
0b50: 61 69 6e 73 20 62 6c 61 63 6b 2c 20 72 65 67 61  ains black, rega
0b60: 72 64 6c 65 73 73 20 6f 66 20 77 68 61 74 20 79  rdless of what y
0b70: 6f 75 5c 6e 64 6f 20 69 6e 20 74 68 65 20 6c 65  ou\ndo in the le
0b80: 66 74 2d 68 61 6e 64 20 43 6f 6c 6f 72 20 53 65  ft-hand Color Se
0b90: 6c 65 63 74 6f 72 20 28 66 6f 72 20 68 75 65 20  lector (for hue 
0ba0: 61 6e 64 20 73 61 74 75 72 61 74 69 6f 6e 29 2c  and saturation),
0bb0: 20 63 68 65 63 6b 5c 6e 74 68 65 20 70 6f 73 69   check\nthe posi
0bc0: 74 69 6f 6e 20 6f 66 20 74 68 65 20 70 6f 69 6e  tion of the poin
0bd0: 74 65 72 20 69 6e 20 74 68 65 20 72 69 67 68 74  ter in the right
0be0: 2d 68 61 6e 64 20 43 6f 6c 6f 72 20 53 65 6c 65  -hand Color Sele
0bf0: 63 74 6f 72 5c 6e 28 66 6f 72 20 62 72 69 67 68  ctor\n(for brigh
0c00: 74 6e 65 73 73 29 2e 5c 6e 5c 6e 43 6c 69 63 6b  tness).\n\nClick
0c10: 20 6f 6e 65 20 6f 66 20 74 68 65 20 22 42 61 73   one of the "Bas
0c20: 65 20 63 6f 6c 6f 72 73 22 20 74 6f 20 72 65 61  e colors" to rea
0c30: 64 20 61 20 76 61 6c 75 65 20 66 72 6f 6d 20 74  d a value from t
0c40: 68 69 73 20 70 61 6c 65 74 74 65 2e 5c 6e 5c 6e  his palette.\n\n
0c50: 43 6c 69 63 6b 20 6f 6e 65 20 6f 66 20 74 68 65  Click one of the
0c60: 20 22 55 73 65 72 20 63 6f 6c 6f 72 73 22 20 74   "User colors" t
0c70: 6f 20 72 65 61 64 20 61 20 76 61 6c 75 65 20 66  o read a value f
0c80: 72 6f 6d 20 74 68 69 73 20 70 61 6c 65 74 74 65  rom this palette
0c90: 2c 5c 6e 6f 72 20 74 6f 20 77 72 69 74 65 20 74  ,\nor to write t
0ca0: 6f 20 74 68 65 20 70 61 6c 65 74 74 65 20 69 66  o the palette if
0cb0: 20 74 68 65 20 63 6f 6c 6f 72 20 69 73 20 62 6c   the color is bl
0cc0: 61 6e 6b 2e 20 49 66 20 79 6f 75 20 74 68 65 6e  ank. If you then
0cd0: 5c 6e 75 73 65 20 74 68 65 20 43 6f 6c 6f 72 20  \nuse the Color 
0ce0: 53 65 6c 65 63 74 6f 72 73 20 74 6f 20 63 68 61  Selectors to cha
0cf0: 6e 67 65 20 74 68 65 20 63 6f 6c 6f 72 2c 20 79  nge the color, y
0d00: 6f 75 72 20 63 68 6f 69 63 65 20 77 69 6c 6c 20  our choice will 
0d10: 62 65 5c 6e 77 72 69 74 74 65 6e 20 74 6f 20 74  be\nwritten to t
0d20: 68 69 73 20 28 55 73 65 72 29 20 70 61 6c 65 74  his (User) palet
0d30: 74 65 20 63 6f 6c 6f 72 20 75 6e 74 69 6c 20 79  te color until y
0d40: 6f 75 20 73 65 6c 65 63 74 20 61 6e 6f 74 68 65  ou select anothe
0d50: 72 5c 6e 28 42 61 73 65 20 6f 72 20 55 73 65 72  r\n(Base or User
0d60: 29 20 70 61 6c 65 74 74 65 20 63 6f 6c 6f 72 2e  ) palette color.
0d70: 7d 0a 3a 3a 6d 73 67 63 61 74 3a 3a 6d 63 73 65  }.::msgcat::mcse
0d80: 74 20 6e 6f 20 7b 43 6c 69 63 6b 20 69 6e 20 74  t no {Click in t
0d90: 68 65 20 74 65 78 74 20 65 6e 74 72 79 20 77 69  he text entry wi
0da0: 6e 64 6f 77 20 69 6e 20 74 68 65 20 6c 65 66 74  ndow in the left
0db0: 20 6f 66 20 74 68 65 20 22 59 6f 75 72 5c 6e 53   of the "Your\nS
0dc0: 65 6c 65 63 74 69 6f 6e 22 20 61 72 65 61 2e 5c  election" area.\
0dd0: 6e 5c 6e 54 79 70 65 20 74 68 65 20 63 6f 6c 6f  n\nType the colo
0de0: 72 20 74 68 61 74 20 79 6f 75 20 77 61 6e 74 20  r that you want 
0df0: 69 6e 20 68 65 78 61 64 65 63 69 6d 61 6c 20 52  in hexadecimal R
0e00: 47 42 20 66 6f 72 6d 61 74 2e 5c 6e 57 68 65 6e  GB format.\nWhen
0e10: 65 76 65 72 20 74 68 65 20 6e 75 6d 62 65 72 20  ever the number 
0e20: 6f 66 20 68 65 78 61 64 65 63 69 6d 61 6c 20 64  of hexadecimal d
0e30: 69 67 69 74 73 20 69 73 20 61 20 6d 75 6c 74 69  igits is a multi
0e40: 70 6c 65 5c 6e 6f 66 20 33 2c 20 74 68 65 20 63  ple\nof 3, the c
0e50: 6f 6c 6f 72 20 76 61 6c 75 65 20 69 73 20 76 61  olor value is va
0e60: 6c 69 64 20 61 6e 64 20 77 69 6c 6c 20 62 65 20  lid and will be 
0e70: 63 6f 70 69 65 64 20 74 6f 20 74 68 65 5c 6e 6f  copied to the\no
0e80: 74 68 65 72 20 70 61 72 74 73 20 6f 66 20 74 68  ther parts of th
0e90: 65 20 43 6f 6c 6f 72 20 53 65 6c 65 63 74 6f 72  e Color Selector
0ea0: 2e 5c 6e 5c 6e 4c 65 61 76 65 20 74 68 65 20 74  .\n\nLeave the t
0eb0: 65 78 74 20 65 6e 74 72 79 20 77 69 6e 64 6f 77  ext entry window
0ec0: 20 62 79 20 63 6c 69 63 6b 69 6e 67 20 61 6e 79   by clicking any
0ed0: 77 68 65 72 65 20 65 6c 73 65 2c 5c 6e 6f 72 20  where else,\nor 
0ee0: 62 79 20 70 72 65 73 73 69 6e 67 20 74 68 65 20  by pressing the 
0ef0: 22 45 73 63 61 70 65 22 20 6f 72 20 22 52 65 74  "Escape" or "Ret
0f00: 75 72 6e 22 20 6b 65 79 2e 20 54 68 65 20 74 65  urn" key. The te
0f10: 78 74 5c 6e 65 6e 74 72 79 20 77 69 6e 64 6f 77  xt\nentry window
0f20: 20 77 69 6c 6c 20 74 68 65 6e 20 64 69 73 70 6c   will then displ
0f30: 61 79 20 74 68 65 20 63 6f 6c 6f 72 20 69 6e 20  ay the color in 
0f40: 32 34 2d 62 69 74 20 52 47 42 5c 6e 66 6f 72 6d  24-bit RGB\nform
0f50: 61 74 2c 20 61 6c 74 68 6f 75 67 68 20 69 6e 74  at, although int
0f60: 65 72 6e 61 6c 6c 79 20 74 68 65 20 43 6f 6c 6f  ernally the Colo
0f70: 72 20 53 65 6c 65 63 74 6f 72 20 75 73 65 73 5c  r Selector uses\
0f80: 6e 34 38 2d 62 69 74 20 63 6f 6c 6f 72 73 2e 5c  n48-bit colors.\
0f90: 6e 5c 6e 57 68 65 6e 20 74 68 65 20 74 65 78 74  n\nWhen the text
0fa0: 20 65 6e 74 72 79 20 77 69 64 67 65 74 20 64 6f   entry widget do
0fb0: 65 73 20 6e 6f 74 20 68 61 76 65 20 6b 65 79 62  es not have keyb
0fc0: 6f 61 72 64 20 66 6f 63 75 73 5c 6e 28 69 2e 65  oard focus\n(i.e
0fd0: 2e 20 64 6f 65 73 20 6e 6f 74 20 73 68 6f 77 20  . does not show 
0fe0: 61 20 63 75 72 73 6f 72 29 2c 20 74 68 65 20 22  a cursor), the "
0ff0: 52 65 74 75 72 6e 22 20 61 6e 64 20 22 45 73 63  Return" and "Esc
1000: 61 70 65 22 5c 6e 6b 65 79 73 20 64 6f 20 74 68  ape"\nkeys do th
1010: 65 20 73 61 6d 65 20 61 73 20 74 68 65 20 22 4f  e same as the "O
1020: 4b 22 20 61 6e 64 20 22 43 61 6e 63 65 6c 22 20  K" and "Cancel" 
1030: 62 75 74 74 6f 6e 73 2c 5c 6e 72 65 73 70 65 63  buttons,\nrespec
1040: 74 69 76 65 6c 79 2e 7d 20 7b 43 6c 69 63 6b 20  tively.} {Click 
1050: 69 6e 20 74 68 65 20 74 65 78 74 20 65 6e 74 72  in the text entr
1060: 79 20 77 69 6e 64 6f 77 20 69 6e 20 74 68 65 20  y window in the 
1070: 6c 65 66 74 20 6f 66 20 74 68 65 20 22 59 6f 75  left of the "You
1080: 72 5c 6e 53 65 6c 65 63 74 69 6f 6e 22 20 61 72  r\nSelection" ar
1090: 65 61 2e 5c 6e 5c 6e 54 79 70 65 20 74 68 65 20  ea.\n\nType the 
10a0: 63 6f 6c 6f 72 20 74 68 61 74 20 79 6f 75 20 77  color that you w
10b0: 61 6e 74 20 69 6e 20 68 65 78 61 64 65 63 69 6d  ant in hexadecim
10c0: 61 6c 20 52 47 42 20 66 6f 72 6d 61 74 2e 5c 6e  al RGB format.\n
10d0: 57 68 65 6e 65 76 65 72 20 74 68 65 20 6e 75 6d  Whenever the num
10e0: 62 65 72 20 6f 66 20 68 65 78 61 64 65 63 69 6d  ber of hexadecim
10f0: 61 6c 20 64 69 67 69 74 73 20 69 73 20 61 20 6d  al digits is a m
1100: 75 6c 74 69 70 6c 65 5c 6e 6f 66 20 33 2c 20 74  ultiple\nof 3, t
1110: 68 65 20 63 6f 6c 6f 72 20 76 61 6c 75 65 20 69  he color value i
1120: 73 20 76 61 6c 69 64 20 61 6e 64 20 77 69 6c 6c  s valid and will
1130: 20 62 65 20 63 6f 70 69 65 64 20 74 6f 20 74 68   be copied to th
1140: 65 5c 6e 6f 74 68 65 72 20 70 61 72 74 73 20 6f  e\nother parts o
1150: 66 20 74 68 65 20 43 6f 6c 6f 72 20 53 65 6c 65  f the Color Sele
1160: 63 74 6f 72 2e 5c 6e 5c 6e 4c 65 61 76 65 20 74  ctor.\n\nLeave t
1170: 68 65 20 74 65 78 74 20 65 6e 74 72 79 20 77 69  he text entry wi
1180: 6e 64 6f 77 20 62 79 20 63 6c 69 63 6b 69 6e 67  ndow by clicking
1190: 20 61 6e 79 77 68 65 72 65 20 65 6c 73 65 2c 5c   anywhere else,\
11a0: 6e 6f 72 20 62 79 20 70 72 65 73 73 69 6e 67 20  nor by pressing 
11b0: 74 68 65 20 22 45 73 63 61 70 65 22 20 6f 72 20  the "Escape" or 
11c0: 22 52 65 74 75 72 6e 22 20 6b 65 79 2e 20 54 68  "Return" key. Th
11d0: 65 20 74 65 78 74 5c 6e 65 6e 74 72 79 20 77 69  e text\nentry wi
11e0: 6e 64 6f 77 20 77 69 6c 6c 20 74 68 65 6e 20 64  ndow will then d
11f0: 69 73 70 6c 61 79 20 74 68 65 20 63 6f 6c 6f 72  isplay the color
1200: 20 69 6e 20 32 34 2d 62 69 74 20 52 47 42 5c 6e   in 24-bit RGB\n
1210: 66 6f 72 6d 61 74 2c 20 61 6c 74 68 6f 75 67 68  format, although
1220: 20 69 6e 74 65 72 6e 61 6c 6c 79 20 74 68 65 20   internally the 
1230: 43 6f 6c 6f 72 20 53 65 6c 65 63 74 6f 72 20 75  Color Selector u
1240: 73 65 73 5c 6e 34 38 2d 62 69 74 20 63 6f 6c 6f  ses\n48-bit colo
1250: 72 73 2e 5c 6e 5c 6e 57 68 65 6e 20 74 68 65 20  rs.\n\nWhen the 
1260: 74 65 78 74 20 65 6e 74 72 79 20 77 69 64 67 65  text entry widge
1270: 74 20 64 6f 65 73 20 6e 6f 74 20 68 61 76 65 20  t does not have 
1280: 6b 65 79 62 6f 61 72 64 20 66 6f 63 75 73 5c 6e  keyboard focus\n
1290: 28 69 2e 65 2e 20 64 6f 65 73 20 6e 6f 74 20 73  (i.e. does not s
12a0: 68 6f 77 20 61 20 63 75 72 73 6f 72 29 2c 20 74  how a cursor), t
12b0: 68 65 20 22 52 65 74 75 72 6e 22 20 61 6e 64 20  he "Return" and 
12c0: 22 45 73 63 61 70 65 22 5c 6e 6b 65 79 73 20 64  "Escape"\nkeys d
12d0: 6f 20 74 68 65 20 73 61 6d 65 20 61 73 20 74 68  o the same as th
12e0: 65 20 22 4f 4b 22 20 61 6e 64 20 22 43 61 6e 63  e "OK" and "Canc
12f0: 65 6c 22 20 62 75 74 74 6f 6e 73 2c 5c 6e 72 65  el" buttons,\nre
1300: 73 70 65 63 74 69 76 65 6c 79 2e 7d 0a           spectively.}.