зеркало из https://github.com/mozilla/gecko-dev.git
104 строки
3.9 KiB
C
104 строки
3.9 KiB
C
/* -*- 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/
|
|
*
|
|
* 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.
|
|
*
|
|
* The Original Code is mozilla.org code.
|
|
*
|
|
* The Initial Developer of the Original Code is Netscape
|
|
* Communications Corporation. Portions created by Netscape are
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
* Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
*/
|
|
|
|
/*----------------------------------------------------------------------*/
|
|
/* */
|
|
/* Name: <Xfe/TempShell.h> */
|
|
/* Description: XfeTempShell widget public header file. */
|
|
/* Author: Ramiro Estrugo <ramiro@netscape.com> */
|
|
/* */
|
|
/*----------------------------------------------------------------------*/
|
|
|
|
#ifndef _XfeFrameShell_h_ /* start FrameShell.h */
|
|
#define _XfeFrameShell_h_
|
|
|
|
#include <Xfe/Manager.h>
|
|
#include <Xfe/BypassShell.h>
|
|
|
|
XFE_BEGIN_CPLUSPLUS_PROTECTION
|
|
|
|
/*----------------------------------------------------------------------*/
|
|
/* */
|
|
/* XfeFrameShell resource names */
|
|
/* */
|
|
/*----------------------------------------------------------------------*/
|
|
#define XmNbeforeResizeCallback "beforeResizeCallback"
|
|
#define XmNdeleteWindowCallback "deleteWindowCallback"
|
|
#define XmNmoveCallback "moveCallback"
|
|
#define XmNsaveYourselfCallback "saveYourselfCallback"
|
|
#define XmNtitleChangedCallback "titleChangedCallback"
|
|
|
|
#define XmNstartIconic "startIconic"
|
|
#define XmNtrackPosition "trackPosition"
|
|
#define XmNtrackSaveYourself "trackSaveYourself"
|
|
#define XmNhasBeenMapped "hasBeenMapped"
|
|
#define XmNbypassShell "bypassShell"
|
|
#define XmNtrackSize "trackSize"
|
|
#define XmNtrackDeleteWindow "trackDeleteWindow"
|
|
#define XmNtrackEditres "trackEditres"
|
|
#define XmNtrackMapping "trackMapping"
|
|
|
|
#define XmCBypassShell "BypassShell"
|
|
#define XmCStartIconic "StartIconic"
|
|
#define XmCTrackEditres "TrackEditres"
|
|
#define XmCTrackMapping "TrackMapping"
|
|
#define XmCTrackPosition "TrackPosition"
|
|
#define XmCTrackSaveYourself "TrackSaveYourself"
|
|
#define XmCTrackSize "TrackSize"
|
|
|
|
|
|
/*----------------------------------------------------------------------*/
|
|
/* */
|
|
/* XfeBox class names */
|
|
/* */
|
|
/*----------------------------------------------------------------------*/
|
|
externalref WidgetClass xfeFrameShellWidgetClass;
|
|
|
|
typedef struct _XfeFrameShellClassRec * XfeFrameShellWidgetClass;
|
|
typedef struct _XfeFrameShellRec * XfeFrameShellWidget;
|
|
|
|
/*----------------------------------------------------------------------*/
|
|
/* */
|
|
/* XfeBox subclass test macro */
|
|
/* */
|
|
/*----------------------------------------------------------------------*/
|
|
#define XfeIsFrameShell(w) XtIsSubclass(w,xfeFrameShellWidgetClass)
|
|
|
|
/*----------------------------------------------------------------------*/
|
|
/* */
|
|
/* XfeFrameShell public methods */
|
|
/* */
|
|
/*----------------------------------------------------------------------*/
|
|
extern Widget
|
|
XfeCreateFrameShell (Widget pw,
|
|
String name,
|
|
ArgList av,
|
|
Cardinal ac);
|
|
/*----------------------------------------------------------------------*/
|
|
extern Widget
|
|
XfeFrameShellGetBypassShell (Widget w);
|
|
/*----------------------------------------------------------------------*/
|
|
|
|
XFE_END_CPLUSPLUS_PROTECTION
|
|
|
|
#endif /* end FrameShell.h */
|