1 #ifndef ZUNE_PREFSWINDOW_H
2 #define ZUNE_PREFSWINDOW_H
5 Copyright © 2003-2004, The AROS Development Team. All rights reserved.
10 #include <libraries/mui.h>
12 /*** Name *******************************************************************/
13 #define MUIC_LoginWindow "LoginWindow.mcc"
15 /*** Identifier base ********************************************************/
16 #define MUIB_LoginWindow (MUIB_AROS | 0x00000200)
18 /*** Public (Abstract) Methods **********************************************/
19 #define MUIM_LoginWindow_OK (MUIB_LoginWindow | 0x00000000)
20 #define MUIM_LoginWindow_Cancel (MUIB_LoginWindow | 0x00000001)
22 /*** Protected Attributes ***************************************************/
23 #define MUIA_LoginWindow_Title (MUIB_LoginWindow | 0x00000005)
24 #define MUIA_LoginWindow_LoginLogo (MUIB_LoginWindow | 0x00000006)
25 #define MUIA_LoginWindow_LogoFrame (MUIB_LoginWindow | 0x00000007)
26 #define MUIA_LoginWindow_DetailsFrame (MUIB_LoginWindow | 0x00000008)
27 #define MUIA_LoginWindow_UserName (MUIB_LoginWindow | 0x00000009)
28 #define MUIA_LoginWindow_UserName_Status (MUIB_LoginWindow | 0x0000000a)
29 # define LWA_UNT_Input 0 /* default */
30 # define LWA_UNT_Read 1
31 # define LWA_UNT_Disabled 2
32 # define LWA_UNT_None 3
33 #define MUIA_LoginWindow_UserPass (MUIB_LoginWindow | 0x0000000b)
34 #define MUIA_LoginWindow_UserPass_Disabled (MUIB_LoginWindow | 0x0000000c)
35 #define MUIA_LoginWindow_Method (MUIB_LoginWindow | 0x0000000d)
36 #define MUIA_LoginWindow_Method_Status (MUIB_LoginWindow | 0x0000000e)
37 # define LWA_METH_Input 0 /* default */
38 # define LWA_METH_Disabled 1
39 # define LWA_METH_None 2
40 #define MUIA_LoginWindow_LocalLogin_Disabled (MUIB_LoginWindow | 0x0000000f)
41 #define MUIA_LoginWindow_Cancel_Disabled (MUIB_LoginWindow | 0x00000010)
43 /*** Macros *****************************************************************/
44 #define LoginWindowObject MUIOBJMACRO_START(MUIC_LoginWindow)
46 #define LWA_RV_CANCEL MUIV_Application_ReturnID_Quit
47 #define LWA_RV_OK !LWA_RV_CANCEL
49 #define LWRV_CANCEL MUIV_Application_ReturnID_Quit
50 #define LWRV_OK !LWRV_CANCEL
53 #endif /* ZUNE_PREFSWINDOW_H */