#ifndef DEFINES_GTLAYOUT_PROTOS_H
#define DEFINES_GTLAYOUT_PROTOS_H

/*
    *** Automatically generated from 'lib.conf'. Edits will be lost. ***
    Copyright © 1995-2008, The AROS Development Team. All rights reserved.
*/

/*
    Desc: Defines for gtlayout
*/

#include <aros/libcall.h>
#include <exec/types.h>
#include <aros/preprocessor/variadic/cast2iptr.hpp>


#define __LT_LevelWidth_WB(__GTLayoutBase, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8) \
        AROS_LC8NR(void, LT_LevelWidth, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(STRPTR,(__arg2),A1), \
                  AROS_LCA(DISPFUNC,(__arg3),A2), \
                  AROS_LCA(LONG,(__arg4),D0), \
                  AROS_LCA(LONG,(__arg5),D1), \
                  AROS_LCA(LONG *,(__arg6),A3), \
                  AROS_LCA(LONG *,(__arg7),A5), \
                  AROS_LCA(BOOL,(__arg8),D2), \
        struct Library *, (__GTLayoutBase), 5, GTLayout)

#define LT_LevelWidth(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \
    __LT_LevelWidth_WB(GTLayoutBase, (arg1), (arg2), (arg3), (arg4), (arg5), (arg6), (arg7), (arg8))

#define __LT_DeleteHandle_WB(__GTLayoutBase, __arg1) \
        AROS_LC1NR(void, LT_DeleteHandle, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
        struct Library *, (__GTLayoutBase), 6, GTLayout)

#define LT_DeleteHandle(arg1) \
    __LT_DeleteHandle_WB(GTLayoutBase, (arg1))

#define __LT_CreateHandle_WB(__GTLayoutBase, __arg1, __arg2) \
        AROS_LC2(LayoutHandle *, LT_CreateHandle, \
                  AROS_LCA(struct Screen *,(__arg1),A0), \
                  AROS_LCA(struct TextAttr *,(__arg2),A1), \
        struct Library *, (__GTLayoutBase), 7, GTLayout)

#define LT_CreateHandle(arg1, arg2) \
    __LT_CreateHandle_WB(GTLayoutBase, (arg1), (arg2))

#define __LT_CreateHandleTagList_WB(__GTLayoutBase, __arg1, __arg2) \
        AROS_LC2(LayoutHandle *, LT_CreateHandleTagList, \
                  AROS_LCA(struct Screen *,(__arg1),A0), \
                  AROS_LCA(struct TagItem *,(__arg2),A1), \
        struct Library *, (__GTLayoutBase), 8, GTLayout)

#define LT_CreateHandleTagList(arg1, arg2) \
    __LT_CreateHandleTagList_WB(GTLayoutBase, (arg1), (arg2))

#if !defined(NO_INLINE_STDARG) && !defined(GTLAYOUT_NO_INLINE_STDARG)
#define LT_CreateHandleTags(arg1, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    LT_CreateHandleTagList((arg1), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

#define __LT_Rebuild_WB(__GTLayoutBase, __arg1, __arg2, __arg3, __arg4, __arg5) \
        AROS_LC5(BOOL, LT_Rebuild, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(struct IBox *,(__arg2),A1), \
                  AROS_LCA(LONG,(__arg3),A2), \
                  AROS_LCA(LONG,(__arg4),D0), \
                  AROS_LCA(BOOL,(__arg5),D1), \
        struct Library *, (__GTLayoutBase), 9, GTLayout)

#define LT_Rebuild(arg1, arg2, arg3, arg4, arg5) \
    __LT_Rebuild_WB(GTLayoutBase, (arg1), (arg2), (arg3), (arg4), (arg5))

