config root man

Current Path : /usr/local/include/Xm/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/include/Xm/TabBoxP.h

/* 
 *  @OPENGROUP_COPYRIGHT@
 *  COPYRIGHT NOTICE
 *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
 *  Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group
 *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
 *  the full copyright text.
 *  
 *  This software is subject to an open license. It may only be
 *  used on, with or for operating systems which are themselves open
 *  source systems. You must contact The Open Group for a license
 *  allowing distribution and sublicensing of this software on, with,
 *  or for operating systems which are not Open Source programs.
 *  
 *  See http://www.opengroup.org/openmotif/license for full
 *  details of the license agreement. Any use, reproduction, or
 *  distribution of the program constitutes recipient's acceptance of
 *  this agreement.
 *  
 *  EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
 *  PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 *  KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
 *  WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
 *  OR FITNESS FOR A PARTICULAR PURPOSE
 *  
 *  EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
 *  NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
 *  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 *  DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED
 *  AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
 *  ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
 *  EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
 *  POSSIBILITY OF SUCH DAMAGES.
*/ 
#ifndef _XmTabBoxP_h_
#define _XmTabBoxP_h_


#include <Xm/XmP.h>
#include <Xm/ManagerP.h>
#include <Xm/ExtP.h>
#include <Xm/TabBox.h>
#include <Xm/TabList.h>

