Subversion Repositories Kolibri OS

Rev

Rev 617 | Rev 1624 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1.  
  2. vscrl_capt dd -1
  3. hscrl_capt dd -1
  4. body_capt  dd -1
  5.  
  6. ins_mode db 1
  7.  
  8. s_status dd 0
  9.  
  10. sz app_fasm    ,'/rd/1/develop/fasm',0
  11. sz app_board   ,'/rd/1/board',0
  12. sz app_tinypad ,'/rd/1/tinypad',0
  13. sz app_docpak  ,'/rd/1/docpak',0
  14.  
  15. sz sysfuncs_param,'g',0
  16.  
  17. include 'tp-tables.inc'
  18. include 'tp-locale.inc'
  19.  
  20. macro editor_lines [str, flags]
  21. {
  22.   common
  23.     local size
  24.   forward
  25.     virtual at 0
  26.       db str
  27.       size = $
  28.     end virtual
  29.     dd size
  30.     dw flags
  31.     db str
  32.   common
  33.     dd 0
  34. }
  35.  
  36. ;// options dialog data [
  37. label optsdlg_editor at $-EDITOR.Bounds
  38.   dd ?,?,?,?   ; Bounds         RECT
  39.   dd @f        ; Lines          dd ?
  40.   dd ?         ; Lines.Size     dd ?
  41.   dd 9         ; Lines.Count    dd ?
  42.   dd 21        ; Columns.Count  dd ?
  43.   dd 0,4       ; Caret          POINT
  44.   dd 100,4     ; SelStart       POINT
  45.   dd 0,0       ; TopLeft        POINT
  46.   dd 0,0       ; VScroll        SCROLLBAR
  47.   dd 0,0       ; HScroll        SCROLLBAR
  48.   dd 0         ; Gutter.Width   dd ?
  49.   db 0         ; Gutter.Visible db ?
  50.   db 1         ; AsmMode        db ?
  51.   db 0         ; Modified       db ?
  52.  
  53. @@:
  54. editor_lines \
  55.   ' ',                     0, \
  56.   ' org 100h',             EDITOR_LINE_FLAG_MOFIFIED, \
  57.   ' ',                     0, \
  58.   ' mov ah,09h  ; write',  0, \
  59.   ' mov dx,text',          0, \
  60.   ' int 21h',              0, \
  61.   ' int 20h',              EDITOR_LINE_FLAG_MOFIFIED + EDITOR_LINE_FLAG_SAVED, \
  62.   ' ',                     0, \
  63.   ' text db "Hello!",24h', 0
  64.  
  65. optsdlg_editor_parts:   ; left,top,right,bottom,type
  66.   db 0, 12, 13, 29, 22
  67.   db 0, 12, 33, 47, 42
  68.   db 0, 12, 53, 29, 72
  69.   db 0, 12, 83, 53, 92
  70.   db 2, 12, 43, 77, 52
  71.   db 3,  4, 43,148, 52
  72.   db 4, 48, 33, 53, 42
  73.   db 4,108, 83,113, 92
  74.   db 5, 36, 13, 59, 22
  75.   db 5, 54, 33, 71, 42
  76.   db 5, 36, 53, 53, 72
  77.   db 5,114, 83,131, 92
  78.   db 6, 60, 83,107, 92
  79.   db 7, 84, 33,125, 42
  80.   db 8,  1, 13,  5, 22
  81.   db 9,  1, 63,  5, 72
  82.   db 1,  1,  1,148,105
  83.   db -1
  84. ;// ]
  85.  
  86. sz symbols_ex,';?.%"',"'"
  87. sz symbols,'#&*\:/<>|{}()[]=+-, '
  88.  
  89. ; INI file section/key names
  90.  
  91. sz ini_sec_window,INI_SEC_PREFIX,'window',0
  92. sz ini_window_top,'top',0
  93. sz ini_window_left,'left',0
  94. sz ini_window_width,'width',0
  95. sz ini_window_height,'height',0
  96.  
  97. sz ini_sec_colors,INI_SEC_PREFIX,'colors',0
  98. sz ini_colors_text,'text',0
  99. sz ini_colors_back,'back',0
  100. sz ini_colors_text_sel,'text_sel',0
  101. sz ini_colors_back_sel,'back_sel',0
  102. sz ini_colors_symbol,'symbol',0
  103. sz ini_colors_number,'number',0
  104. sz ini_colors_string,'string',0
  105. sz ini_colors_comment,'comment',0
  106. sz ini_colors_line_moded,'line_moded',0
  107. sz ini_colors_line_saved,'line_saved',0
  108.  
  109. sz ini_sec_options,INI_SEC_PREFIX,'options',0
  110. sz ini_options_tabs_pos,'tabs_pos',0
  111. sz ini_options_secure_sel,'secure_sel',0
  112. sz ini_options_auto_braces,'auto_braces',0
  113. sz ini_options_auto_indent,'auto_indent',0
  114. sz ini_options_smart_tab,'smart_tab',0
  115. sz ini_options_optim_save,'optim_save',0
  116. sz ini_options_line_nums,'line_nums',0
  117.