arcadia 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. data/README +5 -13
  2. data/conf/theme-dark.conf +2 -2
  3. data/conf/theme-dark.res.rb +51 -66
  4. data/ext/ae-editor/ae-editor.rb +20 -15
  5. data/ext/ae-editor/langs/css.lang +5 -0
  6. data/ext/ae-editor/langs/html.lang +5 -0
  7. data/lib/a-core.rb +4 -3
  8. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/ArrowButton.html +0 -0
  9. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/BWidget.html +0 -0
  10. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/Button.html +0 -0
  11. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/ButtonBox.html +0 -0
  12. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/ComboBox.html +0 -0
  13. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/Dialog.html +0 -0
  14. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/DragSite.html +0 -0
  15. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/DropSite.html +0 -0
  16. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/DynamicHelp.html +0 -0
  17. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/Entry.html +0 -0
  18. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/Label.html +0 -0
  19. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/LabelEntry.html +0 -0
  20. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/LabelFrame.html +0 -0
  21. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/ListBox.html +0 -0
  22. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/MainFrame.html +6 -0
  23. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/MessageDlg.html +0 -0
  24. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/NoteBook.html +0 -0
  25. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/PagesManager.html +0 -0
  26. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/PanedWindow.html +0 -0
  27. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/PanelFrame.html +0 -0
  28. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/PasswdDlg.html +0 -0
  29. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/ProgressBar.html +0 -0
  30. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/ProgressDlg.html +0 -0
  31. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/ScrollView.html +0 -0
  32. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/ScrollableFrame.html +0 -0
  33. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/ScrolledWindow.html +0 -0
  34. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/SelectColor.html +0 -0
  35. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/SelectFont.html +0 -0
  36. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/Separator.html +0 -0
  37. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/SpinBox.html +0 -0
  38. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/StatusBar.html +0 -0
  39. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/TitleFrame.html +0 -0
  40. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/Tree.html +0 -0
  41. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/Widget.html +0 -0
  42. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/contents.html +0 -0
  43. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/index.html +0 -0
  44. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/navtree.html +0 -0
  45. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/BWman/options.htm +0 -0
  46. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/CHANGES.txt +0 -0
  47. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/ChangeLog +79 -1
  48. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/LICENSE.txt +0 -0
  49. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/README.txt +0 -0
  50. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/arrow.tcl +0 -0
  51. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/bitmap.tcl +0 -0
  52. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/button.tcl +2 -1
  53. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/buttonbox.tcl +0 -0
  54. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/color.tcl +0 -0
  55. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/combobox.tcl +52 -24
  56. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/demo/basic.tcl +0 -0
  57. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/demo/bwidget.xbm +0 -0
  58. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/demo/demo.tcl +0 -0
  59. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/demo/dnd.tcl +0 -0
  60. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/demo/manager.tcl +0 -0
  61. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/demo/select.tcl +0 -0
  62. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/demo/tmpldlg.tcl +0 -0
  63. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/demo/tree.tcl +0 -0
  64. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/demo/x1.xbm +0 -0
  65. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/dialog.tcl +0 -0
  66. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/dragsite.tcl +0 -0
  67. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/dropsite.tcl +0 -0
  68. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/dynhelp.tcl +0 -0
  69. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/entry.tcl +37 -11
  70. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/font.tcl +5 -1
  71. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/bold.gif +0 -0
  72. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/copy.gif +0 -0
  73. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/cut.gif +0 -0
  74. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/dragfile.gif +0 -0
  75. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/dragicon.gif +0 -0
  76. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/error.gif +0 -0
  77. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/file.gif +0 -0
  78. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/folder.gif +0 -0
  79. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/hourglass.gif +0 -0
  80. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/info.gif +0 -0
  81. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/italic.gif +0 -0
  82. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/minus.xbm +0 -0
  83. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/new.gif +0 -0
  84. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/opcopy.xbm +0 -0
  85. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/open.gif +0 -0
  86. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/openfold.gif +0 -0
  87. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/oplink.xbm +0 -0
  88. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/opmove.xbm +0 -0
  89. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/overstrike.gif +0 -0
  90. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/palette.gif +0 -0
  91. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/passwd.gif +0 -0
  92. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/paste.gif +0 -0
  93. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/plus.xbm +0 -0
  94. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/print.gif +0 -0
  95. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/question.gif +0 -0
  96. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/redo.gif +0 -0
  97. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/save.gif +0 -0
  98. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/target.xbm +0 -0
  99. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/underline.gif +0 -0
  100. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/undo.gif +0 -0
  101. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/images/warning.gif +0 -0
  102. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/init.tcl +0 -0
  103. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/label.tcl +2 -2
  104. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/labelentry.tcl +8 -3
  105. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/labelframe.tcl +18 -8
  106. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/lang/da.rc +13 -7
  107. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/lang/de.rc +13 -7
  108. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/lang/en.rc +13 -7
  109. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/lang/es.rc +12 -7
  110. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/lang/fr.rc +13 -7
  111. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/lang/hu.rc +7 -0
  112. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/lang/nl.rc +13 -7
  113. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/lang/no.rc +13 -7
  114. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/lang/pl.rc +13 -57
  115. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/listbox.tcl +30 -14
  116. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/mainframe.tcl +7 -2
  117. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/messagedlg.tcl +0 -0
  118. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/notebook.tcl +17 -10
  119. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/pagesmgr.tcl +7 -3
  120. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/panedw.tcl +0 -0
  121. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/panelframe.tcl +0 -0
  122. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/passwddlg.tcl +0 -0
  123. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/pkgIndex.tcl +2 -2
  124. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/progressbar.tcl +0 -0
  125. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/progressdlg.tcl +0 -0
  126. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/scrollframe.tcl +0 -0
  127. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/scrollview.tcl +0 -0
  128. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/scrollw.tcl +7 -6
  129. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/separator.tcl +0 -0
  130. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/spinbox.tcl +0 -0
  131. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/statusbar.tcl +0 -0
  132. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/tests/entry.test +0 -0
  133. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/titleframe.tcl +0 -0
  134. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/tree.tcl +3 -9
  135. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/utils.tcl +0 -0
  136. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/widget.tcl +0 -0
  137. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/wizard.tcl +0 -0
  138. data/tcl/{bwidget-1.9.4 → bwidget-1.9.5}/xpm2image.tcl +0 -0
  139. metadata +136 -134