#ifdef __cplusplus
extern "C" {
#endif


typedef struct _XmTabBoxClassPart {
    XtPointer extension;
} XmTabBoxClassPart;

typedef struct _XmTabBoxClassRec {
    CoreClassPart        core_class;
    CompositeClassPart	 composite_class;
    ConstraintClassPart  constraint_class;
    XmManagerClassPart   manager_class;
    XmTabBoxClassPart    tab_box_class;
} XmTabBoxClassRec;

typedef struct _XmTabBoxPart {
    XmFontList          font_list;
    XmTabStyle          tab_style;
    XmTabMode           tab_mode;
    XmTabbedStackList           tab_list;
    XmTabOrientation    tab_orientation;
    XmTabEdge           tab_edge;
    XmTabArrowPlacement arrow_placement;
    unsigned char       orientation;
    Dimension           tab_margin_width;
    Dimension           tab_margin_height;
    Dimension           tab_label_spacing;
    Dimension           highlight_thickness;
    int                 tab_corner_percent;
    Dimension           tab_offset;
    Boolean	        uniform_tab_size;
    Boolean		tab_auto_select;
    Boolean		use_image_cache;

    Pixel		select_color;
    Pixmap		select_pixmap;

    int                 num_stacks;
    int			selected_index;
    int			traversal_index;

    Boolean		stacked_effect;
    
    XtCallbackList      select_callback;
    XtCallbackList      unselect_callback;

    /* Private */
    GC               _tab_GC;
    GC               _text_GC;
    Pixmap           _gray_stipple;
    XRectangle       *_wanted;
    int              _num_wanted;
    struct _XmTabRect *_actual;
    int              _num_actual;
    int              _selected;
    int		     _keyboard;

    int		     _armed_tab;
    
    int              _scroll_x;
    XRectangle	     _scroll_rect;

    int              _corner_size;

    int		     _num_columns;
    int		     _num_rows;

    /*
     * The following data memebers are used for the rotation of 
     * the pixmap and the text.
     */
    int              _bitmap_width;
    int		     _bitmap_height;
    Pixmap           _bitmap;

    GC		     _zero_GC;
    GC		     _one_GC;

    Widget	     _canvas;
    Widget           _left_arrow;
    Widget           _right_arrow;

    Boolean          _inited;

    struct _XmCache *_cache;
    int              _cache_size;
} XmTabBoxPart;

/*
 * Access macros for instance variables
 */
#define XmTabBoxIndex (XmManagerIndex + 1)
extern XmOffsetPtr XmTabBox_offsets;

#define XmTabBoxField(w,f,t) XmField(w, XmTabBox_offsets, XmTabBox, f, t)

#define XmTabBox_font_list(w) XmTabBoxField(w, font_list, XmFontList)
#define XmTabBox_tab_style(w) XmTabBoxField(w, tab_style, XmTabStyle)
#define XmTabBox_tab_mode(w) XmTabBoxField(w, tab_mode, XmTabMode)
#define XmTabBox_tab_list(w) XmTabBoxField(w, tab_list, XmTabbedStackList)
#define XmTabBox_tab_orientation(w) XmTabBoxField(w, tab_orientation, XmTabOrientation)
#define XmTabBox_tab_edge(w) XmTabBoxField(w, tab_edge, XmTabEdge)
#define XmTabBox_arrow_placement(w) XmTabBoxField(w, arrow_placement, XmTabArrowPlacement)
#define XmTabBox_orientation(w) XmTabBoxField(w, orientation, unsigned char)
#define XmTabBox_tab_margin_width(w) XmTabBoxField(w, tab_margin_width, Dimension)
#define XmTabBox_tab_margin_height(w) XmTabBoxField(w, tab_margin_height, Dimension)
#define XmTabBox_tab_label_spacing(w) XmTabBoxField(w, tab_label_spacing, Dimension)
#define XmTabBox_highlight_thickness(w) XmTabBoxField(w, highlight_thickness, Dimension)
#define XmTabBox_tab_corner_percent(w) XmTabBoxField(w, tab_corner_percent, int)
#define XmTabBox_tab_offset(w) XmTabBoxField(w, tab_offset, Dimension)
#define XmTabBox_uniform_tab_size(w) XmTabBoxField(w, uniform_tab_size, Boolean)
#define XmTabBox_tab_auto_select(w) XmTabBoxField(w, tab_auto_select, Boolean)
#define XmTabBox_use_image_cache(w) XmTabBoxField(w, use_image_cache, Boolean)
#define XmTabBox_select_color(w) XmTabBoxField(w, select_color, Pixel)
#define XmTabBox_select_pixmap(w) XmTabBoxField(w, select_pixmap, Pixmap)
#define XmTabBox_num_stacks(w) XmTabBoxField(w, num_stacks, int)
#define XmTabBox_selected_index(w) XmTabBoxField(w, selected_index, int)
#define XmTabBox_traversal_index(w) XmTabBoxField(w, traversal_index, int)
#define XmTabBox_stacked_effect(w) XmTabBoxField(w, stacked_effect, Boolean)
#define XmTabBox_select_callback(w) XmTabBoxField(w, select_callback, XtCallbackList)
#define XmTabBox_unselect_callback(w) XmTabBoxField(w, unselect_callback, XtCallbackList)
#define XmTabBox__tab_GC(w) XmTabBoxField(w, _tab_GC, GC)
#define XmTabBox__text_GC(w) XmTabBoxField(w, _text_GC, GC)
#define XmTabBox__gray_stipple(w) XmTabBoxField(w, _gray_stipple, Pixmap)
#define XmTabBox__wanted(w) XmTabBoxField(w, _wanted, XRectangle*)
#define XmTabBox__num_wanted(w) XmTabBoxField(w, _num_wanted, int)
#define XmTabBox__actual(w) XmTabBoxField(w, _actual, struct _XmTabRect*)
#define XmTabBox__num_actual(w) XmTabBoxField(w, _num_actual, int)
#define XmTabBox__selected(w) XmTabBoxField(w, _selected, int)
#define XmTabBox__keyboard(w) XmTabBoxField(w, _keyboard, int)
#define XmTabBox__armed_tab(w) XmTabBoxField(w, _armed_tab, int)
#define XmTabBox__scroll_x(w) XmTabBoxField(w, _scroll_x, int)
#define XmTabBox__scroll_rect(w) XmTabBoxField(w, _scroll_rect, XRectangle)
#define XmTabBox__corner_size(w) XmTabBoxField(w, _corner_size, int)
#define XmTabBox__num_columns(w) XmTabBoxField(w, _num_columns, int)
#define XmTabBox__num_rows(w) XmTabBoxField(w, _num_rows, int)
#define XmTabBox__bitmap_width(w) XmTabBoxField(w, _bitmap_width, int)
#define XmTabBox__bitmap_height(w) XmTabBoxField(w, _bitmap_height, int)
#define XmTabBox__bitmap(w) XmTabBoxField(w, _bitmap, Pixmap)
#define XmTabBox__zero_GC(w) XmTabBoxField(w, _zero_GC, GC)
#define XmTabBox__one_GC(w) XmTabBoxField(w, _one_GC, GC)
#define XmTabBox__canvas(w) XmTabBoxField(w, _canvas, Widget)
#define XmTabBox__left_arrow(w) XmTabBoxField(w, _left_arrow, Widget)
#define XmTabBox__right_arrow(w) XmTabBoxField(w, _right_arrow, Widget)
#define XmTabBox__inited(w) XmTabBoxField(w, _inited, Boolean)
#define XmTabBox__cache(w) XmTabBoxField(w, _cache, struct _XmCache*)
#define XmTabBox__cache_size(w) XmTabBoxField(w, _cache_size, int)

typedef struct _XmTabBoxRec {
    CorePart        core;
    CompositePart   composite;
    ConstraintPart  constraint;
    XmManagerPart   manager;
    XmTabBoxPart    tab_box;
} XmTabBoxRec;

#ifdef __cplusplus
} /* Close scope of 'extern "C"' declaration */
#endif

#if defined(VMS) || defined(__VMS)
#include <X11/apienvrst.h>
#endif

#endif /* __TabBoxP_h__ */

Man Man