OSDN Git Service

add window for register external bbs.
[bbk/bchanl.git] / src / bchanl_hmi.yaml
1 #
2 # bchanl_hmi.yaml
3 #
4 # Copyright (c) 2012 project bchan
5 #
6 # This software is provided 'as-is', without any express or implied
7 # warranty. In no event will the authors be held liable for any damages
8 # arising from the use of this software.
9 #
10 # Permission is granted to anyone to use this software for any purpose,
11 # including commercial applications, and to alter it and redistribute it
12 # freely, subject to the following restrictions:
13 #
14 # 1. The origin of this software must not be misrepresented; you must not
15 #    claim that you wrote the original software. If you use this software
16 #    in a product, an acknowledgment in the product documentation would be
17 #    appreciated but is not required.
18 #
19 # 2. Altered source versions must be plainly marked as such, and must not be
20 #    misrepresented as being the original software.
21 #
22 # 3. This notice may not be removed or altered from any source
23 #    distribution.
24 #
25
26 generator:
27   output_source: bchanl_hmi.c
28   output_header: bchanl_hmi.h
29   lisence_source: |
30     /*
31      * bchanl_hmi.c
32      *
33      * Copyright (c) 2012 project bchan
34      *
35      * This software is provided 'as-is', without any express or implied
36      * warranty. In no event will the authors be held liable for any damages
37      * arising from the use of this software.
38      *
39      * Permission is granted to anyone to use this software for any purpose,
40      * including commercial applications, and to alter it and redistribute it
41      * freely, subject to the following restrictions:
42      *
43      * 1. The origin of this software must not be misrepresented; you must not
44      *    claim that you wrote the original software. If you use this software
45      *    in a product, an acknowledgment in the product documentation would be
46      *    appreciated but is not required.
47      *
48      * 2. Altered source versions must be plainly marked as such, and must not be
49      *    misrepresented as being the original software.
50      *
51      * 3. This notice may not be removed or altered from any source
52      *    distribution.
53      *
54      */
55   lisence_header: |
56     /*
57      * bchanl_hmi.h
58      *
59      * Copyright (c) 2012 project bchan
60      *
61      * This software is provided 'as-is', without any express or implied
62      * warranty. In no event will the authors be held liable for any damages
63      * arising from the use of this software.
64      *
65      * Permission is granted to anyone to use this software for any purpose,
66      * including commercial applications, and to alter it and redistribute it
67      * freely, subject to the following restrictions:
68      *
69      * 1. The origin of this software must not be misrepresented; you must not
70      *    claim that you wrote the original software. If you use this software
71      *    in a product, an acknowledgment in the product documentation would be
72      *    appreciated but is not required.
73      *
74      * 2. Altered source versions must be plainly marked as such, and must not be
75      *    misrepresented as being the original software.
76      *
77      * 3. This notice may not be removed or altered from any source
78      *    distribution.
79      *
80      */
81   name: bchanlhmi
82
83 windows:
84   - window_name: subjectwindow
85     attributes:
86       - scrollable
87       - resizable
88       - alwaysopen
89     title: 
90     title_max_length: 256
91     export_events:
92       - draw
93       - butdn
94       - close
95       - scroll
96       - paste
97       - mousemove
98
99   - window_name: bbsmenuwindow
100     attributes:
101       - scrollable
102       - resizable
103       - alwaysopen
104     title_max_length: 128
105     export_events:
106       - draw
107       - butdn
108       - close
109       - scroll
110       - mousemove
111
112   - window_name: subjectoptionwindow
113     attributes:
114       - opencheckable
115       - subwindow
116     parent: subjectwindow
117     title: ¥¹¥ì°ìÍ÷ÀßÄê
118     title_max_length: 256
119     size:
120       h: 400
121       v: 200
122     parts:
123       - name: filter
124         type: textbox
125         databox:
126           specify: argument
127         rect:
128           left: 8
129           top: 38
130           right: 368
131           bottom: 64
132         length: 1000
133         attr:
134           chcol: -1
135           class: -1
136           attr: 0
137           csize:
138             h: 16
139             v: 16
140       - name: order
141         type: switchselector
142         databox:
143           specify: argument
144         rect:
145           left: 158
146           top: 108
147           right: 300
148           bottom: 134
149         fields:
150           - name: ascending
151             text: ¾º½ç
152           - name: descending
153             text: ¹ß½ç
154       - name: orderby
155         type: switchselector
156         databox:
157           specify: argument
158         rect:
159           left: 8
160           top: 108
161           right: 150
162           bottom: 134
163         fields:
164           - name: number
165             text: ½ç
166           - name: res
167             text: ¥ì¥¹
168           - name: since
169             text: £Ó£é£î£ã£å
170           - name: vigor
171             text: Àª¤¤
172
173   - window_name: registerexternalwindow
174     attributes:
175     title: ³°ÉôÈĤÎÄɲÃ
176     title_max_length: 256
177     size:
178       h: 400
179       v: 200
180     parts:
181       - name: boradname
182         type: textbox
183         rect:
184           left: 8
185           top: 8
186           right: 368
187           bottom: 34
188         length: 1000
189         attr:
190           chcol: -1
191           class: -1
192           attr: 0
193           csize:
194             h: 16
195             v: 16
196       - name: url
197         type: textbox
198         rect:
199           left: 8
200           top: 38
201           right: 368
202           bottom: 64
203         length: 1000
204         attr:
205           chcol: -1
206           class: -1
207           attr: 0
208           csize:
209             h: 16
210             v: 16
211       - name: determine
212         type: textmomentallyswitch
213         rect:
214           left: 158
215           top: 108
216           right: 300
217           bottom: 134
218         text: ·èÄê
219       - name: cancel
220         type: textmomentallyswitch
221         rect:
222           left: 8
223           top: 108
224           right: 150
225           bottom: 134
226         text: ¼è¤ê¾Ã¤·