libXaw-1.0.12/autogen.sh 0000755 0143106 0000012 00000000303 12212772702 0015276 0 ustar 00alanc staff 0000266 0200030 #! /bin/sh
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
$srcdir/configure --enable-maintainer-mode "$@"
libXaw-1.0.12/xaw7.pc.in 0000644 0143106 0000012 00000000424 12212772702 0015120 0 ustar 00alanc staff 0000266 0200030 prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: Xaw
Description: X Athena Widgets Library, version 7
Version: @PACKAGE_VERSION@
Requires: xproto xt
Requires.private: x11 xext xt xmu xpm
Cflags: -I${includedir}
Libs: -L${libdir} -lXaw7
libXaw-1.0.12/configure.ac 0000644 0143106 0000012 00000005321 12212772702 0015570 0 ustar 00alanc staff 0000266 0200030
# Initialize Autoconf
AC_PREREQ([2.60])
AC_INIT([libXaw], [1.0.12],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXaw])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS([config.h])
# Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
# Initialize libtool
AC_PROG_LIBTOOL
# Require xorg-macros minimum of 1.12 for DocBook external references
m4_ifndef([XORG_MACROS_VERSION],
[m4_fatal([must install xorg-macros 1.12 or later before running autoconf/autogen])])
XORG_MACROS_VERSION(1.12)
XORG_DEFAULT_OPTIONS
XORG_ENABLE_SPECS
XORG_WITH_XMLTO(0.0.22)
XORG_WITH_FOP
XORG_WITH_XSLTPROC
XORG_CHECK_SGML_DOCTOOLS(1.8)
# Some compilers do not support per target -c and -o flags
AM_PROG_CC_C_O
# Checks for programs.
AC_PROG_AWK
# Need to call this explicitly since the first call to PKG_CHECK_MODULES
# is in an if statement, and later calls would break if it's skipped.
PKG_PROG_PKG_CONFIG
#
# fix libtool to set SONAME to libXaw.so.$major
#
AC_CONFIG_COMMANDS([libtool_hack], [
cp -f libtool libtool_
test -z "$SED" && SED=sed
$SED '1,/^soname_spec/{
/^soname_spec/i\
# X.Org hack to match monolithic Xaw SONAME\
xorglibxawname="libXaw"
/^soname_spec/s/libname/xorglibxawname/
}' libtool_ > libtool
rm -f libtool_
])
# OSX/Win32 rules are different.
platform_win32=no
platform_darwin=no
LIBEXT=so
case $host_os in
cygwin*|mingw*)
LIBEXT=dll.a
platform_win32=yes
;;
darwin*)
LIBEXT=dylib
platform_darwin=yes
;;
esac
AC_SUBST(LIBEXT)
AM_CONDITIONAL(PLATFORM_WIN32, test "x$platform_win32" = "xyes")
AM_CONDITIONAL(PLATFORM_DARWIN, test "x$platform_darwin" = "xyes")
# Whether to build Xaw6
AC_ARG_ENABLE(xaw6, AS_HELP_STRING([--disable-xaw6],
[Disable building of libXaw.so.6]),
[build_v6=$enableval], [build_v6=yes])
if test "x$build_v6" = xyes; then
PKG_CHECK_MODULES(XAW6, xproto x11 xext xextproto xt xmu)
fi
# Whether to build Xaw7
AC_ARG_ENABLE(xaw7, AS_HELP_STRING([--disable-xaw7],
[Disable building of libXaw.so.7]),
[build_v7=$enableval], [build_v7=yes])
if test "x$build_v7" = xyes; then
PKG_CHECK_MODULES(XAW7, xproto x11 xext xextproto xt xmu xpm)
fi
AM_CONDITIONAL(BUILD_XAW6, [test x$build_v6 = xyes])
AM_CONDITIONAL(BUILD_XAW7, [test x$build_v7 = xyes])
# Checks for header files.
AC_CHECK_HEADERS([wctype.h wchar.h widec.h])
# Checks for functions
AC_CHECK_FUNCS([iswalnum getpagesize])
# Link with winsock if mingw target
case $host_os in
*mingw*)
AC_CHECK_LIB([ws2_32],[main])
;;
*)
;;
esac
AC_CONFIG_FILES([Makefile
include/Makefile
man/Makefile
specs/Makefile
src/Makefile])
if test "x$build_v6" = xyes; then
AC_CONFIG_FILES(xaw6.pc)
fi
if test "x$build_v7" = xyes; then
AC_CONFIG_FILES(xaw7.pc)
fi
AC_OUTPUT
libXaw-1.0.12/xaw6.pc.in 0000644 0143106 0000012 00000000420 12212772702 0015113 0 ustar 00alanc staff 0000266 0200030 prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: Xaw
Description: X Athena Widgets Library, version 6
Version: @PACKAGE_VERSION@
Requires: xproto xt
Requires.private: x11 xext xt xmu
Cflags: -I${includedir}
Libs: -L${libdir} -lXaw6
libXaw-1.0.12/Makefile.am 0000644 0143106 0000012 00000001415 12212772702 0015336 0 ustar 00alanc staff 0000266 0200030 SUBDIRS = include src man specs
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA =
if BUILD_XAW6
pkgconfig_DATA += xaw6.pc
if PLATFORM_DARWIN
DEFAULT_LIB = libXaw.6.@LIBEXT@
else
DEFAULT_LIB = libXaw6.@LIBEXT@
endif
endif
if BUILD_XAW7
pkgconfig_DATA += xaw7.pc
if PLATFORM_DARWIN
DEFAULT_LIB = libXaw.7.@LIBEXT@
else
DEFAULT_LIB = libXaw7.@LIBEXT@
endif
endif
MAINTAINERCLEANFILES = ChangeLog INSTALL
EXTRA_DIST = \
autogen.sh \
old-doc/Changelog \
old-doc/CHANGES
install-exec-hook:
cd $(DESTDIR)$(libdir) && rm -f libXaw.@LIBEXT@ && $(LN_S) $(DEFAULT_LIB) libXaw.@LIBEXT@
uninstall-local:
-rm -f $(DESTDIR)$(libdir)/libXaw.@LIBEXT@
.PHONY: ChangeLog INSTALL
INSTALL:
$(INSTALL_CMD)
ChangeLog:
$(CHANGELOG_CMD)
dist-hook: ChangeLog INSTALL
libXaw-1.0.12/README 0000644 0143106 0000012 00000001331 12212772702 0014157 0 ustar 00alanc staff 0000266 0200030 Xaw is the X Athena Widget Set.
Xaw is a widget set based on the X Toolkit Intrinsics (Xt) Library.
All questions regarding this software should be directed at the
Xorg mailing list:
http://lists.freedesktop.org/mailman/listinfo/xorg
Please submit bug reports to the Xorg bugzilla:
https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
The master development code repository can be found at:
git://anongit.freedesktop.org/git/xorg/lib/libXaw
http://cgit.freedesktop.org/xorg/lib/libXaw
For patch submission instructions, see:
http://www.x.org/wiki/Development/Documentation/SubmittingPatches
For more information on the git code manager, see:
http://wiki.x.org/wiki/GitPage
libXaw-1.0.12/specs/SmeLine.xml 0000644 0143106 0000012 00000007456 12212772702 0016510 0 ustar 00alanc staff 0000266 0200030
SmeLine Object
Application Header file <X11/Xaw/SmeLine.h>
Class Header file <X11/Xaw/SmeLineP.h>
Class smeLineObjectClass
Class Name SmeLine
Superclass Sme
The SmeLine object is used to add a horizontal line or menu separator to
a menu. Since each SmeLine is an independent object, the application
is able to change the color, height, and other attributes of the SmeLine
objects on an entry by entry basis. This object is not selectable, and
will not highlight when the pointer cursor is over it.
Resources
The resources associated with the SmeLine object are defined in this section,
and affect only the single menu entry specified by this object.
Name
Class
Type
Notes
Default Value
destroyCallback
Callback
XtCallbackList
NULL
foreground
Foreground
Pixel
XtDefaultForeground
height
Height
Dimension
lineWidth
international
International
Boolean
C
False
lineWidth
LineWidth
Dimension
1
stipple
Stipple
Pixmap
XtUnspecifiedPixmap
width
Width
Dimension
1
foreground
A pixel value which indexes the SimpleMenu's colormap to derive the
foreground color used to draw the separator line.
Keep in mind that the SimpleMenu widget will force all menu items to
be the width of the widest entry. Thus, setting the width is generally not
very important.
lineWidth
The width of the horizontal line that is to be displayed.
stipple
If a bitmap is specified for this resource, the line will be stippled
through it. This allows the menu separator to be rendered as something
more exciting than just a line. For instance, if you define a stipple
that is a chain link, then your menu separators will look like chains.
libXaw-1.0.12/specs/Simple.xml 0000644 0143106 0000012 00000013443 12212772702 0016376 0 ustar 00alanc staff 0000266 0200030
Simple Widget
Application Header file <Xaw/Simple.h>
Class Header file <Xaw/SimpleP.h>
Class simpleWidgetClass
Class Name Simple
Superclass Core
The Simple widget is not very useful by itself, as it has no semantics
of its own. It main purpose is to be used as a common superclass for
the other simple Athena widgets. This widget adds six resources
to the resource list provided by the Core widget and its superclasses.
Resources
When creating a Simple widget instance, the following resources are
retrieved from the argument list or from the resource database:
Name
Class
Type
Notes
Default Value
accelerators
Accelerators
AcceleratorTable
NULL
ancestorSensitive
AncestorSensitive
Boolean
D
True
background
Background
Pixel
XtDefaultBackground
backgroundPixmap
Pixmap
Pixmap
XtUnspecifiedPixmap
borderColor
BorderColor
Pixel
XtDefaultForeground
borderPixmap
Pixmap
Pixmap
XtUnspecifiedPixmap
borderWidth
BorderWidth
Dimension
1
colormap
Colormap
Colormap
Parent's Colormap
cursor
Cursor
Cursor
None
cursorName
Cursor
String
NULL
depth
Depth
int
C
Parent's Depth
destroyCallback
Callback
XtCallbackList
NULL
height
Height
Dimension
0
insensitiveBorder
Insensitive
Pixmap
GreyPixmap
international
International
Boolean
C
False
mappedWhenManaged
MappedWhenManaged
Boolean
True
pointerColor
Foreground
Pixel
XtDefaultForeground
pointerColorBackground
Background
Pixel
XtDefaultBackground
screen
Screen
Screen
R
Parent's Screen
sensitive
Sensitive
Boolean
True
translations
Translations
TranslationTable
NULL
width
Width
Dimension
0
x
Position
Position
0
y
Position
Position
0
.h" "" -->
Class Header file <Xaw/SimpleP.h>
Class simpleWidgetClass
Class Name Simple
Superclass Core
Application Header file <X11/Xaw/AsciiText.h>
ClassHeader file <X11/Xaw/AsciiTextP.h>
Class asciiTextWidgetClass
Class Name Text
Superclass Text
Sink Name textSink
Source Name textSource
For the ease of internationalization, the AsciiText widget class name has not
been changed, although it is actually able to support non-ASCII locales.
The AsciiText widget is really a collection of smaller parts. It
includes the Text widget itself, a ``Source'' (which supports memory management),
and a ``Sink'' (which handles the display). There are currently two supported
sources, the AsciiSrc and MultiSrc, and two supported sinks, the AsciiSink and
MultiSink. Some of
the resources listed below are not actually resources of the
AsciiText, but belong to the associated source or sink. This is
is noted in the explanation of each resource where it applies. When
specifying these resources in a resource file it is necessary to use
*AsciiText*resource_name instead of
*AsciiText.resource_name, since they actually belong to the
children of the AsciiText widget, and not the AsciiText widget itself.
However, these resources may be set directly on the AsciiText widget at
widget creation time, or via .
Resources
When creating an AsciiText widget instance, the following resources are
retrieved from the argument list or from the resource database:
Name
Class
Type
Notes
Default Value
accelerators
Accelerators
AcceleratorTable
NULL
ancestorSensitive
AncestorSensitive
Boolean
D
True
autoFill
AutoFill
Boolean
False
background
Background
Pixel
XtDefaultBackground
backgroundPixmap
Pixmap
Pixmap
XtUnspecifiedPixmap
borderColor
BorderColor
Pixel
XtDefaultForeground
borderPixmap
Pixmap
Pixmap
XtUnspecifiedPixmap
borderWidth
BorderWidth
Dimension
1
bottomMargin
Margin
Position
2
callback
Callback
XtCallbackList
NULL
colormap
Colormap
Colormap
Parent's Colormap
cursor
Cursor
Cursor
XC_xterm
cursorName
Cursor
String
NULL
dataCompression
DataCompression
Boolean
True
depth
Depth
int
C
Parent's Depth
destroyCallback
Callback
XtCallbackList
NULL
displayCaret
Output
Boolean
True
displayNonprinting
Output
Boolean
True
displayPosition
TextPosition
XawTextPosition
0
echo
Output
Boolean
True
editType
EditType
XawTextEditType
XawtextRead
font
Font
XFontStruct*
XtDefaultFont
fontSet
FontSet
XFontSet
XtDefaultFontSet
foreground
Foreground
Pixel
XtDefaultForeground
height
Height
Dimension
A
Font height + margins
insensitiveBorder
Insensitive
Pixmap
GreyPixmap
insertPosition
TextPosition
int
0
international
International
Boolean
C
False
leftMargin
Margin
Dimension
2
length
Length
int
A
length of string
mappedWhenManaged
MappedWhenManaged
Boolean
True
pieceSize
PieceSize
XawTextPosition
BUFSIZ
pointerColor
Foreground
Pixel
XtDefaultForeground
pointerColorBackground
Background
Pixel
XtDefaultBackground
resize
Resize
XawTextResizeMode
XawtextResizeNever
rightMargin
Margin
Position
2
screen
Screen
Screen
R
Parent's Screen
scrollHorizontal
Scroll
XawTextScrollMode
XawtextScrollNever
scrollVertical
Scroll
XawTextScrollMode
XawtextScrollNever
selectTypes
SelectTypes
XawTextSelectType*
See above
sensitive
Sensitive
Boolean
True
string
String
String
NULL
textSink
TextSink
Widget
An AsciiSink
textSource
TextSource
Widget
An AsciiSrc
topMargin
Margin
Position
2
translations
Translations
TranslationTable
See above
type
Type
XawAsciiType
XawAsciiString
useStringInPlace
UseStringInPlace
Boolean
False
width
Width
Dimension
100
wrap
Wrap
WrapMode
XawtextWrapNever
x
Position
Position
0
y
Position
Position
0
iiText widget" "resources" -->
Name
Class
Type
Notes