~fcitx-team/fcitx/debian-qimpanel

« back to all changes in this revision

Viewing changes to uk-default-skin/ubuntukylin-light1/fcitx_skin.conf

  • Committer: Aron Xu
  • Date: 2015-07-18 13:02:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: git-v1:dc667920c970a8502d6d20cf9f60dec0db7dda21
Merge tag 'upstream/2.1.2'

Upstream version 2.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#备注:此皮肤conf文件作为范本,包含有各个字段的详细说明。
2
 
#                                        --- By Lenky 2013-9-12
3
 
 
4
 
[SkinInfo]
5
 
#名词
6
 
Name=ubuntukylin-light1
7
 
#版本
8
 
Version=0.1
9
 
#作者
10
 
Author=Ou Yangyu
11
 
#描述
12
 
Desc=ubuntukylin-light1
13
 
 
14
 
[SkinFont]
15
 
#输入字符串的字体大小,以points为单位计算
16
 
FontSize=13
17
 
#候选词前的数字标号和候选词的字体大小,以points为单位计算
18
 
CandFontSize=13
19
 
#输入字符串的字体颜色,按RGB的十进制计算,比如#1a9bff则为:十六进制1a为十进制25,十六进制9b为十进制155,十六进制ff为十进制255
20
 
InputColor=17 80 131
21
 
#候选词前的数字标号的字体颜色
22
 
IndexColor=3 0 0
23
 
#首选候选词的字体颜色
24
 
FirstCandColor=17 80 131
25
 
#其他候选词的字体颜色
26
 
OtherColor=3 0 0
27
 
 
28
 
#==================================================
29
 
#以下字段在qim-panel暂时没用到,仅为了兼容fcitx
30
 
#因为默认启动fcitx时,会检查皮肤文件是否正确,如果没有下面这些字段,
31
 
#那么检查结果为错误,导致把皮肤退回为default,导致再启动qim-panel就
32
 
#使用的也是default了。
33
 
TipColor=162 181 255
34
 
UserPhraseColor=255 255 143
35
 
CodeColor=17 80 131
36
 
ActiveMenuColor=255 255 255
37
 
InactiveMenuColor=178 178 178
38
 
 
39
 
[SkinMainBar]
40
 
BackImg=bar.png
41
 
Logo=logo.png
42
 
Eng=en.png
43
 
Active=cn.png
44
 
MarginLeft=8
45
 
MarginRight=8
46
 
MarginTop=8
47
 
MarginBottom=8
48
 
 
49
 
[SkinTrayIcon]
50
 
Active=active.png
51
 
Inactive=inactive.png
52
 
 
53
 
[SkinMenu]
54
 
BackImg=menu.png
55
 
MarginLeft=8
56
 
MarginRight=8
57
 
MarginTop=8
58
 
MarginBottom=8
59
 
ActiveColor=50 87 244
60
 
LineColor=204 204 204
61
 
 
62
 
[SkinKeyboard]
63
 
# Virtual Keyboard Image
64
 
BackImg=keyboard.png
65
 
# Key Color On Virutal Keyboard
66
 
KeyColor=101 153 209
67
 
#以上字段在qim-panel暂时没用,仅为了兼容fcitx
68
 
#==================================================
69
 
 
70
 
#说明1:以下几个坐标以均以整个面板的左上角为原点(0, 0)
71
 
#   (0, 0)
72
 
#     ----------------------------------->
73
 
#     |
74
 
#     |     (x, y)   
75
 
#     |
76
 
#     |
77
 
#     |
78
 
#     |
79
 
#     V
80
 
 
81
 
#说明2:输入面板主要有四个元素,分别为输入字符串(InputString),候选词(OutputCand),左翻页(BackArrow),右翻页(ForwardArrow)
82
 
#默认的横向布局为(以5个候选词为例):
83
 
#     ---------------------------------------------------------------------------
84
 
#     |   [InputString]                             [BackArrow] [ForwardArrow]  |
85
 
#     |   [OutputCand1] [OutputCand2] [OutputCand3] [OutputCand4] [OutputCand5] |
86
 
#     ---------------------------------------------------------------------------
87
 
 
88
 
#默认的纵向布局为:
89
 
#     -------------------------------------------------
90
 
#     |   [InputString]   [BackArrow] [ForwardArrow]  |
91
 