#define __LT_HandleInput_WB(__GTLayoutBase, __arg1, __arg2, __arg3, __arg4, __arg5) \
        AROS_LC5NR(void, LT_HandleInput, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(ULONG,(__arg2),D0), \
                  AROS_LCA(ULONG *,(__arg3),A1), \
                  AROS_LCA(UWORD *,(__arg4),A2), \
                  AROS_LCA(struct Gadget **,(__arg5),A3), \
        struct Library *, (__GTLayoutBase), 10, GTLayout)

#define LT_HandleInput(arg1, arg2, arg3, arg4, arg5) \
    __LT_HandleInput_WB(GTLayoutBase, (arg1), (arg2), (arg3), (arg4), (arg5))

#define __LT_BeginRefresh_WB(__GTLayoutBase, __arg1) \
        AROS_LC1NR(void, LT_BeginRefresh, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
        struct Library *, (__GTLayoutBase), 11, GTLayout)

#define LT_BeginRefresh(arg1) \
    __LT_BeginRefresh_WB(GTLayoutBase, (arg1))

#define __LT_EndRefresh_WB(__GTLayoutBase, __arg1, __arg2) \
        AROS_LC2NR(void, LT_EndRefresh, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(BOOL,(__arg2),D0), \
        struct Library *, (__GTLayoutBase), 12, GTLayout)

#define LT_EndRefresh(arg1, arg2) \
    __LT_EndRefresh_WB(GTLayoutBase, (arg1), (arg2))

#define __LT_GetAttributesA_WB(__GTLayoutBase, __arg1, __arg2, __arg3) \
        AROS_LC3(LONG, LT_GetAttributesA, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(LONG,(__arg2),D0), \
                  AROS_LCA(struct TagItem *,(__arg3),A1), \
        struct Library *, (__GTLayoutBase), 13, GTLayout)

#define LT_GetAttributesA(arg1, arg2, arg3) \
    __LT_GetAttributesA_WB(GTLayoutBase, (arg1), (arg2), (arg3))

#if !defined(NO_INLINE_STDARG) && !defined(GTLAYOUT_NO_INLINE_STDARG)
#define LT_GetAttributes(arg1, arg2, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    LT_GetAttributesA((arg1), (arg2), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

#define __LT_SetAttributesA_WB(__GTLayoutBase, __arg1, __arg2, __arg3) \
        AROS_LC3NR(void, LT_SetAttributesA, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(LONG,(__arg2),D0), \
                  AROS_LCA(struct TagItem *,(__arg3),A1), \
        struct Library *, (__GTLayoutBase), 14, GTLayout)

#define LT_SetAttributesA(arg1, arg2, arg3) \
    __LT_SetAttributesA_WB(GTLayoutBase, (arg1), (arg2), (arg3))

#if !defined(NO_INLINE_STDARG) && !defined(GTLAYOUT_NO_INLINE_STDARG)
#define LT_SetAttributes(arg1, arg2, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    LT_SetAttributesA((arg1), (arg2), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

#define __LT_AddA_WB(__GTLayoutBase, __arg1, __arg2, __arg3, __arg4, __arg5) \
        AROS_LC5NR(void, LT_AddA, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(LONG,(__arg2),D0), \
                  AROS_LCA(STRPTR,(__arg3),D1), \
                  AROS_LCA(LONG,(__arg4),D2), \
                  AROS_LCA(struct TagItem *,(__arg5),A1), \
        struct Library *, (__GTLayoutBase), 15, GTLayout)

#define LT_AddA(arg1, arg2, arg3, arg4, arg5) \
    __LT_AddA_WB(GTLayoutBase, (arg1), (arg2), (arg3), (arg4), (arg5))

#if !defined(NO_INLINE_STDARG) && !defined(GTLAYOUT_NO_INLINE_STDARG)
#define LT_Add(arg1, arg2, arg3, arg4, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    LT_AddA((arg1), (arg2), (arg3), (arg4), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

#define __LT_NewA_WB(__GTLayoutBase, __arg1, __arg2) \
        AROS_LC2NR(void, LT_NewA, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(struct TagItem *,(__arg2),A1), \
        struct Library *, (__GTLayoutBase), 16, GTLayout)

