1 #ifndef _ICONWINDOW_ATTRIBUTES_H_
2 #define _ICONWINDOW_ATTRIBUTES_H_
5 Copyright 2004 - 2009, The AROS Development Team. All rights reserved.
9 /*** Identifier Base ********************************************************/
10 #define MUIB_IconWindow (TAG_USER | 0x10000000)
12 /*** Public Attributes ******************************************************/
13 #define MUIA_IconWindow_Location (MUIB_IconWindow | 0x00000001) /* ISG */
14 #define MUIA_IconWindow_Window (MUIB_IconWindow | 0x00000002) /* I-G */
15 #define MUIA_IconWindow_Font (MUIB_IconWindow | 0x00000003) /* ISG */
16 #define MUIA_IconWindow_IconList (MUIB_IconWindow | 0x00000004) /* --G */
17 #define MUIA_IconWindow_WindowNavigationMethod (MUIB_IconWindow | 0x00000005) /* ISG */
19 #define MUIA_IconWindow_ActionHook (MUIB_IconWindow | 0x00000010) /* I-- */ /* Hook to call when some action happens */
21 #define MUIA_IconWindow_BackgroundAttrib (MUIB_IconWindow | 0x00000020) /* --G */
22 #define MUIA_IconWindow_BackFillData (MUIB_IconWindow | 0x00000021) /* --G */
24 #define MUIA_IconWindow_IsRoot (MUIB_IconWindow | 0x000000A1) /* I-G */
25 #define MUIA_IconWindow_IsBackdrop (MUIB_IconWindow | 0x000000A2) /* ISG */ /* is Backdrop window ? */
27 #define MUIA_IconWindow_Changed (MUIB_IconWindow | 0x000000FF) /* -SG (TRUE) if the window(s) settings
28 have changed (ie window needs refereshed)
29 used in combination with MUIA_WandererPrefs_Processing
30 to determine if we need to redraw */
32 #define MUIA_IconWindow_VolumeInfoMode (MUIB_IconWindow | 0x000000B1)
34 #define MUIV_IconWindow_VolumeInfoMode_ShowOnlyIcons 1
35 #define MUIV_IconWindow_VolumeInfoMode_ShowAll 2
36 #define MUIV_IconWindow_VolumeInfoMode_ShowAllIfNoInfo 3
39 #define ICONWINDOW_ACTION_OPEN 1
40 #define ICONWINDOW_ACTION_CLICK 2
41 #define ICONWINDOW_ACTION_ICONDROP 3
42 #define ICONWINDOW_ACTION_DIRUP 4
43 #define ICONWINDOW_ACTION_APPWINDOWDROP 5
45 /* TODO: ImageBackFills Attributes etc should be in an own file */
46 /*** Identifier Base ********************************************************/
47 #define MUIB_IconWindowExt (MUIB_IconWindow | 0x0f000000)
48 #define MUIB_IconWindowExt_ImageBackFill (MUIB_IconWindowExt | 0x100000)
50 /*** Public Attributes ******************************************************/
52 #define MUIA_IconWindowExt_ImageBackFill_BGRenderMode (MUIB_IconWindowExt_ImageBackFill | 0x00000001) /* ISG */
53 #define MUIA_IconWindowExt_ImageBackFill_BGTileMode (MUIB_IconWindowExt_ImageBackFill | 0x00000002) /* ISG */
54 #define MUIA_IconWindowExt_ImageBackFill_BGXOffset (MUIB_IconWindowExt_ImageBackFill | 0x00000003) /* ISG */
55 #define MUIA_IconWindowExt_ImageBackFill_BGYOffset (MUIB_IconWindowExt_ImageBackFill | 0x00000004) /* ISG */
57 /*** Private Constants ********************************************************/
59 #define IconWindowExt_ImageBackFill_RenderMode_Tiled 1 // Default
60 #define IconWindowExt_ImageBackFill_RenderMode_Scale 2 // Scaled to screen
62 #define IconWindowExt_ImageBackFill_TileMode_Float 1 // Default (moves with window scrolling)
63 #define IconWindowExt_ImageBackFill_TileMode_Fixed 2 // Tile's are fixed in the background
65 /* TODO: NetworkBrowser Attributes etc should be in an own file */
66 /*** Identifier Base ********************************************************/
67 #define MUIB_IconWindowExt_NetworkBrowser (MUIB_IconWindowExt | 0x300000)
69 #define MUIA_IconWindowExt_NetworkBrowser_Show (MUIB_IconWindowExt_NetworkBrowser | 0x00000001) /* ISG */
70 /*** Variables **************************************************************/
72 /* TODO: UserFiles Attributes etc should be in an own file */
73 /*** Identifier Base ********************************************************/
74 #define MUIB_IconWindowExt_UserFiles (MUIB_IconWindowExt | 0x400000)
76 #define MUIA_IconWindowExt_UserFiles_ShowFilesFolder (MUIB_IconWindowExt_UserFiles | 0x00000001) /* ISG */
77 #define MUIA_IconWindowExt_UserFiles_UseDesktopFolder (MUIB_IconWindowExt_UserFiles | 0x00000002) /* ISG */
79 #define MUIA_IconWindowExt_ScreenTitle_String (MUIB_IconWindowExt_UserFiles | 0x00000003) /* ISG */
81 #define IWD_MAX_DIRECTORYPATHLEN 1024
83 #endif /* _ICONWINDOW_ATTRIBUTES_H_ */