Subversion Repositories Kolibri OS

Rev

Rev 31 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31 Rev 51
Line 195... Line 195...
195
      mov arg1,arg2
195
      mov arg1,arg2
196
   end if
196
   end if
197
 }
197
 }
Line -... Line 198...
-
 
198
 
198
 
199
 
199
 
200
; structure definition helper
-
 
201
macro struct name, [arg]
-
 
202
 {
-
 
203
  common
-
 
204
   name@struct equ name
-
 
205
   struc name arg {
-
 
206
 }
-
 
207
 
-
 
208
macro struct_helper name
-
 
209
 {
200
macro struct name
210
  match xname,name
201
 {
211
  \{
202
  virtual at 0
212
   virtual at 0
-
 
213
   xname xname
203
   name name
214
   sizeof.#xname = $ - xname
-
 
215
   name equ sizeof.#xname
204
   sizeof.#name = $ - name
216
   end virtual
Line -... Line 217...
-
 
217
  \}
-
 
218
 }
205
  end virtual
219
 
206
 }
220
ends fix } struct_helper name@struct
207
 
-
 
208
; structures used in MeOS
221
 
209
struc process_information
222
; structures used in MeOS
210
 {
223
struct process_information
211
  .cpu_usage               dd ?  ; +0
224
  .cpu_usage               dd ?  ; +0
212
  .window_stack_position   dw ?  ; +4
225
  .window_stack_position   dw ?  ; +4
Line 220... Line 233...
220
  .y_start                 dd ?  ; +38
233
  .y_start                 dd ?  ; +38
221
  .x_size                  dd ?  ; +42
234
  .x_size                  dd ?  ; +42
222
  .y_size                  dd ?  ; +46
235
  .y_size                  dd ?  ; +46
223
  .slot_state              dw ?  ; +50
236
  .slot_state              dw ?  ; +50
224
  rb (1024-52)
237
  rb (1024-52)
225
 }
238
ends
226
struct process_information
-
 
Line 227... Line 239...
227
 
239
 
228
struc system_colors
-
 
229
 {
240
struct system_colors
230
  .frame            dd ?
241
  .frame            dd ?
231
  .grab             dd ?
242
  .grab             dd ?
232
  .grab_button      dd ?
243
  .grab_button      dd ?
233
  .grab_button_text dd ?
244
  .grab_button_text dd ?
234
  .grab_text        dd ?
245
  .grab_text        dd ?
235
  .work             dd ?
246
  .work             dd ?
236
  .work_button      dd ?
247
  .work_button      dd ?
237
  .work_button_text dd ?
248
  .work_button_text dd ?
238
  .work_text        dd ?
249
  .work_text        dd ?
239
  .work_graph       dd ?
250
  .work_graph       dd ?
240
 }
-
 
Line 241... Line 251...
241
struct system_colors
251
ends
Line 242... Line 252...
242
 
252