home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 113 / EnigmaAmiga113CD.iso / software / grafica / picfx / e-source / classes.e next >
Encoding:
Text File  |  2000-04-22  |  5.7 KB  |  107 lines

  1. OPT MODULE
  2. OPT EXPORT
  3. /*This module just contains the values of the constants*/
  4.  
  5. /*Registation Number:FCB96172; I take FCB9 as base... :(*/
  6. ENUM MUIA_PlaneFunc_Bstr=$FCB90000, -> String of the B function
  7.      MUIA_PlaneFunc_Fail,           -> $RGB:How decoding went..
  8.      MUIA_PlaneFunc_Gstr,           -> String of the G function
  9.      MUIA_PlaneFunc_Height,         -> Height of the object
  10.      MUIA_PlaneFunc_ImageFile,      -> FileName of the image to load
  11.      MUIA_PlaneFunc_Left,
  12.      MUIA_PlaneFunc_Loading,        -> TRUE/FALSE
  13.      MUIA_PlaneFunc_LoadM,          -> Way of loading an image, concerning the size
  14.      MUIA_PlaneFunc_Lock,           -> Allows to read/write lock the instance of the class
  15.      MUIA_PlaneFunc_Modified,       -> if the project was modified after last save
  16.      MUIA_PlaneFunc_Name,           -> Name of the graph
  17.      MUIA_PlaneFunc_Percent,        -> Percentage of current work done.
  18.      MUIA_PlaneFunc_OutputR,        -> values: OUT_Integer,OUT_Float32 or OUT_Float64,...
  19.      MUIA_PlaneFunc_OutputG,        -> ... or OUT_OldR,OUT_OldG,OUT_OldB,...
  20.      MUIA_PlaneFunc_OutputB,        -> ... or Out_CopyR,OUT_CopyG (!)
  21.      MUIA_PlaneFunc_ProjectID,      -> Used by ProjectList class, it is the ID of the object
  22.      MUIA_PlaneFunc_Quiet,          -> Width/Height changes won't resize the window if non-zero
  23.      MUIA_PlaneFunc_Rstr,           -> R function string
  24.      MUIA_PlaneFunc_State,
  25.      MUIA_PlaneFunc_Top,
  26.      MUIA_PlaneFunc_Type,           -> Type of graph
  27.      MUIA_PlaneFunc_Width,          -> Width of the object
  28.      MUIA_P_WindowObject
  29.  
  30. ENUM MUIM_PlaneFunc_Abort=$FCB90800,-> Aborts Rendering SubTask
  31.      MUIM_PlaneFunc_Clear,          -> Clears bitmap
  32.      MUIM_PlaneFunc_Close,          -> React after a click on the close button.
  33.      MUIM_PlaneFunc_DrawHandle,     -> Releases (if necessary) then obtains a new drawhandle
  34.      MUIM_PlaneFunc_Lamps,          -> This updates the failure lamps of the functions.
  35.      MUIM_PlaneFunc_LoadFunc,       -> Loads a function from disk
  36.      MUIM_PlaneFunc_Render,         -> Launches/pauses the rendering subtask
  37.      MUIM_PlaneFunc_SaveFunc,       -> Saves the function to disk
  38.      MUIM_PlaneFunc_SavePic,        -> Saves the picture to disk, as an ILBM image
  39.      MUIM_PlaneFunc_SetSize,        -> Scales the picture to fit into the window, keeping aspect.
  40.      MUIM_PlaneFunc_SetTaskPri,     -> Sets the priority of the subtask
  41.      MUIM_PlaneFunc_Update          -> sent by the subtask, to update the picture display
  42.  
  43. CONST MUIV_PlaneFunc_Type_DTPic=1,
  44.       MUIV_PlaneFunc_Type_Graph=2,
  45.  
  46.       MUIV_PlaneFunc_LoadM_Scale=1,
  47.       MUIV_PlaneFunc_LoadM_CutTile=2,
  48.       MUIV_PlaneFunc_LoadM_ChangeSize=3,
  49.  
  50.       MUIV_PlaneFunc_State_Idle=0,   ->free
  51.       MUIV_PlaneFunc_State_Drawing=1,->busy
  52.       MUIV_PlaneFunc_State_Paused=2, ->busy but paused
  53.       MUIV_PlaneFunc_State_Frozen=3, ->free but being read
  54.       MUIV_PlaneFunc_State_Loading=4,->loading picture
  55.  
  56.       MUIV_PlaneFunc_Lock_Write=-1, -> Want to lock it in write mode, so nobody else may touch the object
  57.       MUIV_PlaneFunc_Lock_NoWrite=0,-> remove writelock
  58.       MUIV_PlaneFunc_Lock_Read=1,   -> Want to lock it in read mode, only reading is now allowed. Nesting counter!
  59.       MUIV_PlaneFunc_Lock_NoRead=0, -> remove one readlock
  60.  
  61.       MUIV_PlaneFunc_Abort_Finish=1,-> Aborted because rendering finished
  62.       MUIV_PlaneFunc_Abort_Abort=2, -> Aborted because user asked
  63.       MUIV_PlaneFunc_Abort_NoLoad=3 -> Aborted because picture could not be loaded
  64.  
  65. ENUM MUIM_ProjectList_DelItem=$FCB91800,-> Closes the current project if possible (i.e. if it isn't read-locked)
  66.      MUIM_ProjectList_DisableProgram,   -> Prevents the user from doing any input to the program
  67.      MUIM_ProjectList_EnableProgram,    -> Restores program to normal state
  68.      MUIM_ProjectList_Exit,             -> This aborts all currently running projects and quits the application
  69.      MUIM_ProjectList_Forward,          -> Forwards the method (no args!) to the current project
  70.      MUIM_ProjectList_Memory,           -> Shows available memory in title bar.
  71.      MUIM_ProjectList_NewItem,          -> Adds an item in the list
  72.      MUIM_ProjectList_Notify,           -> Sends a notification information to the current project
  73.      MUIM_ProjectList_Prefs,            -> writes a new value in a preference variable
  74.      MUIM_ProjectList_Refresh,          -> Refreshes the user interface according to the select item
  75.      MUIM_ProjectList_SavePrefs,        -> Writes to env:picFX.prefs AND copies to envarc:
  76.      MUIM_ProjectList_SetPri,           -> Set the priority of a task (see MUIV_~)
  77.      MUIM_ProjectList_ShowMe,           -> Sets the MUIA_Window_Open of the current project
  78.      MUIM_ProjectList_InsertInList      -> Insert the current project in the given list
  79.  
  80. ENUM MUIV_ProjectList_Notify_Name=1,    /*gadget that has been changed*/
  81.      MUIV_ProjectList_Notify_Type,
  82.      MUIV_ProjectList_Notify_ImageFile,
  83.      MUIV_ProjectList_Notify_LoadM,
  84.      MUIV_ProjectList_Notify_Red,
  85.      MUIV_ProjectList_Notify_Green,
  86.      MUIV_ProjectList_Notify_Blue,
  87.      MUIV_ProjectList_Notify_OutputR,
  88.      MUIV_ProjectList_Notify_OutputG,
  89.      MUIV_ProjectList_Notify_OutputB,
  90.      MUIV_ProjectList_Notify_Width,
  91.      MUIV_ProjectList_Notify_Height
  92.  
  93. ENUM MUIV_ProjectList_SetPri_Main=0,
  94.      MUIV_ProjectList_SetPri_Render,
  95.      MUIV_ProjectList_SetPri_Curr
  96.  
  97. CONST MUIA_uSlider_Stringify=$FCB92000
  98.  
  99. ENUM MUIM_uSlider_Bigger=$ECB92800, -> how do I know if this tag is already used????
  100.      MUIM_uSlider_Smaller
  101.  
  102. CONST MUIA_Projecthold_Current=$FCB93000 -> This the data of the selected project
  103. ENUM MUIM_Projecthold_Animate=$FCB93800,-> This launches the animation process
  104.      MUIM_Projecthold_StepAnimate       -> If an animation rendering is running, then this resumes it
  105.  
  106.  
  107.