gecko-dev/cmd/xfe/XfeWidgets/XfeToolBar/DashBoardP.h

130 строки
4.4 KiB
C
Исходник Обычный вид История

1998-03-28 05:44:41 +03:00
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
1998-03-28 05:44:41 +03:00
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
1998-03-28 05:44:41 +03:00
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
1998-03-28 05:44:41 +03:00
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
1998-03-28 05:44:41 +03:00
*/
/*----------------------------------------------------------------------*/
1998-03-28 05:44:41 +03:00
/* */
/* Name: <Xfe/DashBoardP.h> */
/* Description: XfeDashBoard widget private header file. */
1998-03-28 05:44:41 +03:00
/* Author: Ramiro Estrugo <ramiro@netscape.com> */
/* */
/*----------------------------------------------------------------------*/
#ifndef _XfeDashBoardP_h_ /* start DashBoardP.h */
#define _XfeDashBoardP_h_
1998-03-28 05:44:41 +03:00
#include <Xfe/DashBoard.h>
1998-03-28 05:44:41 +03:00
#include <Xfe/ManagerP.h>
XFE_BEGIN_CPLUSPLUS_PROTECTION
1998-03-28 05:44:41 +03:00
/*----------------------------------------------------------------------*/
/* */
/* XfeDashBoardClassPart */
1998-03-28 05:44:41 +03:00
/* */
/*----------------------------------------------------------------------*/
typedef struct
{
XtPointer extension; /* Extension */
} XfeDashBoardClassPart;
1998-03-28 05:44:41 +03:00
/*----------------------------------------------------------------------*/
/* */
/* XfeDashBoardClassRec */
1998-03-28 05:44:41 +03:00
/* */
/*----------------------------------------------------------------------*/
typedef struct _XfeDashBoardClassRec
1998-03-28 05:44:41 +03:00
{
CoreClassPart core_class;
CompositeClassPart composite_class;
ConstraintClassPart constraint_class;
XmManagerClassPart manager_class;
XfeManagerClassPart xfe_manager_class;
XfeDashBoardClassPart xfe_dash_board_class;
} XfeDashBoardClassRec;
1998-03-28 05:44:41 +03:00
externalref XfeDashBoardClassRec xfeDashBoardClassRec;
1998-03-28 05:44:41 +03:00
/*----------------------------------------------------------------------*/
/* */
/* XfeDashBoardPart */
1998-03-28 05:44:41 +03:00
/* */
/*----------------------------------------------------------------------*/
typedef struct _XfeDashBoardPart
1998-03-28 05:44:41 +03:00
{
/* Callbacks */
XtCallbackList dock_callback; /* Dock callback */
XtCallbackList floating_map_callback; /* Floating map cb */
XtCallbackList floating_unmap_callback;/* Floating unmap cb */
XtCallbackList undock_callback; /* Undock callback */
/* Component resources */
Widget tool_bar; /* Button tool bar */
Widget status_bar; /* Status bar */
Widget progress_bar; /* Progress bar */
Widget docked_task_bar; /* Docked Task bar */
/* Boolean resources */
Boolean show_docked_task_bar; /* Show docked task bar ?*/
/* Floating components */
Widget floating_shell; /* Floating shell */
Widget floating_target; /* Floating target */
Widget floating_task_bar; /* Floating Task bar */
/* Pixmap resources */
Pixmap undock_pixmap; /* Undock pixmap */
/* Misc resources */
1998-03-28 05:44:41 +03:00
Dimension spacing; /* Spacing */
Boolean docked; /* Task Bar Docked */
Dimension max_component_height; /* Max component height */
1998-03-28 05:44:41 +03:00
} XfeDashBoardPart;
1998-03-28 05:44:41 +03:00
/*----------------------------------------------------------------------*/
/* */
/* XfeDashBoardRec */
1998-03-28 05:44:41 +03:00
/* */
/*----------------------------------------------------------------------*/
typedef struct _XfeDashBoardRec
1998-03-28 05:44:41 +03:00
{
CorePart core;
CompositePart composite;
ConstraintPart constraint;
XmManagerPart manager;
XfeManagerPart xfe_manager;
XfeDashBoardPart xfe_dash_board;
} XfeDashBoardRec;
1998-03-28 05:44:41 +03:00
/*----------------------------------------------------------------------*/
/* */
/* XfeDashBoardPart Access Macro */
1998-03-28 05:44:41 +03:00
/* */
/*----------------------------------------------------------------------*/
#define _XfeDashBoardPart(w) &(((XfeDashBoardWidget) w) -> xfe_dash_board)
1998-03-28 05:44:41 +03:00
XFE_END_CPLUSPLUS_PROTECTION
1998-03-28 05:44:41 +03:00
#endif /* end DashBoardP.h */
1998-03-28 05:44:41 +03:00