#define LT_NewA(arg1, arg2) \
    __LT_NewA_WB(GTLayoutBase, (arg1), (arg2))

#if !defined(NO_INLINE_STDARG) && !defined(GTLAYOUT_NO_INLINE_STDARG)
#define LT_New(arg1, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    LT_NewA((arg1), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

#define __LT_EndGroup_WB(__GTLayoutBase, __arg1) \
        AROS_LC1NR(void, LT_EndGroup, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
        struct Library *, (__GTLayoutBase), 17, GTLayout)

#define LT_EndGroup(arg1) \
    __LT_EndGroup_WB(GTLayoutBase, (arg1))

#define __LT_LayoutA_WB(__GTLayoutBase, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8) \
        AROS_LC8(struct Window *, LT_LayoutA, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(STRPTR,(__arg2),A1), \
                  AROS_LCA(struct IBox *,(__arg3),A2), \
                  AROS_LCA(LONG,(__arg4),D0), \
                  AROS_LCA(LONG,(__arg5),D1), \
                  AROS_LCA(ULONG,(__arg6),D2), \
                  AROS_LCA(LONG,(__arg7),D3), \
                  AROS_LCA(struct TagItem *,(__arg8),A3), \
        struct Library *, (__GTLayoutBase), 18, GTLayout)

#define LT_LayoutA(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \
    __LT_LayoutA_WB(GTLayoutBase, (arg1), (arg2), (arg3), (arg4), (arg5), (arg6), (arg7), (arg8))

#if !defined(NO_INLINE_STDARG) && !defined(GTLAYOUT_NO_INLINE_STDARG)
#define LT_Layout(arg1, arg2, arg3, arg4, arg5, arg6, arg7, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    LT_LayoutA((arg1), (arg2), (arg3), (arg4), (arg5), (arg6), (arg7), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

#define __LT_LayoutMenusA_WB(__GTLayoutBase, __arg1, __arg2, __arg3) \
        AROS_LC3(struct Menu *, LT_LayoutMenusA, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(struct NewMenu *,(__arg2),A1), \
                  AROS_LCA(struct TagItem *,(__arg3),A2), \
        struct Library *, (__GTLayoutBase), 19, GTLayout)

#define LT_LayoutMenusA(arg1, arg2, arg3) \
    __LT_LayoutMenusA_WB(GTLayoutBase, (arg1), (arg2), (arg3))

#if !defined(NO_INLINE_STDARG) && !defined(GTLAYOUT_NO_INLINE_STDARG)
#define LT_LayoutMenus(arg1, arg2, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    LT_LayoutMenusA((arg1), (arg2), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

#define __LT_LabelWidth_WB(__GTLayoutBase, __arg1, __arg2) \
        AROS_LC2(LONG, LT_LabelWidth, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(STRPTR,(__arg2),A1), \
        struct Library *, (__GTLayoutBase), 23, GTLayout)

#define LT_LabelWidth(arg1, arg2) \
    __LT_LabelWidth_WB(GTLayoutBase, (arg1), (arg2))

#define __LT_LabelChars_WB(__GTLayoutBase, __arg1, __arg2) \
        AROS_LC2(LONG, LT_LabelChars, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(STRPTR,(__arg2),A1), \
        struct Library *, (__GTLayoutBase), 24, GTLayout)

#define LT_LabelChars(arg1, arg2) \
    __LT_LabelChars_WB(GTLayoutBase, (arg1), (arg2))

#define __LT_LockWindow_WB(__GTLayoutBase, __arg1) \
        AROS_LC1NR(void, LT_LockWindow, \
                  AROS_LCA(struct Window *,(__arg1),A0), \
        struct Library *, (__GTLayoutBase), 25, GTLayout)

#define LT_LockWindow(arg1) \
    __LT_LockWindow_WB(GTLayoutBase, (arg1))