@@ -1,7 +1,7 @@
1
1
  # ------------------------------------------------------------------------------
2
2
  # labelentry.tcl
3
3
  # This file is part of Unifix BWidget Toolkit
4
- # $Id: labelentry.tcl,v 1.6 2003/10/20 21:23:52 damonc Exp $
4
+ # $Id: labelentry.tcl,v 1.6.2.1 2011/02/14 16:56:09 oehhar Exp $
5
5
  # ------------------------------------------------------------------------------
6
6
  # Index of commands:
7
7
  # - LabelEntry::create
@@ -39,8 +39,13 @@ proc LabelEntry::create { path args } {
39
39
  array set maps [list LabelEntry {} :cmd {} .labf {} .e {}]
40
40
  array set maps [Widget::parseArgs LabelEntry $args]
41
41
 
42
- eval [list frame $path] $maps(:cmd) -class LabelEntry \
43
- -relief flat -bd 0 -highlightthickness 0 -takefocus 0
42
+ if {[Widget::theme]} {
43
+ eval [list ttk::frame $path] $maps(:cmd) -class LabelEntry \
44
+ -takefocus 0
45
+ } else {
46
+ eval [list frame $path] $maps(:cmd) -class LabelEntry \
47
+ -relief flat -bd 0 -highlightthickness 0 -takefocus 0
48
+ }
44
49
  Widget::initFromODB LabelEntry $path $maps(LabelEntry)
45
50
 
46
51
  set labf [eval [list LabelFrame::create $path.labf] $maps(.labf) \
@@ -1,7 +1,7 @@
1
1
  # ------------------------------------------------------------------------------
2
2
  # labelframe.tcl
3
3
  # This file is part of Unifix BWidget Toolkit
4
- # $Id: labelframe.tcl,v 1.6 2003/10/20 21:23:52 damonc Exp $
4
+ # $Id: labelframe.tcl,v 1.6.2.1 2011/02/14 16:56:09 oehhar Exp $
5
5
  # ------------------------------------------------------------------------------
6
6
  # Index of commands:
7
7
  # - LabelFrame::create
@@ -46,15 +46,25 @@ namespace eval LabelFrame {
46
46
  proc LabelFrame::create { path args } {
47
47
  Widget::init LabelFrame $path $args
48
48
 
49
- set path [eval [list frame $path] [Widget::subcget $path :cmd] \
50
- -relief flat -bd 0 -takefocus 0 -highlightthickness 0 \
51
- -class LabelFrame]
49
+ if {[Widget::theme]} {
50
+ set path [eval [list ttk::frame $path] [Widget::subcget $path :cmd] \
51
+ -takefocus 0 \
52
+ -class LabelFrame]
53
+ } else {
54
+ set path [eval [list frame $path] [Widget::subcget $path :cmd] \
55
+ -relief flat -bd 0 -takefocus 0 -highlightthickness 0 \
56
+ -class LabelFrame]
57
+ }
52
58
 
53
59
  set label [eval [list Label::create $path.l] [Widget::subcget $path .l] \
54
- -takefocus 0 -highlightthickness 0 -relief flat \
55
- -borderwidth 0 -dropenabled 0 -dragenabled 0]
56
- set frame [eval [list frame $path.f] [Widget::subcget $path .f] \
57
- -highlightthickness 0 -takefocus 0]
60
+ -takefocus 0 -dropenabled 0 -dragenabled 0]
61
+ if {[Widget::theme]} {
62
+ set frame [eval [list ttk::frame $path.f] [Widget::subcget $path .f] \
63
+ -takefocus 0]
64
+ } else {
65
+ set frame [eval [list frame $path.f] [Widget::subcget $path .f] \
66
+ -highlightthickness 0 -takefocus 0]
67
+ }
58
68
 
59
69
  switch [Widget::getoption $path -side] {
60
70
  left {set packopt "-side left"}
@@ -18,13 +18,14 @@
18
18
 
19
19
  ! --- symbolic names of label of SelectFont dialog ----------------------------
20
20
 
21
- *boldName: Fed
22
- *italicName: Kursiv
23
- *underlineName: Understreg
24
- *overstrikeName: Overstreg
25
- *fontName: &Font
26
- *sizeName: &St�rrelse
27
- *styleName: St&il
21
+ *boldName: Fed
22
+ *italicName: Kursiv
23
+ *underlineName: Understreg
24
+ *overstrikeName: Overstreg
25
+ *fontName: &Font
26
+ *sizeName: &St�rrelse
27
+ *styleName: St&il
28
+ *colorPickerName: F&arve...
28
29
 
29
30
  ! --- symbolic names of label of PasswdDlg dialog -----------------------------
30
31
 
@@ -50,3 +51,8 @@
50
51
  ! --- resource for PasswdDlg dialog -------------------------------------------
51
52
 
52
53
  *PasswdDlg.title: Indtast brugernavn og password
54
+
55
+ ! --- symbolic names of label of SelectColor dialog ----------------------------
56
+
57
+ *baseColorsName: Base colors
58
+ *userColorsName: User colors
@@ -18,13 +18,14 @@
18
18
 
19
19
  ! --- symbolic names of label of SelectFont dialog ----------------------------
20
20
 
21
- *boldName: Fett
22
- *italicName: Kursiv
23
- *underlineName: Unterstrichen
24
- *overstrikeName: Durchgestrichen
25
- *fontName: &Schriftart
26
- *sizeName: S&chriftgrad
27
- *styleName: Sc&hriftschnitt
21
+ *boldName: Fett
22
+ *italicName: Kursiv
23
+ *underlineName: Unterstrichen
24
+ *overstrikeName: Durchgestrichen
25
+ *fontName: &Schriftart
26
+ *sizeName: S&chriftgrad
27
+ *styleName: Sc&hriftschnitt
28
+ *colorPickerName: &Farbe...
28
29
 
29
30
  ! --- symbolic names of label of PasswdDlg dialog -----------------------------
30
31
 
@@ -50,3 +51,8 @@
50
51
  ! --- resource for PasswdDlg dialog -------------------------------------------
51
52
 
52
53
  *PasswdDlg.title: Enter login and password
54
+
55
+ ! --- symbolic names of label of SelectColor dialog ----------------------------
56
+
57
+ *baseColorsName: Grundfarben
58
+ *userColorsName: Benutzerdefinierte Farben
@@ -18,13 +18,14 @@
18
18
 
19
19
  ! --- symbolic names of label of SelectFont dialog ----------------------------
20
20
 
21
- *boldName: Bold
22
- *italicName: Italic
23
- *underlineName: Underline
24
- *overstrikeName: Overstrike
25
- *fontName: &Font
26
- *sizeName: &Size
27
- *styleName: St&yle
21
+ *boldName: Bold
22
+ *italicName: Italic
23
+ *underlineName: Underline
24
+ *overstrikeName: Overstrike
25
+ *fontName: &Font
26
+ *sizeName: &Size
27
+ *styleName: St&yle
28
+ *colorPickerName: &Color...
28
29
 
29
30
 
30
31
  ! --- symbolic names of label of PasswdDlg dialog -----------------------------
@@ -50,3 +51,8 @@
50
51
  ! --- resource for PasswdDlg dialog -------------------------------------------
51
52
 
52
53
  *PasswdDlg.title: Enter login and password
54
+
55
+ ! --- symbolic names of label of SelectColor dialog ----------------------------
56
+
57
+ *baseColorsName: Base colors
58
+ *userColorsName: User colors
@@ -18,13 +18,14 @@
18
18
 
19
19
  ! --- symbolic names of label of SelectFont dialog ----------------------------
20
20
 
21
- *boldName: &Negrita
22
- *italicName: &Cursiva
23
- *underlineName: &Subrayado
24
- *overstrikeName: &Tachado
25
- *fontName: &Fuente
26
- *sizeName: &Tama�o
27
- *styleName: &Estilo
21
+ *boldName: &Negrita
22
+ *italicName: &Cursiva
23
+ *underlineName: &Subrayado
24
+ *overstrikeName: &Tachado
25
+ *fontName: &Fuente
26
+ *sizeName: &Tama�o
27
+ *styleName: &Estilo
28
+ *colorPickerName: &Color...
28
29
 
29
30
 
30
31
  ! --- symbolic names of label of PasswdDlg dialog -----------------------------
@@ -51,3 +52,7 @@
51
52
 
52
53
  *PasswdDlg.title: Introduzca su nombre de usuario y contrase�a
53
54
 
55
+ ! --- symbolic names of label of SelectColor dialog ----------------------------
56
+
57
+ *baseColorsName: Base colors
58
+ *userColorsName: User colors
@@ -17,13 +17,14 @@
17
17
 
18
18
  ! --- symbolic names of label of SelectFont dialog ----------------------------
19
19
 
20
- *boldName: &Gras
21
- *italicName: &Italique
22
- *underlineName: &Soulign�
23
- *overstrikeName: &Barr�
24
- *fontName: &Police
25
- *sizeName: &Taille
26
- *styleName: St&yle
20
+ *boldName: &Gras
21
+ *italicName: &Italique
22
+ *underlineName: &Soulign�
23
+ *overstrikeName: &Barr�
24
+ *fontName: &Police
25
+ *sizeName: &Taille
26
+ *styleName: St&yle
27
+ *colorPickerName: &Couleur...
27
28
 
28
29
 
29
30
  ! --- symbolic names of label of PasswdDlg dialog -----------------------------
@@ -50,3 +51,8 @@
50
51
  ! --- resource for PasswdDlg dialog -------------------------------------------
51
52
 
52
53
  *PasswdDlg.title: Entrez le login et le mot de passe
54
+
55
+ ! --- symbolic names of label of SelectColor dialog ----------------------------
56
+
57
+ *baseColorsName: Base colors
58
+ *userColorsName: User colors
@@ -25,6 +25,7 @@
25
25
  *fontName: &Betűtípus
26
26
  *sizeName: &Méret
27
27
  *styleName: S&tílus
28
+ *colorPickerName: &Szín...
28
29
 
29
30
 
30
31
  ! --- symbolic names of label of PasswdDlg dialog -----------------------------
@@ -50,3 +51,9 @@
50
51
  ! --- resource for PasswdDlg dialog -------------------------------------------
51
52
 
52
53
  *PasswdDlg.title: Add meg a felhasználónevet és a jelszót
54
+
55
+
56
+ ! --- symbolic names of label of SelectColor dialog ----------------------------
57
+
58
+ *baseColorsName: Alapszínek
59
+ *userColorsName: Felhasználói színek
@@ -18,13 +18,14 @@
18
18
 
19
19
  ! --- symbolic names of label of SelectFont dialog ----------------------------
20
20
 
21
- *boldName: Vet
22
- *italicName: Cursief
23
- *underlineName: Onderstrepen
24
- *overstrikeName: Doorhalen
25
- *fontName: &Lettertype
26
- *sizeName: &Grootte
27
- *styleName: &Stijl
21
+ *boldName: Vet
22
+ *italicName: Cursief
23
+ *underlineName: Onderstrepen
24
+ *overstrikeName: Doorhalen
25
+ *fontName: &Lettertype
26
+ *sizeName: &Grootte
27
+ *styleName: &Stijl
28
+ *colorPickerName: &Kleur...
28
29
 
29
30
 
30
31
  ! --- symbolic names of label of PasswdDlg dialog -----------------------------
@@ -50,3 +51,8 @@
50
51
  ! --- resource for PasswdDlg dialog -------------------------------------------
51
52
 
52
53
  *PasswdDlg.title: Voer inlognaam en wachtwoord in
54
+
55
+ ! --- symbolic names of label of SelectColor dialog ----------------------------
56
+
57
+ *baseColorsName: Base colors
58
+ *userColorsName: User colors
@@ -18,13 +18,14 @@
18
18
 
19
19
  ! --- symbolic names of label of SelectFont dialog ----------------------------
20
20
 
21
- *boldName: Halvfet
22
- *italicName: Kursiv
23
- *underlineName: Understreking
24
- *overstrikeName: Overstryke
25
- *fontName: &Skrift
26
- *sizeName: &St�rrelse
27
- *styleName: St&il
21
+ *boldName: Halvfet
22
+ *italicName: Kursiv
23
+ *underlineName: Understreking
24
+ *overstrikeName: Overstryke
25
+ *fontName: &Skrift
26
+ *sizeName: &St�rrelse
27
+ *styleName: St&il
28
+ *colorPickerName: &Color...
28
29
 
29
30
 
30
31
  ! --- symbolic names of label of PasswdDlg dialog -----------------------------
@@ -50,3 +51,8 @@
50
51
  ! --- resource for PasswdDlg dialog -------------------------------------------
51
52
 
52
53
  *PasswdDlg.title: Skriv inn logginn og passord
54
+
55
+ ! --- symbolic names of label of SelectColor dialog ----------------------------
56
+
57
+ *baseColorsName: Base colors
58
+ *userColorsName: User colors
@@ -1,104 +1,60 @@
1
1
  ! ------------------------------------------------------------------------------
2
-
3
2
  ! pl.rc
4
-
5
3
  ! This file is part of Unifix BWidget Toolkit
6
-
7
4
  ! Definition of english resources
8
-
9
5
  ! ------------------------------------------------------------------------------
10
6
 
11
7
 
12
-
13
-
14
-
15
8
  ! --- symbolic names of buttons ------------------------------------------------
16
9
 
17
-
18
-
19
10
  *abortName: &Porzuć
20
-
21
11
  *retryName: P&onów
22
-
23
12
  *ignoreName: &Ignoruj
24
-
25
13
  *okName: &OK
26
-
27
14
  *cancelName: &Anyluj
28
-
29
15
  *yesName: &Tak
30
-
31
16
  *noName: &Nie
32
17
 
33
18
 
34
-
35
-
36
-
37
19
  ! --- symbolic names of label of SelectFont dialog ----------------------------
38
20
 
39
-
40
-
41
- *boldName: Pogrubiona
42
-
43
- *italicName: Kursywa
44
-
45
- *underlineName: Podkreślenie
46
-
47
- *overstrikeName: Przekreślenie
48
-
49
- *fontName: &Czcionka:
50
-
51
- *sizeName: &Rozmiar:
52
-
53
- *styleName: St&yl czcionki:
54
-
55
-
56
-
21
+ *boldName: Pogrubiona
22
+ *italicName: Kursywa
23
+ *underlineName: Podkreślenie
24
+ *overstrikeName: Przekreślenie
25
+ *fontName: &Czcionka:
26
+ *sizeName: &Rozmiar:
27
+ *styleName: St&yl czcionki:
28
+ *colorPickerName: &Kolor...
57
29
 
58
30
 
59
31
  ! --- symbolic names of label of PasswdDlg dialog -----------------------------
60
32
 
61
-
62
-
63
33
  *loginName: &Login
64
-
65
34
  *passwordName: &Hasło
66
35
 
67
36
 
68
-
69
-
70
-
71
37
  ! --- resource for SelectFont dialog ------------------------------------------
72
38
 
73
-
74
-
75
39
  *SelectFont.title: Wybór czcionki
76
-
77
40
  *SelectFont.sampletext: Przykładowy tekst
78
41
 
79
42
 
80
-
81
-
82
-
83
43
  ! --- resource for MessageDlg dialog ------------------------------------------
84
44
 
85
-
86
-
87
45
  *MessageDlg.noneTitle: Wiadomość
88
-
89
46
  *MessageDlg.infoTitle: Informacja
90
-
91
47
  *MessageDlg.questionTitle: Pytanie
92
-
93
48
  *MessageDlg.warningTitle: Ostrzeżenie
94
-
95
49
  *MessageDlg.errorTitle: Błąd
96
50
 
97
-
98
-
99
51
  ! --- resource for PasswdDlg dialog -------------------------------------------
100
52
 
53
+ *PasswdDlg.title: Wpisz login i hasło
101
54
 
102
55
 
103
- *PasswdDlg.title: Wpisz login i hasło
56
+ ! --- symbolic names of label of SelectColor dialog ----------------------------
57
+
58
+ *baseColorsName: Kolory podstawowe
59
+ *userColorsName: Kolory niestandardowe
104
60
 
@@ -1,7 +1,7 @@
1
1
  # ----------------------------------------------------------------------------
2
2
  # listbox.tcl
3
3
  # This file is part of Unifix BWidget Toolkit
4
- # $Id: listbox.tcl,v 1.29.2.3 2010/05/12 08:12:34 oehhar Exp $
4
+ # $Id: listbox.tcl,v 1.29.2.6 2011/06/23 09:17:19 oehhar Exp $
5
5
  # ----------------------------------------------------------------------------
6
6
  # Index of commands:
7
7
  # - ListBox::create
@@ -667,7 +667,7 @@ proc ListBox::find {path findInfo {confine ""}} {
667
667
  [string equal $item "img"] ||
668
668
  [string equal $item "win"] } {
669
669
  # item is the label or image/window of the node
670
- set item [string range [lindex $ltags 1] 2 end]
670
+ set item [ListBox::_get_node_name $path $id]
671
671
  set found 1
672
672
  break
673
673
  }
@@ -970,16 +970,10 @@ proc ListBox::_update_scrollregion { path } {
970
970
  set ys [lindex $bbox 3]
971
971
 
972
972
  if { $w < $xs } {
973
- set w [expr {int($xs)}]
974
- if { [set r [expr {$w % $xinc}]] } {
975
- set w [expr {$w+$xinc-$r}]
976
- }
973
+ set w [expr {$xs + $w % $xinc}]
977
974
  }
978
975
  if { $h < $ys } {
979
- set h [expr {int($ys)}]
980
- if { [set r [expr {$h % $yinc}]] } {
981
- set h [expr {$h+$yinc-$r}]
982
- }
976
+ set h [expr {$ys + $h % $yinc}]
983
977
  }
984
978
  }
985
979
 
@@ -1116,7 +1110,7 @@ proc ListBox::_redraw_selection { path } {
1116
1110
  set selfill [Widget::getoption $path -selectfill]
1117
1111
  set multi [Widget::getoption $path -multicolumn]
1118
1112
  foreach id [$path.c find withtag sel] {
1119
- set item [string range [lindex [$path.c gettags $id] 1] 2 end]
1113
+ set item [ListBox::_get_node_name $path $id]
1120
1114
  if {-1 == [lsearch -exact $data(upd,delete) $item]} {
1121
1115
  $path.c itemconfigure "n:$item" \
1122
1116
  -fill [_getoption $path $item -foreground]
@@ -1238,7 +1232,7 @@ proc ListBox::_init_drag_cmd { path X Y top } {
1238
1232
  if { [string equal $item "item"] ||
1239
1233
  [string equal $item "img"] ||
1240
1234
  [string equal $item "win"] } {
1241
- set item [string range [lindex $ltags 1] 2 end]
1235
+ set item [ListBox::_get_node_name $path]
1242
1236
  if {[llength [set cmd [Widget::getoption $path -draginitcmd]]]} {
1243
1237
  return [uplevel \#0 $cmd [list $path $item $top]]
1244
1238
  }
@@ -1637,9 +1631,31 @@ proc ListBox::_mouse_select { path cmd args } {
1637
1631
  }
1638
1632
 
1639
1633
 
1634
+ # ListBox::_get_node_name --
1635
+ #
1636
+ # Given a listbox item, get the name of the node represented by that
1637
+ # item.
1638
+ #
1639
+ # Arguments:
1640
+ # path listbox to query
1641
+ # item Optional item to examine; if omitted,
1642
+ # defaults to "current"
1643
+ #
1644
+ # Results:
1645
+ # node name of the listbox node.
1646
+ proc ListBox::_get_node_name {path {item current}} {
1647
+ set tags [$path.c gettags $item]
1648
+ if {[lindex $tags 0] == "img"} {
1649
+ set node [string range [lindex $tags 2] 2 end]
1650
+ } else {
1651
+ set node [string range [lindex $tags 1] 2 end]
1652
+ }
1653
+ return $node
1654
+ }
1655
+
1656
+
1640
1657
  proc ListBox::_get_current { path } {
1641
- set t [$path.c gettags current]
1642
- return [string range [lindex $t 1] 2 end]
1658
+ return [ListBox::_get_node_name $path]
1643
1659
  }
1644
1660
 
1645
1661