home *** CD-ROM | disk | FTP | other *** search
/ TCE Demo 2 / TCE_DEMO_CD2.iso / demo_cd_.2 / f030demo / 1995 / rotozoom.arj / rotozoom / ROTOZOOM.OBJ < prev    next >
Text File  |  1995-12-03  |  5KB  |  174 lines

  1.  DATA
  2. objet_application:    dc.w %10101            ; FLAGS
  3.         dc.l 0            ; TSR_SIZE
  4.         dc.l name_app        ; REG_NAME
  5.         dc.l name_menu        ; ACC_NAME
  6.         dc.l name_rsc        ; RSC_INFO
  7.         dc.w FORM_BACKGROUND        ; BACKGROUND_OBJ
  8.         dc.w MENU_PRINCIPAL        ; MENU_IDX
  9.         dc.l table_raccourcis        ; MENU_SHORTCUTS
  10.         dc.l 0            ; ALL_ICON_PTR
  11.         dcb.w 10,0            ; M1FLAG,M1X,M1Y,M1W,M1H,M2FLAG,M2X,M2Y,M2W,M2H
  12.         dc.l 2000            ; COUNT (TIMER)
  13.         dc.l 0            ; CUSTOM_INITS
  14.         dc.l menu_selected_tableau    ; MN_SELECTED_TAB_PTR
  15.         dc.l acc_open        ; AC_OPEN
  16.         dc.l acc_close        ; AC_CLOSE
  17.         dc.l app_term        ; AP_TERM
  18.         dc.l 0            ; AP_TFAIL
  19.         dc.l 0            ; SHUT_COMPLETED
  20.         dc.l 0            ; RESCH_COMPLETED
  21.         dc.l 0            ; AP_DRAG_DROP
  22.         dc.l 0            ; SH_WDRAW
  23.         dc.l 0            ; CH_EXIT
  24.         dc.l 0            ; ALL_OTHER
  25.         dc.l 0            ; EVNT_KEYBD
  26.         dc.l 0            ; EVNT_BUTTON
  27.         dc.l 0            ; EVNT_MOUSE1
  28.         dc.l 0            ; EVNT_MOUSE2
  29.         dc.l event_timer_rotozoom    ; EVNT_TIMER
  30.     
  31. table_raccourcis:    dc.w $1011,MNU_FILE_QUIT
  32.         dc.w $180f,MNU_FILE_OPEN
  33.         dc.w $1709,MNU_DESK_INFO
  34.         dc.l -1
  35.  
  36. menu_selected_tableau:    dc.w MNU_FILE_QUIT
  37.         dc.l routine_menu_quit
  38.         dc.w MNU_DESK_INFO
  39.         dc.l info
  40.         dc.w MNU_FILE_OPEN
  41.         dc.l menu_open
  42.         dc.w -1
  43.  
  44. name_app:        dc.b 'ROTOZOOM',0
  45. name_menu:        dc.b '  Roto-Zoom  ',0
  46.     ifnd OPT_FULL_PATHNAMES
  47. name_rsc:        dc.b 'rotozoom.rsc',0
  48.     else
  49. name_rsc:        dc.b 'd:\assemble\sources.v40\rotozoom\rotozoom.rsc',0
  50.     endc
  51.  even
  52.     ;-------------------------------------------
  53.  
  54. objet_fenetre1:    dc.w %1011        ; FLAGS
  55.         dc.w %000000000        ; STATE
  56.         dc.l window1_name,0        ; NAME,INFO
  57.         dc.l 0            ; ICON_WIND_PTR
  58.         dc.l 0            ; TOOLBAR_SPEC_PTR
  59.         dc.l 0            ; MENU_SPEC_PTR
  60.  
  61.         dc.w -1,-1            ; FIRST_X,FIRST_Y
  62.         dc.w 0,0            ; FIRST_W,FIRST_H
  63.         dc.w 0,0            ; INTERNAL_MAX_W,INTERNAL_MAX_H
  64.  
  65.         dc.w -1            ; GEM_HANDLE
  66.         dcb.w 10,0            ; EXTERNAL_X,EXTERNAL_Y,EXTERNAL_W,EXTERNAL_H,INTERNAL_X,INTERNAL_Y,INTERNAL_W,INTERNAL_H,EXTERNAL_MAX_W,EXTERNAL_MAX_H
  67.         dc.w 0,0,0,0        ; SLIDER_V_POS,SLIDER_V_SIZE,SLIDER_H_POS,SLIDER_H_SIZE
  68.  
  69.         dc.w 3            ; TYPE
  70.         dc.l window1_specs        ; SPEC_PTR
  71.         dcb.l 2,0            ; USER_PTR1,USER_PTR2
  72.  
  73.         dc.w WM_AFTER+WM_CLOSED        ; START_EVNT_LIST
  74.         dc.l event_window1_closed
  75.         dc.w -1
  76.  
  77. window1_specs:    dc.w FORM_SIZE_XY        ; FORM_IDX
  78.         dc.l 0            ; FORM_PTR
  79.         dc.w FSXY_TEXT_WIDTH        ; FOCUSED_TXT
  80.         dcb.w 7,0            ; CURSOR_POS,L_SCULPT,T_SCULPT,R_SCULPT,B_SCULPT,W_SCULPT,H_SCULPT
  81.  
  82.         dc.w FSXY_BTON_OK        ; obj idx
  83.         dc.w $1800            ; shortcut(0=no)
  84.         dc.w 2            ; 1:txt 2:bton 3:pop 4:radio
  85.         dc.l struct_bton_ok        ; ptr struct
  86.  
  87.         dc.w FSXY_BTON_CANCEL        ; obj idx
  88.         dc.w $1e00            ; shortcut(0=no)
  89.         dc.w 2            ; 1:txt 2:bton 3:pop 4:radio
  90.         dc.l struct_bton_annule        ; ptr struct
  91.  
  92.         dc.w -1
  93.  
  94. struct_bton_ok:    dc.w 0            ; STATE
  95.         dc.w GWVA_EVNT_CLICK        ; START_EVNT_LIST
  96.         dc.l wind1_bton_ok_click
  97.         dc.w -1
  98.  
  99. struct_bton_annule:    dc.w 0            ; STATE
  100.         dc.w GWVA_EVNT_CLICK        ; START_EVNT_LIST
  101.         dc.l wind1_bton_annule_click
  102.         dc.w -1
  103.  
  104. window1_name:    dc.b 'Formulaire de configuration',0
  105.  even
  106.     *----------------------------------*
  107. objet_fenetre2:    dc.w %100111111111111        ; FLAGS
  108.         dc.w %000000000        ; STATE
  109.         dc.l window2_name,GWVA_APP_OBJ_COPYRIGHT_MESSAGE    ; NAME,INFO
  110.         dc.l 0            ; ICON_WIND_PTR
  111.         dc.l 0            ; TOOLBAR_SPEC_PTR
  112.         dc.l 0            ; MENU_SPEC_PTR
  113.  
  114.         dc.w -1,-1            ; FIRST_X,FIRST_Y
  115.         dc.w 160,100        ; FIRST_W,FIRST_H
  116.         dc.w 0,0            ; INTERNAL_MAX_W,INTERNAL_MAX_H
  117.  
  118.         dc.w -1            ; GEM_HANDLE
  119.         dcb.w 10,0            ; EXTERNAL_X,EXTERNAL_Y,EXTERNAL_W,EXTERNAL_H,INTERNAL_X,INTERNAL_Y,INTERNAL_W,INTERNAL_H,EXTERNAL_MAX_W,EXTERNAL_MAX_H
  120.         dc.w 1000,1000,1000,1000    ; SLIDER_V_POS,SLIDER_V_SIZE,SLIDER_H_POS,SLIDER_H_SIZE
  121.  
  122.         dc.w 4            ; TYPE
  123.         dc.l spec_wind2_bitmap        ; SPEC_PTR
  124.         dcb.l 2,0            ; USER_PTR1,USER_PTR2
  125.  
  126.         ; START_EVNT_LIST
  127.  
  128.         dc.w WM_AFTER+WM_CLOSED        ; START_EVNT_LIST
  129.         dc.l event_window2_closed
  130.  
  131.         dc.w -1
  132.  
  133. spec_wind2_bitmap:    dc.w 0,0            ; IMG_WIDTH,IMG_HEIGHT
  134.         dc.l 0            ; DATA_PTR
  135.         dc.l 0            ; PAL_PTR
  136.         dc.w 16            ; NBR_BITPLANES
  137.         dc.w 0,0            ; AFF_DX, AFF_DY
  138.  
  139. window2_name:    dc.b ' Rotative Zoomer',0
  140.  even
  141.  
  142.     ;-------------------------------------------
  143.  
  144. objet_fenetre3:    dc.w %1011        ; FLAGS
  145.         dc.w %000000000        ; STATE
  146.         dc.l GWVA_APP_OBJ_COPYRIGHT_MESSAGE,0        ; NAME,INFO
  147.         dc.l 0            ; ICON_WIND_PTR
  148.         dc.l 0            ; TOOLBAR_SPEC_PTR
  149.         dc.l 0            ; MENU_SPEC_PTR
  150.  
  151.         dc.w -1,-1            ; FIRST_X,FIRST_Y
  152.         dc.w 0,0            ; FIRST_W,FIRST_H
  153.         dc.w 0,0            ; INTERNAL_MAX_W,INTERNAL_MAX_H
  154.  
  155.         dc.w -1            ; GEM_HANDLE
  156.         dcb.w 10,0            ; EXTERNAL_X,EXTERNAL_Y,EXTERNAL_W,EXTERNAL_H,INTERNAL_X,INTERNAL_Y,INTERNAL_W,INTERNAL_H,EXTERNAL_MAX_W,EXTERNAL_MAX_H
  157.         dc.w 0,0,0,0        ; SLIDER_V_POS,SLIDER_V_SIZE,SLIDER_H_POS,SLIDER_H_SIZE
  158.  
  159.         dc.w 3            ; TYPE
  160.         dc.l window3_specs        ; SPEC_PTR
  161.         dcb.l 2,0            ; USER_PTR1,USER_PTR2
  162.  
  163.         dc.w WM_AFTER+WM_CLOSED        ; START_EVNT_LIST
  164.         dc.l event_window3_closed
  165.  
  166.         dc.w -1
  167.  
  168. window3_specs:    dc.w FORM_INFORMATION        ; FORM_IDX
  169.         dc.l 0            ; FORM_PTR
  170.         dc.w 0            ; FOCUSED_TXT
  171.         dcb.w 8,0            ; CURSOR_POS,L_SCULPT,T_SCULPT,R_SCULPT,B_SCULPT,W_SCULPT,H_SCULPT
  172.  
  173.  even
  174.