#define __LT_UnlockWindow_WB(__GTLayoutBase, __arg1) \
        AROS_LC1NR(void, LT_UnlockWindow, \
                  AROS_LCA(struct Window *,(__arg1),A0), \
        struct Library *, (__GTLayoutBase), 26, GTLayout)

#define LT_UnlockWindow(arg1) \
    __LT_UnlockWindow_WB(GTLayoutBase, (arg1))

#define __LT_DeleteWindowLock_WB(__GTLayoutBase, __arg1) \
        AROS_LC1NR(void, LT_DeleteWindowLock, \
                  AROS_LCA(struct Window *,(__arg1),A0), \
        struct Library *, (__GTLayoutBase), 27, GTLayout)

#define LT_DeleteWindowLock(arg1) \
    __LT_DeleteWindowLock_WB(GTLayoutBase, (arg1))

#define __LT_ShowWindow_WB(__GTLayoutBase, __arg1, __arg2) \
        AROS_LC2NR(void, LT_ShowWindow, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(BOOL,(__arg2),A1), \
        struct Library *, (__GTLayoutBase), 28, GTLayout)

#define LT_ShowWindow(arg1, arg2) \
    __LT_ShowWindow_WB(GTLayoutBase, (arg1), (arg2))

#define __LT_Activate_WB(__GTLayoutBase, __arg1, __arg2) \
        AROS_LC2NR(void, LT_Activate, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(LONG,(__arg2),D0), \
        struct Library *, (__GTLayoutBase), 29, GTLayout)

#define LT_Activate(arg1, arg2) \
    __LT_Activate_WB(GTLayoutBase, (arg1), (arg2))

#define __LT_PressButton_WB(__GTLayoutBase, __arg1, __arg2) \
        AROS_LC2(BOOL, LT_PressButton, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(LONG,(__arg2),D0), \
        struct Library *, (__GTLayoutBase), 30, GTLayout)

#define LT_PressButton(arg1, arg2) \
    __LT_PressButton_WB(GTLayoutBase, (arg1), (arg2))

#define __LT_GetCode_WB(__GTLayoutBase, __arg1, __arg2, __arg3, __arg4) \
        AROS_LC4(LONG, LT_GetCode, \
                  AROS_LCA(ULONG,(__arg1),D0), \
                  AROS_LCA(ULONG,(__arg2),D1), \
                  AROS_LCA(UWORD,(__arg3),D2), \
                  AROS_LCA(struct Gadget *,(__arg4),A0), \
        struct Library *, (__GTLayoutBase), 31, GTLayout)

#define LT_GetCode(arg1, arg2, arg3, arg4) \
    __LT_GetCode_WB(GTLayoutBase, (arg1), (arg2), (arg3), (arg4))

#define __LT_GetIMsg_WB(__GTLayoutBase, __arg1) \
        AROS_LC1(struct IntuiMessage *, LT_GetIMsg, \
                  AROS_LCA(struct LayoutHandle *,(__arg1),A0), \
        struct Library *, (__GTLayoutBase), 32, GTLayout)

#define LT_GetIMsg(arg1) \
    __LT_GetIMsg_WB(GTLayoutBase, (arg1))

#define __LT_ReplyIMsg_WB(__GTLayoutBase, __arg1) \
        AROS_LC1NR(void, LT_ReplyIMsg, \
                  AROS_LCA(struct IntuiMessage *,(__arg1),A0), \
        struct Library *, (__GTLayoutBase), 33, GTLayout)

#define LT_ReplyIMsg(arg1) \
    __LT_ReplyIMsg_WB(GTLayoutBase, (arg1))

#define __LT_BuildA_WB(__GTLayoutBase, __arg1, __arg2) \
        AROS_LC2(struct Window *, LT_BuildA, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(struct TagItem *,(__arg2),A1), \
        struct Library *, (__GTLayoutBase), 34, GTLayout)