#     |   [OutputCand1]                               |
92
 
#     |   [OutputCand2]                               |
93
 
#     |   [OutputCand3]                               |
94
 
#     |   [OutputCand4]                               |
95
 
#     |   [OutputCand5]                               |
96
 
#     -------------------------------------------------
97
 
 
98
 
#说明3:所有文本或图片的配置坐标均以其左上角为准,所以,如果填写负数的话,需要考虑把文本或图片的宽和高预计在内
99
 
 
100
 
#说明4:因为整个输入面板的宽和高是动态变化的,其计算方法是:
101
 
#高:四个元素InputString OutputCand BackArrow ForwardArrow中靠最下方的那个元素的bottom值 再 加上 MarginBottom 为整个面板的高度
102
 
#宽:四个元素InputString OutputCand BackArrow ForwardArrow中靠最右方的那个元素的right值 再 加上 MarginRight 为整个面板的宽度
103
 
 
104
 
#横向布局
105
 
[SkinInputBar]
106
 
#输入时的背景图片
107
 
BackImg=input.png
108
 
#切换时提示信息的背景图片
109
 
TipsImg=tips.png
110
 
 
111
 
#九宫格的左边距
112
 
MarginLeft=18
113
 
#九宫格的右边距,必须为正数,表示离右边的距离
114
 
MarginRight=40
115
 
#九宫格的上边距
116
 
MarginTop=25
117
 
#九宫格的下边距,必须为正数,表示离下边的距离
118
 
MarginBottom=8
119
 
 
120
 
#输入字符串位置X坐标,为0则默认为MarginLeft,为负数则从最右边往左推进的距离
121
 
InputStringPosX=0
122
 
#输入字符串位置Y坐标,为0则默认为MarginTop,为负数则从最底边往上推进的距离
123
 
InputStringPosY=10
124
 
#输出候选词位置X坐标,为0则默认为MarginLeft,为负数则从最右边往左推进的距离
125
 
OutputCandPosX=0
126
 
#输出候选词位置Y坐标,为0则默认为(MarginTop + 输入字符串的高度),为负数则从最底边往上推进的距离
127
 
OutputCandPosY=34
128
 
#左翻页图片
129
 
BackArrow=prev.png
130
 
#左翻页图片位置X坐标,为0则默认为从最右边往左推进的(左翻页图片宽度 + 右翻页图片宽度 + 15)的距离,为负数则从最右边往左推进的距离
131
 
BackArrowX=0
132
 
#左翻页图片位置Y坐标,为0则默认为InputStringPosY,为负数则从最底边往上推进的距离
133
 
BackArrowY=0
134
 
#右翻页图片
135
 
ForwardArrow=next.png
136
 
#右翻页图片位置X坐标,为0则默认为从最右边往左推进的(右翻页图片宽度 + 10)的距离,为负数则从最右边往左推进的距离
137
 
ForwardArrowX=0
138
 
#右翻页图片位置Y坐标,为0则默认为InputStringPosY,为负数则从最底边往上推进的距离
139
 
ForwardArrowY=0
140
 
 
141
 
#==================================================
142
 
#以下字段在qim-panel暂时没用到,仅为了兼容fcitx
143
 
#因为默认启动fcitx时,会检查皮肤文件是否正确,如果没有下面这些字段,
144
 
#那么检查结果为错误,导致把皮肤退回为default,导致再启动qim-panel就
145
 
#使用的也是default了。
146
 
InputPos=0
147
 
OutputPos=30
148
 
BackArrowX=20
149
 
BackArrowY=6
150
 
ForwardArrowX=10
151
 
ForwardArrowY=6
152
 
CursorColor=255 255 255
153
 
#==================================================
154
 
 
155
 
#纵向布局
156
 
#说明:如果和横向布局的配置一致,纵向布局里可以不用重复设置
157
 
#比如横向布局里的FontSize为16,如果纵向布局里的FontSize也是16,那么可以不配置该字段或配置该字段为0
158
 
[SkinFontVertical]
159
 
 
160
 
[SkinInputBarVertical]
161
 
#面板宽度调节,可正可负
162
 
AdjustWidth=10
163
 
#面板高度调节,可正可负
164
 
AdjustHeight=-30
165
 
 
166
 
BackImg=input_v.png
167
 
 
168
 
MarginTop=36
169
 
MarginBottom=48
170