home *** CD-ROM | disk | FTP | other *** search
/ Kyūkyoku!! X68000 Emulator / X68000Book.dat / mac / OLS / X68000 / Ko-Window / kow142s.lzh / wsrv / func.h < prev    next >
Text File  |  1995-12-01  |  6KB  |  116 lines

  1.  
  2. typedef    struct    {
  3.         int        funcid ;
  4.         char    *name ;
  5.         void    *function ;
  6.         int        args ;                /* max 12 */
  7. /*        int        processflag ;*/    /* 16byteé╔é╖éΘé╜é▀ args é╞ processflag é≡ô¥êΩ 1995 11/20 COR.*/
  8.     }
  9.         FunctionAttr ;
  10.  
  11. static    FunctionAttr    FunctionList[] = {
  12.         /* Defined in wsrv.c */
  13.         WindowDummyID,                "",                        NULL,                    0*256+    FALSE,
  14.         WindowConnectionOpenID,        "ConnectionOpen",        NULL,                    0*256+    FALSE,
  15.         WindowConnectionCloseID,    "ConnectionClose",        NULL,                    0*256+    FALSE,
  16.         WindowLoadExecID,            "LoadExec",                NULL,                    4*256+    FALSE,
  17.         WindowGetVersionID,            "GetVersion",            WindowGetVersion,        0*256+    FALSE,
  18.         WindowSetSingalID,            "SetSingal",            WindowSetSingal,        1*256+    TRUE,
  19.         WindowSendSignalID,            "SendSignal",            WindowSendSignal,        3*256+    FALSE,
  20.         WindowGetProcessInfoID,        "WindowGetProcessInfo",    WindowGetProcessInfo,    1*256+    FALSE,
  21.  
  22.         /* Defined in open.c */
  23.         WindowOpenID,                "Open",                    WindowOpen,                6*256+    TRUE,
  24.         WindowSimpleOpenID,            "SimpleOpen",            SimpleOpen,                6*256+    TRUE,
  25.         WindowTitleOpenID,            "TitleOpen",            TitleOpen,                9*256+    TRUE,
  26.         WindowScrollOpenID,            "ScrollOpen",            ScrollOpen,                11*256+    TRUE,
  27.  
  28.         /* Defined in manager.c */
  29.         WindowScreenInitID,            "ScreenInit",            ScreenInit,                0*256+    FALSE,
  30.         WindowScreenQuitID,            "ScreenQuit",            ScreenQuit,                0*256+    FALSE,
  31.         WindowSetRootEventID,        "SetRootEvent",            SetRootEvent,            1*256+    TRUE,
  32.         WindowSetBackPatternID,        "SetBackPattern",        SetBackPattern,            1*256+    FALSE,
  33.         WindowSetPaletID,            "SetPalet",                SetPalet,                2*256+    FALSE,
  34.         WindowSetFocusID,            "SetFocus",                SetFocus,                1*256+    FALSE,
  35.         WindowGetEventInfoID,        "GetEventInfo",            GetEventInfo,            1*256+    FALSE,
  36.         WindowCheckEventInfoID,        "CheckEventInfo",        CheckEventInfo,            1*256+    FALSE,
  37.         WindowMouseCursorID,        "MouseCursor",            WindowMouseCursor,        1*256+    FALSE,
  38.         WindowGetCommonID,            "GetCommon",            WindowGetCommon,        2*256+    FALSE,
  39.         WindowResetCommonID,        "ResetCommon",            WindowResetCommon,        1*256+    FALSE,
  40.         WindowMoveOperationID,        "MoveOperation",        MoveOperation,            2*256+    FALSE,
  41.         WindowResizeOperationID,    "ResizeOperation",        ResizeOperation,        2*256+    FALSE,
  42.  
  43.         /* Defined in window.c */
  44.         WindowCloseID,                "Close",                NULL,                    1*256+    FALSE,
  45.         WindowPopID,                "Pop",                    WindowPop,                1*256+    FALSE,
  46.         WindowPushID,                "Push",                    WindowPush,                1*256+    FALSE,
  47.         WindowRedrawID,                "Redraw",                WindowRedraw,            1*256+    FALSE,
  48.         WindowMoveID,                "Move",                    WindowMove,                3*256+    FALSE,
  49.         WindowResizeID,                "Resize",                SelectResize,            5*256+    FALSE,
  50.         WindowScrollID,                "Scroll",                SelectScroll,            3*256+    FALSE,
  51.         WindowDrawAbsID,            "DrawAbs",                WindowDrawAbs,            3*256+    FALSE,
  52.         WindowDrawID,                "Draw",                    WindowDraw,                3*256+    FALSE,
  53.         WindowSendEventID,            "SendEvent",            WindowSendEvent,        2*256+    FALSE,
  54.         WindowSendEventAllID,        "WindowSendEventAll",    WindowSendEventAll,        2*256+    FALSE,
  55.  
  56.         WindowSetHomeID,            "SetHome",                WindowSetHome,            3*256+    FALSE,
  57.         WindowSetAttrID,            "SetAttr",                WindowSetAttr,            2*256+    FALSE,
  58.         WindowSetEventAttrID,        "SetEventAttr",            WindowSetEventAttr,        2*256+    FALSE,
  59.         WindowSetClientDataID,        "SetClientData",        WindowSetClientData,    3*256+    FALSE,
  60.  
  61.         WindowGetSizeID,            "GetSize",                ClipGetSize,            3*256+    FALSE,
  62.         WindowInnerID,                "Inner",                ClipInner,                3*256+    FALSE,
  63.         WindowGetClientDataID,        "GetClientData",        WindowGetClientData,    1*256+    FALSE,
  64.         WindowGetClientPointerID,    "GetClientPointer",        WindowGetClientPointer,    1*256+    FALSE,
  65.         WindowGetPositionID,        "GetPosition",            WindowGetPosition,        3*256+    FALSE,
  66.         WindowGetViewPositionID,    "GetViewPosition",        WindowGetViewPosition,    3*256+    FALSE,
  67.         WindowGetScreenPositionID,    "GetScreenPosition",    WindowGetScreenPosition,3*256+    FALSE,
  68.         WindowGetViewSizeID,        "GetViewSize",            WindowGetViewSize,        3*256+    FALSE,
  69.         WindowGetHomeID,            "GetHome",                WindowGetHome,            3*256+    FALSE,
  70.         WindowGetParentID,            "GetParent",            WindowGetParent,        1*256+    FALSE,
  71.         WindowGetNextID,            "GetNext",                WindowGetNext,            1*256+    FALSE,
  72.         WindowGetLastID,            "GetLast",                WindowGetLast,            1*256+    FALSE,
  73.         WindowGetChildTopID,        "GetChildTop",            WindowGetChildTop,        1*256+    FALSE,
  74.         WindowGetChildBottomID,        "GetChildBottom",        WindowGetChildBottom,    1*256+    FALSE,
  75.         WindowGetChildID,            "GetChild",                WindowGetChild,            2*256+    FALSE,
  76.  
  77.         /*  appendix  */
  78.         WindowRootScrollID,            "RootScroll",            WindowRootScroll,        2*256+    FALSE,
  79.         WindowGetRootScrollID,        "GetRootScroll",        WindowGetRootScroll,    2*256+    FALSE,
  80.         WindowGetEventAttrID,        "GetEventAttr",            WindowGetEventAttr,        1*256+    FALSE,
  81.         WindowSetGraphicModeID,        "SetGraphicMode",        SetGraphicMode,            1*256+    FALSE,
  82.         WindowGetGraphicModeID,        "GetGraphicMode",        GetGraphicMode,            0*256+    FALSE,
  83.         WindowPaletInitID,            "PaletInit",            PaletInit,                0*256+    FALSE,
  84.         WindowGetResourceID,        "GetResource",            GetResource,            3*256+    FALSE,
  85.         WindowReadResourceID,        "ReadResource",            ReadResource,            0*256+    FALSE,
  86.         WindowReadRCID,                "ReadRC",                ReadRC,                    0*256+    FALSE,
  87.         WindowMemoryAllocID,        "MemoryAlloc",            WindowMemoryAlloc,        1*256+    FALSE,
  88.         WindowMemoryFreeID,            "MemoryFree",            WindowMemoryFree,        1*256+    FALSE,
  89.  
  90.         /* 1991 10/22 H.Ogasawara(COR.) 2.24+7p3 */
  91.         WindowSetFontAddressID,        "SetFontAddress",        WindowSetFontAddress,    2*256+    FALSE,
  92.         WindowGetFontAddressID,        "GetFontAddress",        WindowGetFontAddress,    1*256+    FALSE,
  93.  
  94.         /* 1991 12/13 H.Ogasawara(COR.) 2.24+7p6 */
  95.         WindowSetScreenModeID,        "SetScreenMode",        WindowSetScreenMode,    1*256+    FALSE,
  96.         WindowGetScreenModeID,        "GetScreenMode",        WindowGetScreenMode,    0*256+    FALSE,
  97.  
  98.         /* 1994 9/8 H.Ogasawara(COR.) 2.24+11.4 */
  99.         WindowGetAttrID,            "GetAttr",                WindowGetAttr,            1*256+    FALSE,
  100.  
  101.         /* 1994 11/26 H.Ogasawara(COR.) 2.24+12.4 */
  102.         WindowSetHenDspID,            "SetHenDspr",            WindowSetHenDsp,        1*256+    FALSE,
  103.  
  104.         /* 1995 02/25 H.Ogasawara(COR.) 2.24+13 */
  105.         WindowSetGraphicOffsetID,    "SetGraphicOffset",        SetGraphicOffset,        3*256+    FALSE,
  106.         WindowGetGraphicOffsetID,    "GetGraphicOffset",        GetGraphicOffset,        2*256+    FALSE,
  107.  
  108.         /* 1995 11/25 H.Ogasawara(COR.) 2.24+14 */
  109.         WindowSetManagerExecID,        "SetManager",            WindowSetManagerExec,        3*256+    FALSE,
  110.  
  111.         /* 1995 12/01 H.Ogasawara(COR.) 2.24+14 */
  112.         WindowGetScreenSizeID,        "GetScreenSize",            WindowGetScreenSize,        2*256+    FALSE,
  113.  
  114.         FunctionEnd,                "FunctionEnd",            NULL,                    0*256+    FALSE,
  115.     };
  116.