123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- /*
- * CDE - Common Desktop Environment
- *
- * Copyright (c) 1993-2012, The Open Group. All rights reserved.
- *
- * These libraries and programs are free software; you can
- * redistribute them and/or modify them under the terms of the GNU
- * Lesser General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * These libraries and programs are distributed in the hope that
- * they will be useful, but WITHOUT ANY WARRANTY; without even the
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- * PURPOSE. See the GNU Lesser General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with these libraries and programs; if not, write
- * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
- * Floor, Boston, MA 02110-1301 USA
- */
- /* $XConsortium: Desktop.h /main/4 1996/10/03 17:04:47 mustafa $ */
- /************************************<+>*************************************
- ****************************************************************************
- *
- * FILE: Desktop.h
- *
- * COMPONENT_NAME: Desktop File Manager
- *
- * DESCRIPTION: Public include file for the desktop.
- *
- * (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
- * (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
- * (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
- * (c) Copyright 1993, 1994, 1995 Novell, Inc.
- *
- ****************************************************************************
- ************************************<+>*************************************/
- #ifndef _Desktop_h
- #define _Desktop_h
- #include "FileMgr.h"
- #define MAX_CACHED_ICONS 20
- #define INVALID_TYPE 999
- typedef struct
- {
- Widget shell;
- Widget frame;
- Widget drawA;
- Widget iconGadget;
- Widget text;
- Position root_x, root_y;
- Pixel background;
- char *workspace_name;
- int workspace_num;
- unsigned char view;
- unsigned char order;
- unsigned char direction;
- unsigned char positionEnabled;
- char * restricted_directory;
- char * title;
- char * helpVol;
- Boolean toolbox;
- Boolean registered;
- char *host;
- char *dir_linked_to;
- char *file_name;
- FileViewData *file_view_data;
- } DesktopRec;
- typedef struct
- {
- char *name;
- int number;
- int files_selected;
- DesktopRec **selectedDTWindows;
- DialogData * primaryHelpDialog;
- int secondaryHelpDialogCount;
- DialogData ** secondaryHelpDialogList;
- } WorkspaceRec;
- typedef struct
- {
- Widget popup;
- Widget removeDT;
- Widget openFolder;
- Widget rename;
- char * action_pane_file_type;
- } PopupRec;
- typedef struct
- {
- int numIconsUsed;
- int numCachedIcons;
- int popup_name_count;
- PopupRec *popupMenu;
- int numWorkspaces;
- WorkspaceRec ** workspaceData;
- DesktopRec ** desktopWindows;
- XButtonEvent event;
- } DesktopData, *DesktopDataPtr;
- extern DesktopData *desktop_data;
- #endif /* _Desktop_h */
- /* DON'T ADD ANYTHING AFTER THIS #endif */
|