#define LT_BuildA(arg1, arg2) \
    __LT_BuildA_WB(GTLayoutBase, (arg1), (arg2))

#if !defined(NO_INLINE_STDARG) && !defined(GTLAYOUT_NO_INLINE_STDARG)
#define LT_Build(arg1, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    LT_BuildA((arg1), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

#define __LT_RebuildTagList_WB(__GTLayoutBase, __arg1, __arg2, __arg3) \
        AROS_LC3(BOOL, LT_RebuildTagList, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(BOOL,(__arg2),D0), \
                  AROS_LCA(struct TagItem *,(__arg3),A1), \
        struct Library *, (__GTLayoutBase), 35, GTLayout)

#define LT_RebuildTagList(arg1, arg2, arg3) \
    __LT_RebuildTagList_WB(GTLayoutBase, (arg1), (arg2), (arg3))

#if !defined(NO_INLINE_STDARG) && !defined(GTLAYOUT_NO_INLINE_STDARG)
#define LT_RebuildTags(arg1, arg2, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    LT_RebuildTagList((arg1), (arg2), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

#define __LT_UpdateStrings_WB(__GTLayoutBase, __arg1) \
        AROS_LC1NR(void, LT_UpdateStrings, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
        struct Library *, (__GTLayoutBase), 36, GTLayout)

#define LT_UpdateStrings(arg1) \
    __LT_UpdateStrings_WB(GTLayoutBase, (arg1))

#define __LT_DisposeMenu_WB(__GTLayoutBase, __arg1) \
        AROS_LC1NR(void, LT_DisposeMenu, \
                  AROS_LCA(struct Menu *,(__arg1),A0), \
        struct Library *, (__GTLayoutBase), 37, GTLayout)

#define LT_DisposeMenu(arg1) \
    __LT_DisposeMenu_WB(GTLayoutBase, (arg1))

#define __LT_NewMenuTemplate_WB(__GTLayoutBase, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6) \
        AROS_LC6(struct Menu *, LT_NewMenuTemplate, \
                  AROS_LCA(struct Screen *,(__arg1),A0), \
                  AROS_LCA(struct TextAttr *,(__arg2),A1), \
                  AROS_LCA(struct Image *,(__arg3),A2), \
                  AROS_LCA(struct Image *,(__arg4),A3), \
                  AROS_LCA(LONG *,(__arg5),D0), \
                  AROS_LCA(struct NewMenu *,(__arg6),D1), \
        struct Library *, (__GTLayoutBase), 38, GTLayout)

#define LT_NewMenuTemplate(arg1, arg2, arg3, arg4, arg5, arg6) \
    __LT_NewMenuTemplate_WB(GTLayoutBase, (arg1), (arg2), (arg3), (arg4), (arg5), (arg6))

#define __LT_NewMenuTagList_WB(__GTLayoutBase, __arg1) \
        AROS_LC1(struct Menu *, LT_NewMenuTagList, \
                  AROS_LCA(struct TagItem *,(__arg1),A0), \
        struct Library *, (__GTLayoutBase), 39, GTLayout)

#define LT_NewMenuTagList(arg1) \
    __LT_NewMenuTagList_WB(GTLayoutBase, (arg1))

#if !defined(NO_INLINE_STDARG) && !defined(GTLAYOUT_NO_INLINE_STDARG)
#define LT_NewMenuTags(...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    LT_NewMenuTagList((struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

#define __LT_MenuControlTagList_WB(__GTLayoutBase, __arg1, __arg2, __arg3) \
        AROS_LC3NR(void, LT_MenuControlTagList, \
                  AROS_LCA(struct Window *,(__arg1),A0), \
                  AROS_LCA(struct Menu *,(__arg2),A1), \
                  AROS_LCA(struct TagItem *,(__arg3),A2), \
        struct Library *, (__GTLayoutBase), 40, GTLayout)

#define LT_MenuControlTagList(arg1, arg2, arg3) \
    __LT_MenuControlTagList_WB(GTLayoutBase, (arg1), (arg2), (arg3))

#if !defined(NO_INLINE_STDARG) && !defined(GTLAYOUT_NO_INLINE_STDARG)
#define LT_MenuControlTags(arg1, arg2, ...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    LT_MenuControlTagList((arg1), (arg2), (struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

#define __LT_GetMenuItem_WB(__GTLayoutBase, __arg1, __arg2) \
        AROS_LC2(struct MenuItem *, LT_GetMenuItem, \
                  AROS_LCA(struct Menu *,(__arg1),A0), \
                  AROS_LCA(ULONG,(__arg2),D0), \
        struct Library *, (__GTLayoutBase), 41, GTLayout)

#define LT_GetMenuItem(arg1, arg2) \
    __LT_GetMenuItem_WB(GTLayoutBase, (arg1), (arg2))

#define __LT_FindMenuCommand_WB(__GTLayoutBase, __arg1, __arg2, __arg3, __arg4) \
        AROS_LC4(struct MenuItem *, LT_FindMenuCommand, \
                  AROS_LCA(struct Menu *,(__arg1),A0), \
                  AROS_LCA(UWORD,(__arg2),D0), \
                  AROS_LCA(UWORD,(__arg3),D1), \
                  AROS_LCA(struct Gadget *,(__arg4),A1), \
        struct Library *, (__GTLayoutBase), 42, GTLayout)

#define LT_FindMenuCommand(arg1, arg2, arg3, arg4) \
    __LT_FindMenuCommand_WB(GTLayoutBase, (arg1), (arg2), (arg3), (arg4))

#define __LT_NewLevelWidth_WB(__GTLayoutBase, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7, __arg8) \
        AROS_LC8NR(void, LT_NewLevelWidth, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
                  AROS_LCA(STRPTR,(__arg2),A1), \
                  AROS_LCA(DISPFUNC,(__arg3),A2), \
                  AROS_LCA(LONG,(__arg4),D0), \
                  AROS_LCA(LONG,(__arg5),D1), \
                  AROS_LCA(LONG *,(__arg6),A3), \
                  AROS_LCA(LONG *,(__arg7),D3), \
                  AROS_LCA(BOOL,(__arg8),D2), \
        struct Library *, (__GTLayoutBase), 43, GTLayout)

#define LT_NewLevelWidth(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) \
    __LT_NewLevelWidth_WB(GTLayoutBase, (arg1), (arg2), (arg3), (arg4), (arg5), (arg6), (arg7), (arg8))

#define __LT_Refresh_WB(__GTLayoutBase, __arg1) \
        AROS_LC1NR(void, LT_Refresh, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
        struct Library *, (__GTLayoutBase), 44, GTLayout)

#define LT_Refresh(arg1) \
    __LT_Refresh_WB(GTLayoutBase, (arg1))

#define __LT_CatchUpRefresh_WB(__GTLayoutBase, __arg1) \
        AROS_LC1NR(void, LT_CatchUpRefresh, \
                  AROS_LCA(LayoutHandle *,(__arg1),A0), \
        struct Library *, (__GTLayoutBase), 45, GTLayout)

#define LT_CatchUpRefresh(arg1) \
    __LT_CatchUpRefresh_WB(GTLayoutBase, (arg1))

#define __LT_GetWindowUserData_WB(__GTLayoutBase, __arg1, __arg2) \
        AROS_LC2(APTR, LT_GetWindowUserData, \
                  AROS_LCA(struct Window *,(__arg1),A0), \
                  AROS_LCA(APTR,(__arg2),A1), \
        struct Library *, (__GTLayoutBase), 46, GTLayout)

#define LT_GetWindowUserData(arg1, arg2) \
    __LT_GetWindowUserData_WB(GTLayoutBase, (arg1), (arg2))

#endif /* DEFINES_GTLAYOUT_PROTOS_H*/
