+++ /dev/null
-#
-# Copyright (C) 2007 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-# blogic@openwrt.org
-
-PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.2/src/app
-
-_CATEGORY:=app
-
-ifneq ($(PKG_NAME),xinit-X11R7.2)
-_DEPEND+=xorg-server-X11R7.2-essentials
-endif
-
-include ../../common.mk
-
-ifeq ($(PKG_NAME),xdm-X11R7.2)
-CONFIGURE_ARGS+=--with-random-device=/dev/urandom
-endif
-
-CONFIGURE_ARGS+=LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
-
-define Build/Compile
- make -C $(PKG_BUILD_DIR)
- make -C $(PKG_BUILD_DIR) DESTDIR=$(PKG_INSTALL_DIR) install
-endef
-
-define Build/Configure
- (cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
- if [ -x $(CONFIGURE_CMD) ]; then \
- $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
- $(CONFIGURE_VARS) \
- $(CONFIGURE_CMD) \
- $(CONFIGURE_ARGS_XTRA) \
- $(CONFIGURE_ARGS) ;\
- fi \
- )
-endef
-
-define xinit-X11R7.2/install
- rm -rf $(1)/usr
- $(INSTALL_DIR) $(1)/usr/bin
- $(CP) $(PKG_INSTALL_DIR)/usr/bin/xinit $(1)/usr/bin/xinit
- cd $(1)/usr/bin/; ln -s xinit startx
-endef
-
-define Package/$(PKG_NAME)/install
- $(INSTALL_DIR) $(1)
- $(CP) $(PKG_INSTALL_DIR)/* $(1)
- rm -rf $(1)/usr/man/
- $(call $(PKG_NAME)/install,$(1))
-endef
+++ /dev/null
-#
-# Copyright (C) 2007 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-# blogic@openwrt.org
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=fluxbox
-PKG_VERSION:=1.0rc3
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=http://prdownloads.sourceforge.net/fluxbox/
-
-EXTRA_LDFLAGS:="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
-
-include $(INCLUDE_DIR)/package.mk
-
-CONFIGURE_VARS+=LIBS="-nodefaultlibs -luClibc++ -Wl,-Bstatic,-lstdc++,-Bdynamic -lm" \
- CXXLD="$(TARGET_CC)"
-
-CONFIGURE_ARGS+=--disable-xmb
-
-define Package/fluxbox/Default
- SECTION:=xorg-wm
- CATEGORY:=Xorg
-endef
-
-define Package/fluxbox
-$(call Package/fluxbox/Default)
- DEPENDS:=+xorg-server-X11R7.2-essentials +uclibcxx +xterm @TARGET_x86
- TITLE:=fluxbox window manager
- MENU:=1
-endef
-
-define Package/fbrun
-$(call Package/fluxbox/Default)
- DEPENDS:=fluxbox
- TITLE:=fluxbox tool to run applications
-endef
-
-define Package/fbsetroot
-$(call Package/fluxbox/Default)
- DEPENDS:=fluxbox
- TITLE:=set fluxbox background
-endef
-
-define Build/Configure
- (cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
- if [ -x $(CONFIGURE_CMD) ]; then \
- $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
- $(CONFIGURE_VARS) \
- $(CONFIGURE_CMD) \
- $(CONFIGURE_ARGS_XTRA) \
- $(CONFIGURE_ARGS) ;\
- fi \
- )
-endef
-
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR=$(PKG_INSTALL_DIR) install
-endef
-
-define Package/fluxbox/install
- $(INSTALL_DIR) $(1)/usr/bin
- $(INSTALL_DIR) $(1)/usr/share/fluxbox/styles/
- $(CP) $(PKG_INSTALL_DIR)/usr/bin/{fluxbox,fbsetbg} $(1)/usr/bin/
- $(CP) $(PKG_INSTALL_DIR)/usr/share/fluxbox/{init,keys} $(1)/usr/share/fluxbox/
- $(CP) $(PKG_INSTALL_DIR)/usr/share/fluxbox/styles/* $(1)/usr/share/fluxbox/styles/
- $(CP) files/menu $(1)/usr/share/fluxbox/
-endef
-
-define Package/fbsetroot/install
- $(INSTALL_DIR) $(1)/usr/bin
- $(CP) $(PKG_INSTALL_DIR)/usr/bin/fbsetroot $(1)/usr/bin/
-endef
-
-define Package/fbrun/install
- $(INSTALL_DIR) $(1)/usr/bin
- $(CP) $(PKG_INSTALL_DIR)/usr/bin/fbrun $(1)/usr/bin/
-endef
-
-$(eval $(call BuildPackage,fbrun))
-$(eval $(call BuildPackage,fbsetroot))
-$(eval $(call BuildPackage,fluxbox))
+++ /dev/null
-[begin] (Fluxbox-OpenWrt)
- [exec] (xterm) {xterm}
- [exec] (vi) {xterm -e vi}
- [exec] (xmms) {xmms}
- [exec] (alsamixer) {xterm -e alsamixer}
- [exec] (vlc) {vlc}
- [exec] (xclock) {xclock}
- [exec] (xmag) {xmag}
- [exec] (xclock) {xclock}
- [exec] (xcalc) {xcalc}
- [exec] (xpdf) {xpdf}
- [exec] (top) {xterm -e top}
-[submenu] (fluxbox menu)
- [config] (Configure)
-[submenu] (System Styles) {Choose a style...}
- [stylesdir] (/usr/share/fluxbox/styles)
-[end]
- [workspaces] (Workspace List)
-[submenu] (Tools)
- [exec] (fluxconf) {fluxconf}
- [exec] (fluxkeys) {fluxkeys}
- [exec] (fluxmenu) {fluxmenu}
-[end]
- [commanddialog] (Fluxbox Command)
- [reconfig] (Reload config)
- [restart] (Restart)
- [exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) 2> /dev/null | xmessage -file - -center}
- [separator]
- [exit] (Exit)
-[end]
-[end]
+++ /dev/null
---- fluxbox-1.0rc3/util/fbrun/Makefile.in.orig 2007-09-17 19:52:52.000000000 +0200
-+++ fluxbox-1.0rc3/util/fbrun/Makefile.in 2007-09-17 19:53:09.000000000 +0200
-@@ -268,7 +268,7 @@
- done
- fbrun$(EXEEXT): $(fbrun_OBJECTS) $(fbrun_DEPENDENCIES)
- @rm -f fbrun$(EXEEXT)
-- $(CXXLINK) $(fbrun_OBJECTS) $(fbrun_LDADD) $(LIBS)
-+ $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) -o $@ $(fbrun_OBJECTS) $(fbrun_LDADD) $(LDFLAGS) $(LIBS)
-
- mostlyclean-compile:
- -rm -f *.$(OBJEXT)
+++ /dev/null
-diff -urN fluxbox-1.0rc3.orig/util/Makefile.in fluxbox-1.0rc3/util/Makefile.in
---- fluxbox-1.0rc3.orig/util/Makefile.in 2007-09-17 19:56:45.000000000 +0200
-+++ fluxbox-1.0rc3/util/Makefile.in 2007-09-17 19:58:11.000000000 +0200
-@@ -301,7 +301,7 @@
- done
- fbsetroot$(EXEEXT): $(fbsetroot_OBJECTS) $(fbsetroot_DEPENDENCIES)
- @rm -f fbsetroot$(EXEEXT)
-- $(CXXLINK) $(fbsetroot_OBJECTS) $(fbsetroot_LDADD) $(LIBS)
-+ $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) -o $@ $(fbsetroot_OBJECTS) $(fbsetroot_LDADD) $(LDFLAGS) $(LIBS)
- fluxbox-update_configs$(EXEEXT): $(fluxbox_update_configs_OBJECTS) $(fluxbox_update_configs_DEPENDENCIES)
- @rm -f fluxbox-update_configs$(EXEEXT)
- $(CXXLINK) $(fluxbox_update_configs_OBJECTS) $(fluxbox_update_configs_LDADD) $(LIBS)
+++ /dev/null
-xinit-X11R7.2-1.0.3|
-xlogo-X11R7.0-1.0.1|
-xset-X11R7.1-1.0.2|
-xeyes-X11R7.0-1.0.1|
-xclipboard-X11R7.0-1.0.1|
-xcalc-X11R7.0-1.0.1|+font-misc-misc
-xdm-X11R7.2-1.1.3|
+++ /dev/null
-diff -urN xlogo-X11R7.0-1.0.1.orig/Makefile.in xlogo-X11R7.0-1.0.1/Makefile.in
---- xlogo-X11R7.0-1.0.1.orig/Makefile.in 2007-09-17 23:28:25.000000000 +0200
-+++ xlogo-X11R7.0-1.0.1/Makefile.in 2007-09-17 23:29:17.000000000 +0200
-@@ -177,7 +177,7 @@
- bin_PROGRAMS = xlogo
-
- xlogo_CFLAGS = $(XLOGO_CFLAGS)
--xlogo_LDADD = $(XLOGO_LIBS)
-+xlogo_LDADD = $(XLOGO_LIBS) -lXrender
-
- xlogo_SOURCES = \
- Logo.c \
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=@BASE_NAME@
-PKG_NAME:=@NAME@
-PKG_RELEASE:=1
-PKG_VERSION:=@VER@
-
-_DEPEND:=@DEP@
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xcalc
-PKG_NAME:=xcalc-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.1
-
-_DEPEND:=+font-misc-misc
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xclipboard
-PKG_NAME:=xclipboard-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.1
-
-_DEPEND:=
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xdm
-PKG_NAME:=xdm-X11R7.2
-PKG_RELEASE:=1
-PKG_VERSION:=1.1.3
-
-_DEPEND:=
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xeyes
-PKG_NAME:=xeyes-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.1
-
-_DEPEND:=
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xinit
-PKG_NAME:=xinit-X11R7.2
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.3
-
-_DEPEND:=
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xlogo
-PKG_NAME:=xlogo-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.1
-
-_DEPEND:=
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-diff -urN xlogo-X11R7.0-1.0.1.orig/Makefile.in xlogo-X11R7.0-1.0.1/Makefile.in
---- xlogo-X11R7.0-1.0.1.orig/Makefile.in 2007-09-17 23:28:25.000000000 +0200
-+++ xlogo-X11R7.0-1.0.1/Makefile.in 2007-09-17 23:29:17.000000000 +0200
-@@ -177,7 +177,7 @@
- bin_PROGRAMS = xlogo
-
- xlogo_CFLAGS = $(XLOGO_CFLAGS)
--xlogo_LDADD = $(XLOGO_LIBS)
-+xlogo_LDADD = $(XLOGO_LIBS) -lXrender
-
- xlogo_SOURCES = \
- Logo.c \
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xset
-PKG_NAME:=xset-X11R7.1
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.2
-
-_DEPEND:=
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-#
-# Copyright (C) 2007 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-# blogic@openwrt.org
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=xterm
-PKG_VERSION:=223
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.2/src/extras/
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/xterm
- SECTION:=xorg-extra
- CATEGORY:=Xorg
- SUBMENU:=app
- TITLE:=xterm
- DEPENDS:=+xorg-server-X11R7.2-essentials +libncurses @TARGET_x86
-endef
-
-define Build/Configure
- sed -e "s%/usr/contrib/X11R6%${STAGING_DIR}/usr/lib%g" -i $(PKG_BUILD_DIR)/configure
- cd $(PKG_BUILD_DIR)/; $(TARGET_CONFIGURE_OPTS) $(CONFIGURE_VARS) \
- $(CONFIGURE_CMD) \
- $(CONFIGURE_ARGS_XTRA) \
- $(CONFIGURE_ARGS) \
- --host=$(GNU_TARGET_NAME) \
- --x-includes=$(STAGING_DIR)/usr/include/ \
- --x-libraries=$(STAGING_DIR)/usr/lib/ \
- LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
-endef
-
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
-endef
-
-define Package/xterm/install
- $(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/* $(1)/
-endef
-
-$(eval $(call BuildPackage,xterm))
+++ /dev/null
-diff -urN xterm-223.orig/Makefile.in xterm-223/Makefile.in
---- xterm-223.orig/Makefile.in 2007-09-17 11:56:45.000000000 +0200
-+++ xterm-223/Makefile.in 2007-09-17 11:57:33.000000000 +0200
-@@ -150,7 +150,7 @@
- @MAY_SETUID@ $(SHELL) $(srcdir)/sinstall.sh @SINSTALL_OPTS@ "$(INSTALL_PROGRAM)" xterm$x @XTERM_PATH@ $(BINDIR)/$(binary_xterm)
- @NOT_SETUID@ $(INSTALL_PROGRAM) xterm$x $(BINDIR)/$(binary_xterm)
- $(INSTALL_PROGRAM) -m 755 resize$x $(BINDIR)/$(binary_resize)
-- @$(SHELL) -c 'echo "... installing $(BINDIR)/$(binary_uxterm)"; \
-+# @$(SHELL) -c 'echo "... installing $(BINDIR)/$(binary_uxterm)"; \
- if test "$(binary_xterm)" != "xterm"; then \
- name="$(binary_xterm)"; \
- sed -e "s,=xterm,=$$name," $(srcdir)/uxterm >uxterm.tmp; \
+++ /dev/null
-#
-# Copyright (C) 2007 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-# blogic@openwrt.org
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-
-PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}-$(PKG_VERSION)/
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/${PKG_NAME}
- SECTION:=xorg-${_CATEGORY}
- CATEGORY:=Xorg
- SUBMENU:=${_CATEGORY}
- DEPENDS:=${_DEPEND} @TARGET_x86
- TITLE:=${PKG_NAME}
- URL:=http://xorg.freedesktop.org/
-endef
-
-define Build/InstallDev
- DESTDIR=$(STAGING_DIR) $(MAKE) -C $(PKG_BUILD_DIR)/$(SUBPACKAGE) $(MAKE_FLAGS) install
-endef
+++ /dev/null
-#
-# Copyright (C) 2007 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-# blogic@openwrt.org
-
-PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.2/src/driver
-
-_CATEGORY:=driver
-_DEPEND+=+xorg-server-X11R7.2
-include ../../common.mk
-
-EXTRA_CPPFLAGS= -I$(STAGING_DIR)/usr/include/xorg \
- -I$(STAGING_DIR)/usr/include/X11/ \
- -I$(STAGING_DIR)/usr/include/ \
- -I$(STAGING_DIR)/include/
-
-EXTRA_CFLAGS+= $(EXTRA_CPPFLAGS)
-
-acvar=$(subst -,_,$(subst .,_,$(subst /,_,$(1))))
-
-CONFIGURE_VARS +=DRI_CFLAGS="-I$(STAGING_DIR)/usr/include/X11/dri/" ac_cv_file__usr_share_sgml_X11_defs_ent=yes \
- sdkdir=$(STAGING_DIR)
- #i\
- #ac_cv_header_exa_h=yes
-
-define Build/Configure
- (cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
- if [ -x $(CONFIGURE_CMD) ]; then \
- $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
- $(foreach a,dri.h sarea.h dristruct.h exa.h,export ac_cv_file_$(call acvar,$(STAGING_DIR)/usr/include/xorg/$(a))=yes;) \
- sed -i "s|sdkdir=.*|sdkdir=$(STAGING_DIR)/usr/include/xorg|g" $(PKG_BUILD_DIR)/configure ;\
- $(CONFIGURE_VARS) \
- $(CONFIGURE_CMD) \
- $(CONFIGURE_ARGS_XTRA) \
- $(CONFIGURE_ARGS) \
- CPPFLAGS="$(EXTRA_CPPFLAGS)" ;\
- fi \
- )
-endef
-
-define Build/Compile
- make -C $(PKG_BUILD_DIR)
- DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS) install
- find $(PKG_INSTALL_DIR) -name *a | xargs rm -rf
-endef
-
-define Package/${PKG_NAME}/install
- $(INSTALL_DIR) $(1)/usr/lib/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
-endef
+++ /dev/null
-xf86-input-evdev-X11R7.1-1.1.2|
-xf86-input-keyboard-X11R7.2-1.1.1|
-xf86-input-mouse-X11R7.2-1.1.2|
-xf86-input-mouse-X11R7.2-1.1.2|
-xf86-video-fbdev-X11R7.2-0.3.1|
-xf86-video-vesa-X11R7.2-1.3.0|
-xf86-video-vga-X11R7.1-4.1.0|
-xf86-video-i810-X11R7.2-1.6.5|+libXvMC-X11R7.2
-xf86-video-nv-X11R7.2-1.2.2.1|
-xf86-video-ati-X11R7.2-6.6.3|
+++ /dev/null
-diff -urN xf86-video-i810-X11R7.2-1.6.5.orig/configure.ac xf86-video-i810-X11R7.2-1.6.5/configure.ac
---- xf86-video-i810-X11R7.2-1.6.5.orig/configure.ac 2007-09-21 03:54:25.000000000 +0200
-+++ xf86-video-i810-X11R7.2-1.6.5/configure.ac 2007-09-21 03:55:08.000000000 +0200
-@@ -72,7 +72,8 @@
-
- # Checks for pkg-config packages
- PKG_CHECK_MODULES(XORG, [xorg-server xproto xvmc fontsproto $REQUIRED_MODULES])
--sdkdir=$(pkg-config --variable=sdkdir xorg-server)
-+sdkdir=${SDKDIR}
-+#$(pkg-config --variable=sdkdir xorg-server)
-
- # Checks for libraries.
-
+++ /dev/null
-diff -urN xf86-video-vesa-X11R7.2-1.3.0.orig/src/Makefile.in xf86-video-vesa-X11R7.2-1.3.0/src/Makefile.in
---- xf86-video-vesa-X11R7.2-1.3.0.orig/src/Makefile.in 2007-09-15 22:48:37.000000000 +0200
-+++ xf86-video-vesa-X11R7.2-1.3.0/src/Makefile.in 2007-09-15 22:50:43.000000000 +0200
-@@ -131,7 +131,7 @@
- FFLAGS = @FFLAGS@
- FILE_MAN_DIR = @FILE_MAN_DIR@
- FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
--INCLUDES = @INCLUDES@
-+INCLUDES =
- INSTALL_DATA = @INSTALL_DATA@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
- INSTALL_SCRIPT = @INSTALL_SCRIPT@
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=@BASE_NAME@
-PKG_NAME:=@NAME@
-PKG_RELEASE:=1
-PKG_VERSION:=@VER@
-
-_DEPEND:=@DEP@
-
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xf86
-PKG_NAME:=xf86-input-evdev-X11R7.1
-PKG_RELEASE:=1
-PKG_VERSION:=1.1.2
-
-_DEPEND:=
-
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xf86
-PKG_NAME:=xf86-input-keyboard-X11R7.2
-PKG_RELEASE:=1
-PKG_VERSION:=1.1.1
-
-_DEPEND:=
-
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xf86
-PKG_NAME:=xf86-input-mouse-X11R7.2
-PKG_RELEASE:=1
-PKG_VERSION:=1.1.2
-
-_DEPEND:=
-
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xf86
-PKG_NAME:=xf86-video-ati-X11R7.2
-PKG_RELEASE:=1
-PKG_VERSION:=6.6.3
-
-_DEPEND:=
-
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xf86
-PKG_NAME:=xf86-video-fbdev-X11R7.2
-PKG_RELEASE:=1
-PKG_VERSION:=0.3.1
-
-_DEPEND:=
-
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xf86
-PKG_NAME:=xf86-video-i810-X11R7.2
-PKG_RELEASE:=1
-PKG_VERSION:=1.6.5
-
-_DEPEND:= +libXvMC-X11R7.2
-
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-diff -urN xf86-video-i810-X11R7.2-1.6.5.orig/configure.ac xf86-video-i810-X11R7.2-1.6.5/configure.ac
---- xf86-video-i810-X11R7.2-1.6.5.orig/configure.ac 2007-09-21 03:54:25.000000000 +0200
-+++ xf86-video-i810-X11R7.2-1.6.5/configure.ac 2007-09-21 03:55:08.000000000 +0200
-@@ -72,7 +72,8 @@
-
- # Checks for pkg-config packages
- PKG_CHECK_MODULES(XORG, [xorg-server xproto xvmc fontsproto $REQUIRED_MODULES])
--sdkdir=$(pkg-config --variable=sdkdir xorg-server)
-+sdkdir=${SDKDIR}
-+#$(pkg-config --variable=sdkdir xorg-server)
-
- # Checks for libraries.
-
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xf86
-PKG_NAME:=xf86-video-nv-X11R7.2
-PKG_RELEASE:=1
-PKG_VERSION:=1.2.2.1
-
-_DEPEND:=
-
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xf86
-PKG_NAME:=xf86-video-vesa-X11R7.2
-PKG_RELEASE:=1
-PKG_VERSION:=1.3.0
-
-_DEPEND:=
-
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-diff -urN xf86-video-vesa-X11R7.2-1.3.0.orig/src/Makefile.in xf86-video-vesa-X11R7.2-1.3.0/src/Makefile.in
---- xf86-video-vesa-X11R7.2-1.3.0.orig/src/Makefile.in 2007-09-15 22:48:37.000000000 +0200
-+++ xf86-video-vesa-X11R7.2-1.3.0/src/Makefile.in 2007-09-15 22:50:43.000000000 +0200
-@@ -131,7 +131,7 @@
- FFLAGS = @FFLAGS@
- FILE_MAN_DIR = @FILE_MAN_DIR@
- FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
--INCLUDES = @INCLUDES@
-+INCLUDES =
- INSTALL_DATA = @INSTALL_DATA@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
- INSTALL_SCRIPT = @INSTALL_SCRIPT@
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=xf86
-PKG_NAME:=xf86-video-vga-X11R7.1
-PKG_RELEASE:=1
-PKG_VERSION:=4.1.0
-
-_DEPEND:=
-
-
-include ../common.mk
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-#
-# Copyright (C) 2006 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-# $Id: Makefile 8299 2007-08-01 12:32:53Z nico $
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=font-util-X11R7.1
-PKG_VERSION:=1.0.1
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.2/src/font
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/font-util-X11R7.1
- SECTION:=xorg-font
- CATEGORY:=Xorg
- SUBMENU:=fonts
- TITLE:=misc tool to generate x fonts
- DEPENDS:=+xorg-server-X11R7.2 @TARGET_x86
-endef
-
-define Build/Configure
- cd $(PKG_BUILD_DIR)/; ./configure
-endef
-
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) install DESTDIR="$(PKG_INSTALL_DIR)"
-endef
-
-define Build/InstallDev
- $(CP) $(PKG_INSTALL_DIR)/usr/local/lib/pkgconfig/fontutil.pc $(STAGING_DIR)/usr/lib/pkgconfig/
- $(CP) $(PKG_INSTALL_DIR)/usr/local/lib/X11/* $(STAGING_DIR)/usr/lib/X11/
- $(CP) $(PKG_INSTALL_DIR)/usr/local/bin/* $(STAGING_DIR)/usr/bin/
-endef
-
-$(eval $(call BuildPackage,font-util-X11R7.1))
+++ /dev/null
-#
-# Copyright (C) 2007 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-# blogic@openwrt.org
-
-PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.2/src/font
-
-_CATEGORY:=fonts
-_DEPEND+="+xorg-server-X11R7.2 +font-util-X11R7.1"
-include ../../common.mk
-
-CONFIGURE_ARGS_XTRA+=--disable-iso8859-2 --disable-iso8859-3 --disable-iso8859-4 --disable-iso8859-5 --disable-iso8859-7 --disable-iso8859-8 --disable-iso8859-9 --disable-iso8859-10 --disable-iso8859-11 --disable-iso8859-13 --disable-iso8859-14 --disable-iso8859-16 --disable-koi8-r --disable-jisx0201
-
-define Build/Compile
- UTIL_DIR="$(STAGING_DIR)/usr/lib/X11/fonts/util/" make -e -C $(PKG_BUILD_DIR)
- DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS) install
- find $(PKG_INSTALL_DIR) -name fonts.dir | \
- xargs -i -t \
- sed -i '1d' {}
- find $(PKG_INSTALL_DIR) -name fonts.dir | \
- xargs -i -t \
- mv {} {}.$(PKG_NAME)
-endef
-
-define Build/Configure
- (cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
- if [ -x $(CONFIGURE_CMD) ]; then \
- $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
- $(CONFIGURE_VARS) \
- $(CONFIGURE_CMD) \
- $(CONFIGURE_ARGS_XTRA) \
- $(CONFIGURE_ARGS) ;\
- fi \
- )
-endef
-
-define Package/${PKG_NAME}/install
- $(INSTALL_DIR) $(1)/usr/lib/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
-endef
-
-define Package/${PKG_NAME}/postinst
-#!/bin/sh
-
-FILE_NEW=`find $${IPKG_INSTROOT} -name fonts.dir.${PKG_NAME}`
-FILE_OLD=`dirname $${FILE_NEW}`/fonts.dir
-
-echo found $${FILE}
-
-if [ ! -z $${FILE_NEW} ]; then
- if [ -f $${FILE_OLD} ]; then
- sed -i "1d" $${FILE_OLD}
- cat $${FILE_NEW} >> $${FILE_OLD}
- rm -rf $${FILE_NEW}
- mv $${FILE_OLD} $${FILE_OLD}.tmp
- else
- mv $${FILE_NEW} $${FILE_OLD}.tmp
- fi
- (echo `wc -l $${FILE_OLD}.tmp | awk '{print($$1)}'`; cat $${FILE_OLD}.tmp) > $${FILE_OLD}
- rm $${FILE_OLD}.tmp
-fi
-endef
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=encodings
-PKG_NAME:=encodings-X11R7.2
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.2
-
-_DEPEND:=
-
-include ../common.mk
-
-ifeq ("$(PKG_NAME)","font-util-X11R7.1")
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/
-endef
-endif
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=font
-PKG_NAME:=font-alias-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.1
-
-_DEPEND:=
-
-include ../common.mk
-
-ifeq ("$(PKG_NAME)","font-util-X11R7.1")
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/
-endef
-endif
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=font
-PKG_NAME:=font-bh-75dpi-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.0
-
-_DEPEND:=
-
-include ../common.mk
-
-ifeq ("$(PKG_NAME)","font-util-X11R7.1")
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/
-endef
-endif
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=font
-PKG_NAME:=font-cursor-misc-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.0
-
-_DEPEND:=
-
-include ../common.mk
-
-ifeq ("$(PKG_NAME)","font-util-X11R7.1")
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/
-endef
-endif
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=font
-PKG_NAME:=font-daewoo-misc-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.0
-
-_DEPEND:=
-
-include ../common.mk
-
-ifeq ("$(PKG_NAME)","font-util-X11R7.1")
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/
-endef
-endif
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=font
-PKG_NAME:=font-dec-misc-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.0
-
-_DEPEND:=
-
-include ../common.mk
-
-ifeq ("$(PKG_NAME)","font-util-X11R7.1")
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/
-endef
-endif
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=font
-PKG_NAME:=font-ibm-type1-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.0
-
-_DEPEND:=
-
-include ../common.mk
-
-ifeq ("$(PKG_NAME)","font-util-X11R7.1")
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/
-endef
-endif
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=font
-PKG_NAME:=font-isas-misc-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.0
-
-_DEPEND:=
-
-include ../common.mk
-
-ifeq ("$(PKG_NAME)","font-util-X11R7.1")
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/
-endef
-endif
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=font
-PKG_NAME:=font-jis-misc-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.0
-
-_DEPEND:=
-
-include ../common.mk
-
-ifeq ("$(PKG_NAME)","font-util-X11R7.1")
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/
-endef
-endif
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=font
-PKG_NAME:=font-micro-misc-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.0
-
-_DEPEND:=
-
-include ../common.mk
-
-ifeq ("$(PKG_NAME)","font-util-X11R7.1")
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/
-endef
-endif
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=font
-PKG_NAME:=font-misc-cyrillic-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.0
-
-_DEPEND:=
-
-include ../common.mk
-
-ifeq ("$(PKG_NAME)","font-util-X11R7.1")
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/
-endef
-endif
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-#
-# Copyright (C) 2007 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-# blogic@openwrt.org
-
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=font-base
-PKG_NAME:=font-misc-misc-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.0
-
-PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.2/src/font
-PKG_SOURCE:=font-misc-misc-X11R7.0-1.0.0.tar.bz2
-PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/fonts/font-misc-misc-X11R7.0-1.0.0/
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/font-misc-misc/Default
- SECTION:=xorg-fonts
- CATEGORY:=Xorg
- SUBMENU:=fonts
-endef
-
-define Package/font-base
- $(call Package/font-misc-misc/Default)
- DEPENDS:=+xorg-server-X11R7.2 +font-util-X11R7.1 @TARGET_x86
- TITLE:=font-base
- URL:=http://xorg.freedesktop.org/
-endef
-
-define Package/font-misc-misc
- $(call Package/font-misc-misc/Default)
- DEPENDS:=font-base
- TITLE:=font-misc-misc
- URL:=http://xorg.freedesktop.org/
-endef
-
-
-CONFIGURE_ARGS_XTRA+=--disable-iso8859-2 --disable-iso8859-3 --disable-iso8859-4 --disable-iso8859-5 --disable-iso8859-7 --disable-iso8859-8 --disable-iso8859-9 --disable-iso8859-10 --disable-iso8859-11 --disable-iso8859-13 --disable-iso8859-14 --disable-iso8859-16 --disable-koi8-r --disable-jisx0201
-
-define Build/Compile
- UTIL_DIR="$(STAGING_DIR)/usr/lib/X11/fonts/util/" make -e -C $(PKG_BUILD_DIR)
- DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS) install
- find $(PKG_INSTALL_DIR) -name fonts.dir | \
- xargs rm
-endef
-
-define Build/Configure
- (cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
- if [ -x $(CONFIGURE_CMD) ]; then \
- $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
- $(CONFIGURE_VARS) \
- $(CONFIGURE_CMD) \
- $(CONFIGURE_ARGS_XTRA) \
- $(CONFIGURE_ARGS) ;\
- fi \
- )
-endef
-
-define Build/InstallDev
- DESTDIR=$(STAGING_DIR) $(MAKE) -C $(PKG_BUILD_DIR)/ $(MAKE_FLAGS) install
-endef
-
-define Package/font-base/install
- $(INSTALL_DIR) $(1)/usr/lib/X11/fonts/misc/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/X11/fonts/misc/6x13* $(1)/usr/lib/X11/fonts/misc/
- $(CP) files/fonts.dir.font-base $(1)/usr/lib/X11/fonts/misc/
-endef
-
-define Package/font-misc-misc/install
- $(INSTALL_DIR) $(1)/usr/lib/X11/fonts/misc/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/X11/fonts/misc/* $(1)/usr/lib/X11/fonts/misc/
- rm $(1)/usr/lib/X11/fonts/misc/6x13*
- $(CP) files/fonts.dir.font-misc-misc $(1)/usr/lib/X11/fonts/misc/
-endef
-
-define Package/font-base/postinst
-#!/bin/sh
-
-FILE_NEW=`find $${IPKG_INSTROOT} -name fonts.dir.font-base`
-FILE_OLD=`dirname $${FILE_NEW}`/fonts.dir
-
-echo found $${FILE}
-
-if [ ! -z $${FILE_NEW} ]; then
- if [ -f $${FILE_OLD} ]; then
- sed -i "1d" $${FILE_OLD}
- cat $${FILE_NEW} >> $${FILE_OLD}
- rm -rf $${FILE_NEW}
- mv $${FILE_OLD} $${FILE_OLD}.tmp
- else
- mv $${FILE_NEW} $${FILE_OLD}.tmp
- fi
- (echo `wc -l $${FILE_OLD}.tmp | awk '{print($$1)}'`; cat $${FILE_OLD}.tmp) > $${FILE_OLD}
- rm $${FILE_OLD}.tmp
-fi
-endef
-
-define Package/font-misc-misc/postinst
-#!/bin/sh
-
-FILE_NEW=`find $${IPKG_INSTROOT} -name fonts.dir.font-misc-misc`
-FILE_OLD=`dirname $${FILE_NEW}`/fonts.dir
-
-echo found $${FILE}
-
-if [ ! -z $${FILE_NEW} ]; then
- if [ -f $${FILE_OLD} ]; then
- sed -i "1d" $${FILE_OLD}
- cat $${FILE_NEW} >> $${FILE_OLD}
- rm -rf $${FILE_NEW}
- mv $${FILE_OLD} $${FILE_OLD}.tmp
- else
- mv $${FILE_NEW} $${FILE_OLD}.tmp
- fi
- (echo `wc -l $${FILE_OLD}.tmp | awk '{print($$1)}'`; cat $${FILE_OLD}.tmp) > $${FILE_OLD}
- rm $${FILE_OLD}.tmp
-fi
-endef
-
-$(eval $(call BuildPackage,font-misc-misc))
-$(eval $(call BuildPackage,font-base))
+++ /dev/null
-6x13-ISO8859-1.pcf.gz -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
-6x13-ISO8859-15.pcf.gz -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-15
-6x13.pcf.gz -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
-6x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-semicondensed--13-120-75-75-c-60-iso8859-1
-6x13B-ISO8859-15.pcf.gz -misc-fixed-bold-r-semicondensed--13-120-75-75-c-60-iso8859-15
-6x13B.pcf.gz -misc-fixed-bold-r-semicondensed--13-120-75-75-c-60-iso10646-1
-6x13O-ISO8859-1.pcf.gz -misc-fixed-medium-o-semicondensed--13-120-75-75-c-60-iso8859-1
-6x13O-ISO8859-15.pcf.gz -misc-fixed-medium-o-semicondensed--13-120-75-75-c-60-iso8859-15
-6x13O.pcf.gz -misc-fixed-medium-o-semicondensed--13-120-75-75-c-60-iso10646-1
+++ /dev/null
-10x20-ISO8859-1.pcf.gz -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1
-10x20-ISO8859-15.pcf.gz -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-15
-10x20.pcf.gz -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
-12x13ja.pcf.gz -misc-fixed-medium-r-normal-ja-13-120-75-75-c-120-iso10646-1
-18x18ja.pcf.gz -misc-fixed-medium-r-normal-ja-18-120-100-100-c-180-iso10646-1
-18x18ko.pcf.gz -misc-fixed-medium-r-normal-ko-18-120-100-100-c-180-iso10646-1
-4x6-ISO8859-1.pcf.gz -misc-fixed-medium-r-normal--6-60-75-75-c-40-iso8859-1
-4x6-ISO8859-15.pcf.gz -misc-fixed-medium-r-normal--6-60-75-75-c-40-iso8859-15
-4x6.pcf.gz -misc-fixed-medium-r-normal--6-60-75-75-c-40-iso10646-1
-5x7-ISO8859-1.pcf.gz -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso8859-1
-5x7-ISO8859-15.pcf.gz -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso8859-15
-5x7.pcf.gz -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso10646-1
-5x8-ISO8859-1.pcf.gz -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso8859-1
-5x8-ISO8859-15.pcf.gz -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso8859-15
-5x8.pcf.gz -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
-6x10-ISO8859-1.pcf.gz -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1
-6x10-ISO8859-15.pcf.gz -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-15
-6x10.pcf.gz -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso10646-1
-6x12-ISO8859-1.pcf.gz -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1
-6x12-ISO8859-15.pcf.gz -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-15
-6x12.pcf.gz -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso10646-1
-6x9-ISO8859-1.pcf.gz -misc-fixed-medium-r-normal--9-90-75-75-c-60-iso8859-1
-6x9-ISO8859-15.pcf.gz -misc-fixed-medium-r-normal--9-90-75-75-c-60-iso8859-15
-6x9.pcf.gz -misc-fixed-medium-r-normal--9-90-75-75-c-60-iso10646-1
-7x13-ISO8859-1.pcf.gz -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
-7x13-ISO8859-15.pcf.gz -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-15
-7x13.pcf.gz -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1
-7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1
-7x13B-ISO8859-15.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-15
-7x13B.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso10646-1
-7x13O-ISO8859-1.pcf.gz -misc-fixed-medium-o-normal--13-120-75-75-c-70-iso8859-1
-7x13O-ISO8859-15.pcf.gz -misc-fixed-medium-o-normal--13-120-75-75-c-70-iso8859-15
-7x13O.pcf.gz -misc-fixed-medium-o-normal--13-120-75-75-c-70-iso10646-1
-7x14-ISO8859-1.pcf.gz -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
-7x14-ISO8859-15.pcf.gz -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-15
-7x14.pcf.gz -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
-7x14B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso8859-1
-7x14B-ISO8859-15.pcf.gz -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso8859-15
-7x14B.pcf.gz -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso10646-1
-8x13-ISO8859-1.pcf.gz -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1
-8x13-ISO8859-15.pcf.gz -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-15
-8x13.pcf.gz -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
-8x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-80-iso8859-1
-8x13B-ISO8859-15.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-80-iso8859-15
-8x13B.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-80-iso10646-1
-8x13O-ISO8859-1.pcf.gz -misc-fixed-medium-o-normal--13-120-75-75-c-80-iso8859-1
-8x13O-ISO8859-15.pcf.gz -misc-fixed-medium-o-normal--13-120-75-75-c-80-iso8859-15
-8x13O.pcf.gz -misc-fixed-medium-o-normal--13-120-75-75-c-80-iso10646-1
-9x15-ISO8859-1.pcf.gz -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1
-9x15-ISO8859-15.pcf.gz -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-15
-9x15.pcf.gz -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1
-9x15B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso8859-1
-9x15B-ISO8859-15.pcf.gz -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso8859-15
-9x15B.pcf.gz -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1
-9x18-ISO8859-1.pcf.gz -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso8859-1
-9x18-ISO8859-15.pcf.gz -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso8859-15
-9x18.pcf.gz -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
-9x18B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--18-120-100-100-c-90-iso8859-1
-9x18B-ISO8859-15.pcf.gz -misc-fixed-bold-r-normal--18-120-100-100-c-90-iso8859-15
-9x18B.pcf.gz -misc-fixed-bold-r-normal--18-120-100-100-c-90-iso10646-1
-k14.pcf.gz -misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0
-nil2.pcf.gz -misc-nil-medium-r-normal--2-20-75-75-c-10-misc-fontspecific
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=font
-PKG_NAME:=font-xfree86-type1-X11R7.0
-PKG_RELEASE:=1
-PKG_VERSION:=1.0.0
-
-_DEPEND:=
-
-include ../common.mk
-
-ifeq ("$(PKG_NAME)","font-util-X11R7.1")
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/
-endef
-endif
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-encodings-X11R7.2-1.0.2|
-font-xfree86-type1-X11R7.0-1.0.0|
-font-cursor-misc-X11R7.0-1.0.0|
-font-daewoo-misc-X11R7.0-1.0.0|
-font-dec-misc-X11R7.0-1.0.0|
-font-ibm-type1-X11R7.0-1.0.0|
-font-isas-misc-X11R7.0-1.0.0|
-font-jis-misc-X11R7.0-1.0.0|
-font-micro-misc-X11R7.0-1.0.0|
-font-misc-cyrillic-X11R7.0-1.0.0|
-font-bh-75dpi-X11R7.0-1.0.0|
-font-alias-X11R7.0-1.0.1|
+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_BASE_NAME:=@BASE_NAME@
-PKG_NAME:=@NAME@
-PKG_RELEASE:=1
-PKG_VERSION:=@VER@
-
-_DEPEND:=@DEP@
-
-include ../common.mk
-
-ifeq ("$(PKG_NAME)","font-util-X11R7.1")
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/
-endef
-endif
-
-$(eval $(call BuildPackage,$(PKG_NAME)))
+++ /dev/null
-#!/bin/sh
-for d in `find . -name packages`; do
- cd `dirname $d`
- echo "Entering "`dirname $d`
- for p in `cat packages`; do
- _NAME=${p%%|*}
- NAME=${_NAME%-*}
- BASE_NAME=${NAME%%-*}
- _VER=${_NAME##*-}
- VER=${_VER%%|*}
- DEP=`echo ${p##*|} | sed "s/+/ +/g"`
- echo generating Makefile for ${NAME}-${VER} with deps : ${DEP}
- rm -rf ${NAME}
- if [ "$1" == "gen" ]; then
- mkdir ${NAME}
- sed "s/@VER@/${VER}/g" template.mk | sed "s/@DEP@/${DEP}/g" | sed "s/@NAME@/${NAME}/g" | sed "s/@BASE_NAME@/${BASE_NAME}/g" > ${NAME}/Makefile
- if [ -d `pwd`/patches/${NAME} ]; then
- mkdir ${NAME}/patches
- cp -r `pwd`/patches/${NAME}/* ${NAME}/patches/
- fi
- fi
- done
- cd - > /dev/null
-done
+++ /dev/null
-#
-# Copyright (C) 2007 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-# blogic@openwrt.org
-
-include $(TOPDIR)/rules.mk
-
-PKG_RELEASE:=1
-PKG_VERSION:=7.1
-PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/headers/xorg-headers-native-$(PKG_VERSION)/
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/xorg-headers-native
- SECTION:=xorg-headers
- CATEGORY:=Xorg
- SUBMENU:=headers
- TITLE:=xorg-headers-native
- URL:=http://xorg.freedesktop.org/
-endef
-
-define Build/Prepare
- mkdir -p $(PKG_BUILD_DIR)
- $(CP) ./src/* $(PKG_BUILD_DIR)/
- find $(PKG_BUILD_DIR)/ -name .svn | xargs rm -rf
-endef
-
-define Build/Compile
- true
-endef
-
-define Build/InstallDev
- cp -r $(PKG_BUILD_DIR)/* $(STAGING_DIR)/include/
-endef
-
-$(eval $(call BuildPackage,xorg-headers-native))
-
+++ /dev/null
-/* $Xorg: CallbackI.h,v 1.4 2001/02/09 02:03:54 xorgcvs Exp $ */
-/***********************************************************
-
-Copyright 1987, 1988, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-/* $XFree86$ */
-
-/****************************************************************
- *
- * Callbacks
- *
- ****************************************************************/
-
-typedef XrmResource **CallbackTable;
-
-#define _XtCBCalling 1
-#define _XtCBFreeAfterCalling 2
-
-typedef struct internalCallbackRec {
- unsigned short count;
- char is_padded; /* contains NULL padding for external form */
- char call_state; /* combination of _XtCB{FreeAfter}Calling */
-#ifdef LONG64
- unsigned int align_pad; /* padding to align callback list */
-#endif
- /* XtCallbackList */
-} InternalCallbackRec, *InternalCallbackList;
-
-typedef Boolean (*_XtConditionProc)(
- XtPointer /* data */
-);
-
-extern void _XtAddCallback(
- InternalCallbackList* /* callbacks */,
- XtCallbackProc /* callback */,
- XtPointer /* closure */
-);
-
-extern void _XtAddCallbackOnce(
- InternalCallbackList* /* callbacks */,
- XtCallbackProc /* callback */,
- XtPointer /* closure */
-);
-
-extern InternalCallbackList _XtCompileCallbackList(
- XtCallbackList /* xtcallbacks */
-);
-
-extern XtCallbackList _XtGetCallbackList(
- InternalCallbackList* /* callbacks */
-);
-
-extern void _XtRemoveAllCallbacks(
- InternalCallbackList* /* callbacks */
-);
-
-extern void _XtRemoveCallback(
- InternalCallbackList* /* callbacks */,
- XtCallbackProc /* callback */,
- XtPointer /* closure */
-);
-
-extern void _XtPeekCallback(
- Widget /* widget */,
- XtCallbackList /* callbacks */,
- XtCallbackProc * /* callback */,
- XtPointer * /* closure */
-);
-
-extern void _XtCallConditionalCallbackList(
- Widget /* widget */,
- XtCallbackList /* callbacks */,
- XtPointer /* call_data */,
- _XtConditionProc /* cond_proc */
-);
+++ /dev/null
-/* $Xorg: Composite.h,v 1.4 2001/02/09 02:03:54 xorgcvs Exp $ */
-
-/***********************************************************
-
-Copyright 1987, 1988, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-/* $XFree86$ */
-
-#ifndef _XtComposite_h
-#define _XtComposite_h
-
-typedef struct _CompositeClassRec *CompositeWidgetClass;
-
-typedef Cardinal (*XtOrderProc)(
- Widget /* child */
-);
-
-_XFUNCPROTOBEGIN
-
-extern void XtManageChildren(
- WidgetList /* children */,
- Cardinal /* num_children */
-);
-
-extern void XtManageChild(
- Widget /* child */
-);
-
-extern void XtUnmanageChildren(
- WidgetList /* children */,
- Cardinal /* num_children */
-);
-
-extern void XtUnmanageChild(
- Widget /* child */
-);
-
-typedef void (*XtDoChangeProc)(
- Widget /* composite_parent */,
- WidgetList /* unmanage_children */,
- Cardinal * /* num_unmanage_children */,
- WidgetList /* manage_children */,
- Cardinal * /* num_manage_children */,
- XtPointer /* client_data */
-);
-
-extern void XtChangeManagedSet(
- WidgetList /* unmanage_children */,
- Cardinal /* num_unmanage_children */,
- XtDoChangeProc /* do_change_proc */,
- XtPointer /* client_data */,
- WidgetList /* manage_children */,
- Cardinal /* num_manage_children */
-);
-
-_XFUNCPROTOEND
-
-#ifndef XT_COMPOSITE
-externalref WidgetClass compositeWidgetClass;
-#endif
-
-#endif /* _XtComposite_h */
-/* DON'T ADD STUFF AFTER THIS #endif */
+++ /dev/null
-/* $Xorg: CompositeP.h,v 1.4 2001/02/09 02:03:54 xorgcvs Exp $ */
-
-/***********************************************************
-
-Copyright 1987, 1988, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-#ifndef _XtCompositeP_h
-#define _XtCompositeP_h
-
-#include <X11/Composite.h>
-
-/************************************************************************
- *
- * Additional instance fields for widgets of (sub)class 'Composite'
- *
- ************************************************************************/
-
-typedef struct _CompositePart {
- WidgetList children; /* array of ALL widget children */
- Cardinal num_children; /* total number of widget children */
- Cardinal num_slots; /* number of slots in children array */
- XtOrderProc insert_position; /* compute position of new child */
-} CompositePart,*CompositePtr;
-
-typedef struct _CompositeRec {
- CorePart core;
- CompositePart composite;
-} CompositeRec;
-
-/*********************************************************************
- *
- * Additional class fields for widgets of (sub)class 'Composite'
- *
- ********************************************************************/
-
-typedef struct _CompositeClassPart {
- XtGeometryHandler geometry_manager; /* geometry manager for children */
- XtWidgetProc change_managed; /* change managed state of child */
- XtWidgetProc insert_child; /* physically add child to parent */
- XtWidgetProc delete_child; /* physically remove child */
- XtPointer extension; /* pointer to extension record */
-} CompositeClassPart,*CompositePartPtr;
-
-typedef struct {
- XtPointer next_extension; /* 1st 4 mandated for all extension records */
- XrmQuark record_type; /* NULLQUARK; on CompositeClassPart */
- long version; /* must be XtCompositeExtensionVersion */
- Cardinal record_size; /* sizeof(CompositeClassExtensionRec) */
- Boolean accepts_objects;
- Boolean allows_change_managed_set;
-} CompositeClassExtensionRec, *CompositeClassExtension;
-
-
-typedef struct _CompositeClassRec {
- CoreClassPart core_class;
- CompositeClassPart composite_class;
-} CompositeClassRec;
-
-externalref CompositeClassRec compositeClassRec;
-
-#define XtCompositeExtensionVersion 2L
-#define XtInheritGeometryManager ((XtGeometryHandler) _XtInherit)
-#define XtInheritChangeManaged ((XtWidgetProc) _XtInherit)
-#define XtInheritInsertChild ((XtWidgetProc) _XtInherit)
-#define XtInheritDeleteChild ((XtWidgetProc) _XtInherit)
-
-#endif /* _XtCompositeP_h */
-/* DON'T ADD STUFF AFTER THIS #endif */
+++ /dev/null
-/* $Xorg: ConstrainP.h,v 1.4 2001/02/09 02:03:54 xorgcvs Exp $ */
-/* $oHeader: ConstrainP.h,v 1.2 88/08/18 15:54:15 asente Exp $ */
-/***********************************************************
-
-Copyright 1987, 1988, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-#ifndef _XtConstraintP_h
-#define _XtConstraintP_h
-
-#include <X11/Constraint.h>
-
-typedef struct _ConstraintPart {
- XtPointer mumble; /* No new fields, keep C compiler happy */
-} ConstraintPart;
-
-typedef struct _ConstraintRec {
- CorePart core;
- CompositePart composite;
- ConstraintPart constraint;
-} ConstraintRec, *ConstraintWidget;
-
-typedef struct _ConstraintClassPart {
- XtResourceList resources; /* constraint resource list */
- Cardinal num_resources; /* number of constraints in list */
- Cardinal constraint_size; /* size of constraint record */
- XtInitProc initialize; /* constraint initialization */
- XtWidgetProc destroy; /* constraint destroy proc */
- XtSetValuesFunc set_values; /* constraint set_values proc */
- XtPointer extension; /* pointer to extension record */
-} ConstraintClassPart;
-
-typedef struct {
- XtPointer next_extension; /* 1st 4 mandated for all extension records */
- XrmQuark record_type; /* NULLQUARK; on ConstraintClassPart */
- long version; /* must be XtConstraintExtensionVersion */
- Cardinal record_size; /* sizeof(ConstraintClassExtensionRec) */
- XtArgsProc get_values_hook;
-} ConstraintClassExtensionRec, *ConstraintClassExtension;
-
-typedef struct _ConstraintClassRec {
- CoreClassPart core_class;
- CompositeClassPart composite_class;
- ConstraintClassPart constraint_class;
-} ConstraintClassRec;
-
-externalref ConstraintClassRec constraintClassRec;
-
-#define XtConstraintExtensionVersion 1L
-
-#endif /* _XtConstraintP_h */
-/* DON'T ADD STUFF AFTER THIS #endif */
+++ /dev/null
-/* $Xorg: Constraint.h,v 1.4 2001/02/09 02:03:54 xorgcvs Exp $ */
-/* $oHeader: Constraint.h,v 1.2 88/08/18 15:54:18 asente Exp $ */
-/***********************************************************
-
-Copyright 1987, 1988, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-#ifndef _XtConstraint_h
-#define _XtConstraint_h
-
-typedef struct _ConstraintClassRec *ConstraintWidgetClass;
-
-#ifndef CONSTRAINT
-externalref WidgetClass constraintWidgetClass;
-#endif
-
-#endif /* _XtConstraint_h */
-/* DON'T ADD STUFF AFTER THIS #endif */
+++ /dev/null
-/* $Xorg: ConvertI.h,v 1.4 2001/02/09 02:03:54 xorgcvs Exp $ */
-
-/***********************************************************
-
-Copyright 1987, 1988, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-/* $XFree86: xc/lib/Xt/ConvertI.h,v 1.3 2001/12/14 19:56:09 dawes Exp $ */
-
-/* Representation types */
-
-extern XrmQuark _XtQString;
-
-/*
- * Resource conversions
- */
-
-typedef struct _ConverterRec **ConverterTable;
-
-extern void _XtAddDefaultConverters(
- ConverterTable /* table */
-);
-
-extern void _XtSetDefaultConverterTable(
- ConverterTable* /* table */
-);
-
-extern void _XtFreeConverterTable(
- ConverterTable /* table */
-);
-
-extern void _XtTableAddConverter(
- ConverterTable /* table */,
- XrmRepresentation /* from_type */,
- XrmRepresentation /* to_type */,
- XtTypeConverter /* converter */,
- XtConvertArgList /* convert_args */,
- Cardinal /* num_args */,
- _XtBoolean /* new_style */,
- XtCacheType /* cache_type */,
- XtDestructor /* destructor */,
- _XtBoolean /* global */
-);
-
-extern Boolean _XtConvert(
- Widget /* widget */,
- XrmRepresentation /* from_type */,
- XrmValuePtr /* from */,
- XrmRepresentation /* to_type */,
- XrmValuePtr /* to */,
- XtCacheRef* /* cache_ref_return */
-);
-
-void _XtConvertInitialize(void);
-
+++ /dev/null
-/*
-* $Xorg: Core.h,v 1.4 2001/02/09 02:03:54 xorgcvs Exp $
-* $oHeader: Core.h,v 1.2 88/08/18 15:54:32 asente Exp $
-*/
-
-/***********************************************************
-
-Copyright 1987, 1988, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-#ifndef _XtCore_h
-#define _XtCore_h
-
-typedef struct _WidgetClassRec *CoreWidgetClass;
-typedef struct _WidgetRec *CoreWidget;
-externalref WidgetClass coreWidgetClass;
-
-#ifndef _XT_CORE_C
-externalref WidgetClass widgetClass;
-
-#endif
-
-#endif /* _XtCore_h */
-/* DON'T ADD STUFF AFTER THIS #endif */
+++ /dev/null
-/*
-* $Xorg: CoreP.h,v 1.4 2001/02/09 02:03:54 xorgcvs Exp $
-* $oHeader: CoreP.h,v 1.2 88/08/18 15:54:37 asente Exp $
-*/
-
-/***********************************************************
-
-Copyright 1987, 1988, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-#ifndef XtCoreP_h
-#define XtCoreP_h
-
-#include <X11/Core.h>
-
-externalref int _XtInheritTranslations;
-
-#define XtInheritTranslations ((String) &_XtInheritTranslations)
-#define XtInheritRealize ((XtRealizeProc) _XtInherit)
-#define XtInheritResize ((XtWidgetProc) _XtInherit)
-#define XtInheritExpose ((XtExposeProc) _XtInherit)
-#define XtInheritSetValuesAlmost ((XtAlmostProc) _XtInherit)
-#define XtInheritAcceptFocus ((XtAcceptFocusProc) _XtInherit)
-#define XtInheritQueryGeometry ((XtGeometryHandler) _XtInherit)
-#define XtInheritDisplayAccelerator ((XtStringProc) _XtInherit)
-
-/***************************************************************
- * Widget Core Data Structures
- *
- *
- **************************************************************/
-
-typedef struct _CorePart {
- Widget self; /* pointer to widget itself */
- WidgetClass widget_class; /* pointer to Widget's ClassRec */
- Widget parent; /* parent widget */
- XrmName xrm_name; /* widget resource name quarkified */
- Boolean being_destroyed; /* marked for destroy */
- XtCallbackList destroy_callbacks; /* who to call when widget destroyed */
- XtPointer constraints; /* constraint record */
- Position x, y; /* window position */
- Dimension width, height; /* window dimensions */
- Dimension border_width; /* window border width */
- Boolean managed; /* is widget geometry managed? */
- Boolean sensitive; /* is widget sensitive to user events*/
- Boolean ancestor_sensitive; /* are all ancestors sensitive? */
- XtEventTable event_table; /* private to event dispatcher */
- XtTMRec tm; /* translation management */
- XtTranslations accelerators; /* accelerator translations */
- Pixel border_pixel; /* window border pixel */
- Pixmap border_pixmap; /* window border pixmap or NULL */
- WidgetList popup_list; /* list of popups */
- Cardinal num_popups; /* how many popups */
- String name; /* widget resource name */
- Screen *screen; /* window's screen */
- Colormap colormap; /* colormap */
- Window window; /* window ID */
- Cardinal depth; /* number of planes in window */
- Pixel background_pixel; /* window background pixel */
- Pixmap background_pixmap; /* window background pixmap or NULL */
- Boolean visible; /* is window mapped and not occluded?*/
- Boolean mapped_when_managed;/* map window if it's managed? */
-} CorePart;
-
-typedef struct _WidgetRec {
- CorePart core;
- } WidgetRec, CoreRec;
-
-
-
-/******************************************************************
- *
- * Core Class Structure. Widgets, regardless of their class, will have
- * these fields. All widgets of a given class will have the same values
- * for these fields. Widgets of a given class may also have additional
- * common fields. These additional fields are included in incremental
- * class structures, such as CommandClass.
- *
- * The fields that are specific to this subclass, as opposed to fields that
- * are part of the superclass, are called "subclass fields" below. Many
- * procedures are responsible only for the subclass fields, and not for
- * any superclass fields.
- *
- ********************************************************************/
-
-typedef struct _CoreClassPart {
- WidgetClass superclass; /* pointer to superclass ClassRec */
- String class_name; /* widget resource class name */
- Cardinal widget_size; /* size in bytes of widget record */
- XtProc class_initialize; /* class initialization proc */
- XtWidgetClassProc class_part_initialize; /* dynamic initialization */
- XtEnum class_inited; /* has class been initialized? */
- XtInitProc initialize; /* initialize subclass fields */
- XtArgsProc initialize_hook; /* notify that initialize called */
- XtRealizeProc realize; /* XCreateWindow for widget */
- XtActionList actions; /* widget semantics name to proc map */
- Cardinal num_actions; /* number of entries in actions */
- XtResourceList resources; /* resources for subclass fields */
- Cardinal num_resources; /* number of entries in resources */
- XrmClass xrm_class; /* resource class quarkified */
- Boolean compress_motion; /* compress MotionNotify for widget */
- XtEnum compress_exposure; /* compress Expose events for widget*/
- Boolean compress_enterleave;/* compress enter and leave events */
- Boolean visible_interest; /* select for VisibilityNotify */
- XtWidgetProc destroy; /* free data for subclass pointers */
- XtWidgetProc resize; /* geom manager changed widget size */
- XtExposeProc expose; /* rediplay window */
- XtSetValuesFunc set_values; /* set subclass resource values */
- XtArgsFunc set_values_hook; /* notify that set_values called */
- XtAlmostProc set_values_almost; /* set_values got "Almost" geo reply */
- XtArgsProc get_values_hook; /* notify that get_values called */
- XtAcceptFocusProc accept_focus; /* assign input focus to widget */
- XtVersionType version; /* version of intrinsics used */
- XtPointer callback_private; /* list of callback offsets */
- String tm_table; /* state machine */
- XtGeometryHandler query_geometry; /* return preferred geometry */
- XtStringProc display_accelerator;/* display your accelerator */
- XtPointer extension; /* pointer to extension record */
- } CoreClassPart;
-
-typedef struct _WidgetClassRec {
- CoreClassPart core_class;
-} WidgetClassRec, CoreClassRec;
-
-externalref WidgetClassRec widgetClassRec;
-#define coreClassRec widgetClassRec
-
-#endif /* _XtCoreP_h */
-/* DON'T ADD STUFF AFTER THIS #endif */
+++ /dev/null
-/* $XFree86$ */
-
-#ifndef _XtcreateI_h
-#define _XtcreateI_h
-
-extern Widget _XtCreateWidget(String name, WidgetClass widget_class,
- Widget parent, ArgList args, Cardinal num_args,
- XtTypedArgList typed_args,
- Cardinal num_typed_args);
-extern Widget _XtCreatePopupShell(String name, WidgetClass widget_class,
- Widget parent, ArgList args,
- Cardinal num_args, XtTypedArgList typed_args,
- Cardinal num_typed_args);
-extern Widget _XtAppCreateShell(String name, String class,
- WidgetClass widget_class, Display *display,
- ArgList args, Cardinal num_args,
- XtTypedArgList typed_args,
- Cardinal num_typed_args);
-extern Widget _XtCreateHookObj(Screen *screen);
-
-
-#include <stdarg.h>
-
-/* VarCreate.c */
-extern Widget _XtVaOpenApplication(XtAppContext *app_context_return,
- _Xconst char* application_class,
- XrmOptionDescList options, Cardinal num_options,
- int *argc_in_out, String *argv_in_out,
- String *fallback_resources, WidgetClass widget_class,
- va_list var_args);
-extern Widget _XtVaAppInitialize(XtAppContext *app_context_return,
- _Xconst char* application_class,
- XrmOptionDescList options, Cardinal num_options,
- int *argc_in_out, String *argv_in_out,
- String *fallback_resources, va_list var_args);
-
-#endif /* _XtcreateI_h */
+++ /dev/null
-/* $Xorg: DECkeysym.h,v 1.4 2001/02/09 02:03:22 xorgcvs Exp $ */
-
-/***********************************************************
-
-Copyright 1988, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-/*
- * DEC private keysyms
- * (29th bit set)
- */
-
-/* two-key compose sequence initiators, chosen to map to Latin1 characters */
-
-#define DXK_ring_accent 0x1000FEB0
-#define DXK_circumflex_accent 0x1000FE5E
-#define DXK_cedilla_accent 0x1000FE2C
-#define DXK_acute_accent 0x1000FE27
-#define DXK_grave_accent 0x1000FE60
-#define DXK_tilde 0x1000FE7E
-#define DXK_diaeresis 0x1000FE22
-
-/* special keysym for LK2** "Remove" key on editing keypad */
-
-#define DXK_Remove 0x1000FF00 /* Remove */
+++ /dev/null
-/* $Xorg: EventI.h,v 1.4 2001/02/09 02:03:54 xorgcvs Exp $ */
-/* $oHeader: EventI.h,v 1.3 88/08/24 09:21:11 asente Exp $ */
-
-/***********************************************************
-
-Copyright 1987, 1988, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-/* $XFree86: xc/lib/Xt/EventI.h,v 1.3 2001/12/14 19:56:12 dawes Exp $ */
-
-/*
- * Event.h - exported types and functions for toolkit event handler
- *
- * Author: Charles Haynes
- * Digital Equipment Corporation
- * Western Software Laboratory
- * Date: Sun Dec 6 1987
- */
-
-#ifndef _Event_h_
-#define _Event_h_
-
-typedef struct _XtGrabRec *XtGrabList;
-
-#include "PassivGraI.h"
-
-extern void _XtEventInitialize(
- void
-);
-
-typedef struct _XtEventRec {
- XtEventTable next;
- EventMask mask; /* also select_data count for RecExt */
- XtEventHandler proc;
- XtPointer closure;
- unsigned int select:1;
- unsigned int has_type_specifier:1;
- unsigned int async:1; /* not used, here for Digital extension? */
-} XtEventRec;
-
-typedef struct _XtGrabRec {
- XtGrabList next;
- Widget widget;
- unsigned int exclusive:1;
- unsigned int spring_loaded:1;
-}XtGrabRec;
-
-typedef struct _BlockHookRec {
- struct _BlockHookRec* next;
- XtAppContext app;
- XtBlockHookProc proc;
- XtPointer closure;
-} BlockHookRec, *BlockHook;
-
-extern void _XtFreeEventTable(
- XtEventTable* /* event_table */
-);
-
-extern Boolean _XtOnGrabList(
- Widget /* widget */,
- XtGrabRec* /* grabList */
-);
-
-extern void _XtRemoveAllInputs(
- XtAppContext /* app */
-);
-
-extern void _XtRefreshMapping(
- XEvent* /* event */,
- _XtBoolean /* dispatch */
-);
-
-extern void _XtSendFocusEvent(
- Widget /* child */,
- int /* type */);
-
-extern EventMask _XtConvertTypeToMask(
- int /* eventType */
-);
-
-/* EventUtil.c */
-extern Widget _XtFindRemapWidget(XEvent *event, Widget widget,
- EventMask mask, XtPerDisplayInput pdi);
-extern void _XtUngrabBadGrabs(XEvent *event, Widget widget,
- EventMask mask, XtPerDisplayInput pdi);
-extern void _XtFillAncestorList(Widget **listPtr, int *maxElemsPtr,
- int *numElemsPtr, Widget start,
- Widget breakWidget);
-
-/* NextEvent.c */
-extern Boolean XtAppPeekEvent_SkipTimer;
-
-#endif /* _Event_h_ */
+++ /dev/null
-/* $Xorg: HPkeysym.h,v 1.5 2001/02/09 02:03:22 xorgcvs Exp $ */
-/*
-
-Copyright 1987, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
-OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall
-not be used in advertising or otherwise to promote the sale, use or
-other dealings in this Software without prior written authorization
-from The Open Group.
-
-Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the names of Hewlett Packard
-or Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-HEWLETT-PACKARD MAKES NO WARRANTY OF ANY KIND WITH REGARD
-TO THIS SOFWARE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. Hewlett-Packard shall not be liable for errors
-contained herein or direct, indirect, special, incidental or
-consequential damages in connection with the furnishing,
-performance, or use of this material.
-
-*/
-
-#ifndef _HPKEYSYM_H
-
-#define _HPKEYSYM
-
-#define hpXK_ClearLine 0x1000FF6F
-#define hpXK_InsertLine 0x1000FF70
-#define hpXK_DeleteLine 0x1000FF71
-#define hpXK_InsertChar 0x1000FF72
-#define hpXK_DeleteChar 0x1000FF73
-#define hpXK_BackTab 0x1000FF74
-#define hpXK_KP_BackTab 0x1000FF75
-#define hpXK_Modelock1 0x1000FF48
-#define hpXK_Modelock2 0x1000FF49
-#define hpXK_Reset 0x1000FF6C
-#define hpXK_System 0x1000FF6D
-#define hpXK_User 0x1000FF6E
-#define hpXK_mute_acute 0x100000A8
-#define hpXK_mute_grave 0x100000A9
-#define hpXK_mute_asciicircum 0x100000AA
-#define hpXK_mute_diaeresis 0x100000AB
-#define hpXK_mute_asciitilde 0x100000AC
-#define hpXK_lira 0x100000AF
-#define hpXK_guilder 0x100000BE
-#define hpXK_Ydiaeresis 0x100000EE
-#define hpXK_IO 0x100000EE
-#define hpXK_longminus 0x100000F6
-#define hpXK_block 0x100000FC
-
-
-#ifndef _OSF_Keysyms
-#define _OSF_Keysyms
-
-#define osfXK_Copy 0x1004FF02
-#define osfXK_Cut 0x1004FF03
-#define osfXK_Paste 0x1004FF04
-#define osfXK_BackTab 0x1004FF07
-#define osfXK_BackSpace 0x1004FF08
-#define osfXK_Clear 0x1004FF0B
-#define osfXK_Escape 0x1004FF1B
-#define osfXK_AddMode 0x1004FF31
-#define osfXK_PrimaryPaste 0x1004FF32
-#define osfXK_QuickPaste 0x1004FF33
-#define osfXK_PageLeft 0x1004FF40
-#define osfXK_PageUp 0x1004FF41
-#define osfXK_PageDown 0x1004FF42
-#define osfXK_PageRight 0x1004FF43
-#define osfXK_Activate 0x1004FF44
-#define osfXK_MenuBar 0x1004FF45
-#define osfXK_Left 0x1004FF51
-#define osfXK_Up 0x1004FF52
-#define osfXK_Right 0x1004FF53
-#define osfXK_Down 0x1004FF54
-#define osfXK_EndLine 0x1004FF57
-#define osfXK_BeginLine 0x1004FF58
-#define osfXK_EndData 0x1004FF59
-#define osfXK_BeginData 0x1004FF5A
-#define osfXK_PrevMenu 0x1004FF5B
-#define osfXK_NextMenu 0x1004FF5C
-#define osfXK_PrevField 0x1004FF5D
-#define osfXK_NextField 0x1004FF5E
-#define osfXK_Select 0x1004FF60
-#define osfXK_Insert 0x1004FF63
-#define osfXK_Undo 0x1004FF65
-#define osfXK_Menu 0x1004FF67
-#define osfXK_Cancel 0x1004FF69
-#define osfXK_Help 0x1004FF6A
-#define osfXK_SelectAll 0x1004FF71
-#define osfXK_DeselectAll 0x1004FF72
-#define osfXK_Reselect 0x1004FF73
-#define osfXK_Extend 0x1004FF74
-#define osfXK_Restore 0x1004FF78
-#define osfXK_Delete 0x1004FFFF
-
-#endif /* _OSF_Keysyms */
-
-
-/**************************************************************
- * The use of the following macros is deprecated.
- * They are listed below only for backwards compatibility.
- */
-#define XK_Reset 0x1000FF6C
-#define XK_System 0x1000FF6D
-#define XK_User 0x1000FF6E
-#define XK_ClearLine 0x1000FF6F
-#define XK_InsertLine 0x1000FF70
-#define XK_DeleteLine 0x1000FF71
-#define XK_InsertChar 0x1000FF72
-#define XK_DeleteChar 0x1000FF73
-#define XK_BackTab 0x1000FF74
-#define XK_KP_BackTab 0x1000FF75
-#define XK_Ext16bit_L 0x1000FF76
-#define XK_Ext16bit_R 0x1000FF77
-#define XK_mute_acute 0x100000a8
-#define XK_mute_grave 0x100000a9
-#define XK_mute_asciicircum 0x100000aa
-#define XK_mute_diaeresis 0x100000ab
-#define XK_mute_asciitilde 0x100000ac
-#define XK_lira 0x100000af
-#define XK_guilder 0x100000be
-#ifndef XK_Ydiaeresis
-#define XK_Ydiaeresis 0x100000ee
-#endif
-#define XK_IO 0x100000ee
-#define XK_longminus 0x100000f6
-#define XK_block 0x100000fc
-
-#endif /* _HPKEYSYM_H */
+++ /dev/null
-/* $Xorg: HookObjI.h,v 1.4 2001/02/09 02:03:55 xorgcvs Exp $ */
-
-/*
-
-Copyright 1994, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-*/
-
-#ifndef _XtHookObjI_h
-#define _XtHookObjI_h
-
-/* This object is implementation-dependent and private to the library. */
-
-typedef struct _HookObjRec *HookObject;
-typedef struct _HookObjClassRec *HookObjectClass;
-
-externalref WidgetClass hookObjectClass;
-
-typedef struct _HookObjPart {
- /* resources */
- XtCallbackList createhook_callbacks;
- XtCallbackList changehook_callbacks;
- XtCallbackList confighook_callbacks;
- XtCallbackList geometryhook_callbacks;
- XtCallbackList destroyhook_callbacks;
- WidgetList shells;
- Cardinal num_shells;
- /* private data */
- Cardinal max_shells;
- Screen* screen;
-}HookObjPart;
-
-typedef struct _HookObjRec {
- ObjectPart object;
- HookObjPart hooks;
-} HookObjRec;
-
-typedef struct _HookObjClassPart {
- int unused;
-} HookObjClassPart;
-
-typedef struct _HookObjClassRec {
- ObjectClassPart object_class;
- HookObjClassPart hook_class;
-} HookObjClassRec;
-
-externalref HookObjClassRec hookObjClassRec;
-
-#endif /* ifndef _Xt_HookObjI_h */
-
-
+++ /dev/null
-/* $XFree86: xc/lib/X11/ImUtil.h,v 1.2 2003/04/15 22:10:07 herrb Exp $ */
-
-#ifndef _IMUTIL_H_
-#define _IMUTIL_H_
-
-extern int
-_XGetScanlinePad(
- Display *dpy,
- int depth);
-
-extern int
-_XGetBitsPerPixel(
- Display *dpy,
- int depth);
-
-extern int
-_XSetImage(
- XImage *srcimg,
- register XImage *dstimg,
- register int x,
- register int y);
-
-extern int
-_XReverse_Bytes(
- register unsigned char *bpt,
- register int nb);
-extern void
-_XInitImageFuncPtrs(
- register XImage *image);
-
-#endif /* _IMUTIL_H_ */
+++ /dev/null
-/* $Xorg: InitialI.h,v 1.4 2001/02/09 02:03:55 xorgcvs Exp $ */
-
-/***********************************************************
-
-Copyright 1987, 1988, 1994, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-/* $XFree86: xc/lib/Xt/InitialI.h,v 3.10 2001/12/14 19:56:18 dawes Exp $ */
-
-#ifndef _XtinitialI_h
-#define _XtinitialI_h
-
-/****************************************************************
- *
- * Displays
- *
- ****************************************************************/
-
-#ifndef X_NOT_POSIX
-#ifdef _POSIX_SOURCE
-#include <limits.h>
-#else
-#define _POSIX_SOURCE
-#include <limits.h>
-#undef _POSIX_SOURCE
-#endif
-#endif
-#ifndef PATH_MAX
-#ifdef WIN32
-#define PATH_MAX 512
-#else
-#include <sys/param.h>
-#endif
-#ifndef PATH_MAX
-#ifdef MAXPATHLEN
-#define PATH_MAX MAXPATHLEN
-#else
-#define PATH_MAX 1024
-#endif
-#endif
-#endif
-
-#include <X11/Xos.h>
-#include <X11/Xpoll.h>
-
-typedef struct _TimerEventRec {
- struct timeval te_timer_value;
- struct _TimerEventRec *te_next;
- XtTimerCallbackProc te_proc;
- XtAppContext app;
- XtPointer te_closure;
-} TimerEventRec;
-
-typedef struct _InputEvent {
- XtInputCallbackProc ie_proc;
- XtPointer ie_closure;
- struct _InputEvent *ie_next;
- struct _InputEvent *ie_oq;
- XtAppContext app;
- int ie_source;
- XtInputMask ie_condition;
-} InputEvent;
-
-typedef struct _SignalEventRec {
- XtSignalCallbackProc se_proc;
- XtPointer se_closure;
- struct _SignalEventRec *se_next;
- XtAppContext app;
- Boolean se_notice;
-} SignalEventRec;
-
-typedef struct _WorkProcRec {
- XtWorkProc proc;
- XtPointer closure;
- struct _WorkProcRec *next;
- XtAppContext app;
-} WorkProcRec;
-
-
-typedef struct
-{
-#ifndef USE_POLL
- fd_set rmask;
- fd_set wmask;
- fd_set emask;
-#endif
- int nfds;
-} FdStruct;
-
-typedef struct _LangProcRec {
- XtLanguageProc proc;
- XtPointer closure;
-} LangProcRec;
-
-typedef struct _ProcessContextRec {
- XtAppContext defaultAppContext;
- XtAppContext appContextList;
- ConverterTable globalConverterTable;
- LangProcRec globalLangProcRec;
-} ProcessContextRec, *ProcessContext;
-
-typedef struct {
- char* start;
- char* current;
- int bytes_remaining;
-} Heap;
-
-typedef struct _DestroyRec DestroyRec;
-
-
-typedef struct _XtAppStruct {
- XtAppContext next; /* link to next app in process context */
- ProcessContext process; /* back pointer to our process context */
- InternalCallbackList destroy_callbacks;
- Display **list;
- TimerEventRec *timerQueue;
- WorkProcRec *workQueue;
- InputEvent **input_list;
- InputEvent *outstandingQueue;
- SignalEventRec *signalQueue;
- XrmDatabase errorDB;
- XtErrorMsgHandler errorMsgHandler, warningMsgHandler;
- XtErrorHandler errorHandler, warningHandler;
- struct _ActionListRec *action_table;
- ConverterTable converterTable;
- unsigned long selectionTimeout;
- FdStruct fds;
- short count; /* num of assigned entries in list */
- short max; /* allocate size of list */
- short last;
- short input_count;
- short input_max; /* elts input_list init'd with */
- Boolean sync, being_destroyed, error_inited;
-#ifndef NO_IDENTIFY_WINDOWS
- Boolean identify_windows; /* debugging hack */
-#endif
- Heap heap;
- String * fallback_resources; /* Set by XtAppSetFallbackResources. */
- struct _ActionHookRec* action_hook_list;
- struct _BlockHookRec* block_hook_list;
- int destroy_list_size; /* state data for 2-phase destroy */
- int destroy_count;
- int dispatch_level;
- DestroyRec* destroy_list;
- Widget in_phase2_destroy;
- LangProcRec langProcRec;
- struct _TMBindCacheRec * free_bindings;
- String display_name_tried;
- Display **dpy_destroy_list;
- int dpy_destroy_count;
- Boolean exit_flag;
- Boolean rebuild_fdlist;
-#ifdef XTHREADS
- LockPtr lock_info;
- ThreadAppProc lock;
- ThreadAppProc unlock;
- ThreadAppYieldLockProc yield_lock;
- ThreadAppRestoreLockProc restore_lock;
- ThreadAppProc free_lock;
-#endif
-} XtAppStruct;
-
-extern void _XtHeapInit(Heap* heap);
-extern void _XtHeapFree(Heap* heap);
-
-#ifdef XTTRACEMEMORY
-
-
-extern char *_XtHeapMalloc(
- Heap* /* heap */,
- Cardinal /* size */,
- char * /* file */,
- int /* line */
-);
-
-#define _XtHeapAlloc(heap,bytes) _XtHeapMalloc(heap, bytes, __FILE__, __LINE__)
-
-#else /* XTTRACEMEMORY */
-
-extern char* _XtHeapAlloc(
- Heap* /* heap */,
- Cardinal /* size */
-);
-
-#endif /* XTTRACEMEMORY */
-
-extern void _XtSetDefaultErrorHandlers(
- XtErrorMsgHandler* /* errMsg */,
- XtErrorMsgHandler* /* warnMsg */,
- XtErrorHandler* /* err */,
- XtErrorHandler* /* warn */
-);
-
-extern void _XtSetDefaultSelectionTimeout(
- unsigned long* /* timeout */
-);
-
-extern XtAppContext _XtDefaultAppContext(
- void
-);
-
-extern ProcessContext _XtGetProcessContext(
- void
-);
-
-Display *
-_XtAppInit(
- XtAppContext* /* app_context_return */,
- String /* application_class */,
- XrmOptionDescRec* /* options */,
- Cardinal /* num_options */,
- int* /* argc_in_out */,
- String** /* argv_in_out */,
- String* /* fallback_resources */
-);
-
-extern void _XtDestroyAppContexts(
- void
-);
-
-extern void _XtCloseDisplays(
- XtAppContext /* app */
-);
-
-extern int _XtAppDestroyCount;
-
-extern int _XtWaitForSomething(
- XtAppContext /* app */,
- _XtBoolean /* ignoreEvents */,
- _XtBoolean /* ignoreTimers */,
- _XtBoolean /* ignoreInputs */,
- _XtBoolean /* ignoreSignals */,
- _XtBoolean /* block */,
-#ifdef XTHREADS
- _XtBoolean /* drop_lock */,
-#endif
- unsigned long* /* howlong */
-);
-
-typedef struct _CaseConverterRec *CaseConverterPtr;
-typedef struct _CaseConverterRec {
- KeySym start; /* first KeySym valid in converter */
- KeySym stop; /* last KeySym valid in converter */
- XtCaseProc proc; /* case converter function */
- CaseConverterPtr next; /* next converter record */
-} CaseConverterRec;
-
-typedef struct _ExtensionSelectorRec {
- XtExtensionSelectProc proc;
- int min, max;
- XtPointer client_data;
-} ExtSelectRec;
-
-typedef struct _XtPerDisplayStruct {
- InternalCallbackList destroy_callbacks;
- Region region;
- CaseConverterPtr case_cvt; /* user-registered case converters */
- XtKeyProc defaultKeycodeTranslator;
- XtAppContext appContext;
- unsigned long keysyms_serial; /* for tracking MappingNotify events */
- KeySym *keysyms; /* keycode to keysym table */
- int keysyms_per_keycode; /* number of keysyms for each keycode*/
- int min_keycode, max_keycode; /* range of keycodes */
- KeySym *modKeysyms; /* keysym values for modToKeysysm */
- ModToKeysymTable *modsToKeysyms; /* modifiers to Keysysms index table*/
- unsigned char isModifier[32]; /* key-is-modifier-p bit table */
- KeySym lock_meaning; /* Lock modifier meaning */
- Modifiers mode_switch; /* keyboard group modifiers */
- Modifiers num_lock; /* keyboard numlock modifiers */
- Boolean being_destroyed;
- Boolean rv; /* reverse_video resource */
- XrmName name; /* resolved app name */
- XrmClass class; /* application class */
- Heap heap;
- struct _GCrec *GClist; /* support for XtGetGC */
- Drawable **pixmap_tab; /* ditto for XtGetGC */
- String language; /* XPG language string */
- XEvent last_event; /* last event dispatched */
- Time last_timestamp; /* from last event dispatched */
- int multi_click_time; /* for XtSetMultiClickTime */
- struct _TMKeyContextRec* tm_context; /* for XtGetActionKeysym */
- InternalCallbackList mapping_callbacks; /* special case for TM */
- XtPerDisplayInputRec pdi; /* state for modal grabs & kbd focus */
- struct _WWTable *WWtable; /* window to widget table */
- XrmDatabase *per_screen_db; /* per screen resource databases */
- XrmDatabase cmd_db; /* db from command line, if needed */
- XrmDatabase server_db; /* resource property else .Xdefaults */
- XtEventDispatchProc* dispatcher_list;
- ExtSelectRec* ext_select_list;
- int ext_select_count;
- Widget hook_object;
-#ifndef X_NO_RESOURCE_CONFIGURATION_MANAGEMENT
- Atom rcm_init; /* ResConfig - initialize */
- Atom rcm_data; /* ResConfig - data atom */
-#endif
-} XtPerDisplayStruct, *XtPerDisplay;
-
-typedef struct _PerDisplayTable {
- Display *dpy;
- XtPerDisplayStruct perDpy;
- struct _PerDisplayTable *next;
-} PerDisplayTable, *PerDisplayTablePtr;
-
-extern PerDisplayTablePtr _XtperDisplayList;
-
-extern XtPerDisplay _XtSortPerDisplayList(
- Display* /* dpy */
-);
-
-extern XtPerDisplay _XtGetPerDisplay(
- Display* /* dpy */
-);
-
-extern XtPerDisplayInputRec* _XtGetPerDisplayInput(
- Display* /* dpy */
-);
-
-#if 0
-#ifdef DEBUG
-#define _XtGetPerDisplay(display) \
- ((_XtperDisplayList != NULL && (_XtperDisplayList->dpy == (display))) \
- ? &_XtperDisplayList->perDpy \
- : _XtSortPerDisplayList(display))
-#define _XtGetPerDisplayInput(display) \
- ((_XtperDisplayList != NULL && (_XtperDisplayList->dpy == (display))) \
- ? &_XtperDisplayList->perDpy.pdi \
- : &_XtSortPerDisplayList(display)->pdi)
-#else
-#define _XtGetPerDisplay(display) \
- ((_XtperDisplayList->dpy == (display)) \
- ? &_XtperDisplayList->perDpy \
- : _XtSortPerDisplayList(display))
-#define _XtGetPerDisplayInput(display) \
- ((_XtperDisplayList->dpy == (display)) \
- ? &_XtperDisplayList->perDpy.pdi \
- : &_XtSortPerDisplayList(display)->pdi)
-#endif /*DEBUG*/
-#endif
-
-extern void _XtDisplayInitialize(
- Display* /* dpy */,
- XtPerDisplay /* pd */,
- _Xconst char* /* name */,
- XrmOptionDescRec* /* urlist */,
- Cardinal /* num_urs */,
- int* /* argc */,
- char** /* argv */
-);
-
-extern void _XtCacheFlushTag(
- XtAppContext /* app */,
- XtPointer /* tag */
-);
-
-extern void _XtFreeActions(
- struct _ActionListRec* /* action_table */
-);
-
-extern void _XtDoPhase2Destroy(
- XtAppContext /* app */,
- int /* dispatch_level */
-);
-
-extern void _XtDoFreeBindings(
- XtAppContext /* app */
-);
-
-extern void _XtExtensionSelect(
- Widget /* widget */
-);
-
-#define _XtSafeToDestroy(app) ((app)->dispatch_level == 0)
-
-extern void _XtAllocWWTable(
- XtPerDisplay pd
-);
-
-extern void _XtFreeWWTable(
- XtPerDisplay pd
-);
-
-extern String _XtGetUserName(String dest, int len);
-extern XrmDatabase _XtPreparseCommandLine(XrmOptionDescRec *urlist,
- Cardinal num_urs, int argc, String *argv,
- String *applName, String *displayName,
- String *language);
-
-#endif /* _XtinitialI_h */
+++ /dev/null
-/* $Xorg: Intrinsic.h,v 1.4 2001/02/09 02:03:55 xorgcvs Exp $ */
-
-/***********************************************************
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-/*
-
-Copyright 1987, 1988, 1994, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-*/
-/* $XFree86: xc/lib/Xt/Intrinsic.h,v 3.8 2001/12/14 19:56:22 dawes Exp $ */
-
-#ifndef _XtIntrinsic_h
-#define _XtIntrinsic_h
-
-#include <X11/Xlib.h>
-#include <X11/Xutil.h>
-#include <X11/Xresource.h>
-#include <X11/Xfuncproto.h>
-#ifdef XT_BC
-#include <X11/Xos.h> /* for R4 compatibility */
-#else
-#include <X11/Xosdefs.h>
-#include <string.h> /* for XtNewString */
-#endif /* XT_BC else */
-
-#define XtSpecificationRelease 6
-
-typedef char *String;
-
-/* We do this in order to get "const" declarations to work right. We
- * use _XtString instead of String so that C++ applications can
- * #define String to something else if they choose, to avoid conflicts
- * with other C++ libraries.
- */
-#define _XtString char*
-
-/* _Xt names are private to Xt implementation, do not use in client code */
-#if NeedWidePrototypes
-#define _XtBoolean int
-#define _XtDimension unsigned int
-#define _XtKeyCode unsigned int
-#define _XtPosition int
-#define _XtXtEnum unsigned int
-#else
-#define _XtBoolean Boolean
-#define _XtDimension Dimension
-#define _XtKeyCode KeyCode
-#define _XtPosition Position
-#define _XtXtEnum XtEnum
-#endif /* NeedWidePrototypes */
-
-#include <stddef.h>
-
-#ifdef VMS
-#define externalref globalref
-#define externaldef(psect) globaldef {"psect"} noshare
-#else
-#define externalref extern
-#define externaldef(psect)
-#endif /* VMS */
-
-#ifndef FALSE
-#define FALSE 0
-#define TRUE 1
-#endif
-
-#define XtNumber(arr) ((Cardinal) (sizeof(arr) / sizeof(arr[0])))
-
-typedef struct _WidgetRec *Widget;
-typedef Widget *WidgetList;
-typedef struct _WidgetClassRec *WidgetClass;
-typedef struct _CompositeRec *CompositeWidget;
-typedef struct _XtActionsRec *XtActionList;
-typedef struct _XtEventRec *XtEventTable;
-
-typedef struct _XtAppStruct *XtAppContext;
-typedef unsigned long XtValueMask;
-typedef unsigned long XtIntervalId;
-typedef unsigned long XtInputId;
-typedef unsigned long XtWorkProcId;
-typedef unsigned long XtSignalId;
-typedef unsigned int XtGeometryMask;
-typedef unsigned long XtGCMask; /* Mask of values that are used by widget*/
-typedef unsigned long Pixel; /* Index into colormap */
-typedef int XtCacheType;
-#define XtCacheNone 0x001
-#define XtCacheAll 0x002
-#define XtCacheByDisplay 0x003
-#define XtCacheRefCount 0x100
-
-/****************************************************************
- *
- * System Dependent Definitions; see spec for specific range
- * requirements. Do not assume every implementation uses the
- * same base types!
- *
- *
- * XtArgVal ought to be a union of XtPointer, char *, long, int *, and proc *
- * but casting to union types is not really supported.
- *
- * So the typedef for XtArgVal should be chosen such that
- *
- * sizeof (XtArgVal) >= sizeof(XtPointer)
- * sizeof(char *)
- * sizeof(long)
- * sizeof(int *)
- * sizeof(proc *)
- *
- * ArgLists rely heavily on the above typedef.
- *
- ****************************************************************/
-#ifdef CRAY
-typedef long Boolean;
-typedef char* XtArgVal;
-typedef long XtEnum;
-#else
-typedef char Boolean;
-typedef long XtArgVal;
-typedef unsigned char XtEnum;
-#endif
-
-typedef unsigned int Cardinal;
-typedef unsigned short Dimension; /* Size in pixels */
-typedef short Position; /* Offset from 0 coordinate */
-
-typedef void* XtPointer;
-
-/* The type Opaque is NOT part of the Xt standard, do NOT use it. */
-/* (It remains here only for backward compatibility.) */
-typedef XtPointer Opaque;
-
-#include <X11/Core.h>
-#include <X11/Composite.h>
-#include <X11/Constraint.h>
-#include <X11/Object.h>
-#include <X11/RectObj.h>
-
-typedef struct _TranslationData *XtTranslations;
-typedef struct _TranslationData *XtAccelerators;
-typedef unsigned int Modifiers;
-
-typedef void (*XtActionProc)(
- Widget /* widget */,
- XEvent* /* event */,
- String* /* params */,
- Cardinal* /* num_params */
-);
-
-typedef XtActionProc* XtBoundActions;
-
-typedef struct _XtActionsRec{
- String string;
- XtActionProc proc;
-} XtActionsRec;
-
-typedef enum {
-/* address mode parameter representation */
-/* ------------ ------------------------ */
- XtAddress, /* address */
- XtBaseOffset, /* offset */
- XtImmediate, /* constant */
- XtResourceString, /* resource name string */
- XtResourceQuark, /* resource name quark */
- XtWidgetBaseOffset, /* offset from ancestor */
- XtProcedureArg /* procedure to invoke */
-} XtAddressMode;
-
-typedef struct {
- XtAddressMode address_mode;
- XtPointer address_id;
- Cardinal size;
-} XtConvertArgRec, *XtConvertArgList;
-
-typedef void (*XtConvertArgProc)(
- Widget /* widget */,
- Cardinal* /* size */,
- XrmValue* /* value */
-);
-
-typedef struct {
- XtGeometryMask request_mode;
- Position x, y;
- Dimension width, height, border_width;
- Widget sibling;
- int stack_mode; /* Above, Below, TopIf, BottomIf, Opposite, DontChange */
-} XtWidgetGeometry;
-
-/* Additions to Xlib geometry requests: ask what would happen, don't do it */
-#define XtCWQueryOnly (1 << 7)
-
-/* Additions to Xlib stack modes: don't change stack order */
-#define XtSMDontChange 5
-
-typedef void (*XtConverter)( /* obsolete */
- XrmValue* /* args */,
- Cardinal* /* num_args */,
- XrmValue* /* from */,
- XrmValue* /* to */
-);
-
-typedef Boolean (*XtTypeConverter)(
- Display* /* dpy */,
- XrmValue* /* args */,
- Cardinal* /* num_args */,
- XrmValue* /* from */,
- XrmValue* /* to */,
- XtPointer* /* converter_data */
-);
-
-typedef void (*XtDestructor)(
- XtAppContext /* app */,
- XrmValue* /* to */,
- XtPointer /* converter_data */,
- XrmValue* /* args */,
- Cardinal* /* num_args */
-);
-
-typedef Opaque XtCacheRef;
-
-typedef Opaque XtActionHookId;
-
-typedef void (*XtActionHookProc)(
- Widget /* w */,
- XtPointer /* client_data */,
- String /* action_name */,
- XEvent* /* event */,
- String* /* params */,
- Cardinal* /* num_params */
-);
-
-typedef unsigned long XtBlockHookId;
-
-typedef void (*XtBlockHookProc)(
- XtPointer /* client_data */
-);
-
-typedef void (*XtKeyProc)(
- Display* /* dpy */,
- _XtKeyCode /* keycode */,
- Modifiers /* modifiers */,
- Modifiers* /* modifiers_return */,
- KeySym* /* keysym_return */
-);
-
-typedef void (*XtCaseProc)(
- Display* /* display */,
- KeySym /* keysym */,
- KeySym* /* lower_return */,
- KeySym* /* upper_return */
-);
-
-typedef void (*XtEventHandler)(
- Widget /* widget */,
- XtPointer /* closure */,
- XEvent* /* event */,
- Boolean* /* continue_to_dispatch */
-);
-typedef unsigned long EventMask;
-
-typedef enum {XtListHead, XtListTail } XtListPosition;
-
-typedef unsigned long XtInputMask;
-#define XtInputNoneMask 0L
-#define XtInputReadMask (1L<<0)
-#define XtInputWriteMask (1L<<1)
-#define XtInputExceptMask (1L<<2)
-
-typedef void (*XtTimerCallbackProc)(
- XtPointer /* closure */,
- XtIntervalId* /* id */
-);
-
-typedef void (*XtInputCallbackProc)(
- XtPointer /* closure */,
- int* /* source */,
- XtInputId* /* id */
-);
-
-typedef void (*XtSignalCallbackProc)(
- XtPointer /* closure */,
- XtSignalId* /* id */
-);
-
-typedef struct {
- String name;
- XtArgVal value;
-} Arg, *ArgList;
-
-typedef XtPointer XtVarArgsList;
-
-typedef void (*XtCallbackProc)(
- Widget /* widget */,
- XtPointer /* closure */, /* data the application registered */
- XtPointer /* call_data */ /* callback specific data */
-);
-
-typedef struct _XtCallbackRec {
- XtCallbackProc callback;
- XtPointer closure;
-} XtCallbackRec, *XtCallbackList;
-
-typedef enum {
- XtCallbackNoList,
- XtCallbackHasNone,
- XtCallbackHasSome
-} XtCallbackStatus;
-
-typedef enum {
- XtGeometryYes, /* Request accepted. */
- XtGeometryNo, /* Request denied. */
- XtGeometryAlmost, /* Request denied, but willing to take replyBox. */
- XtGeometryDone /* Request accepted and done. */
-} XtGeometryResult;
-
-typedef enum {XtGrabNone, XtGrabNonexclusive, XtGrabExclusive} XtGrabKind;
-
-typedef struct {
- Widget shell_widget;
- Widget enable_widget;
-} XtPopdownIDRec, *XtPopdownID;
-
-typedef struct _XtResource {
- String resource_name; /* Resource name */
- String resource_class; /* Resource class */
- String resource_type; /* Representation type desired */
- Cardinal resource_size; /* Size in bytes of representation */
- Cardinal resource_offset;/* Offset from base to put resource value */
- String default_type; /* representation type of specified default */
- XtPointer default_addr; /* Address of default resource */
-} XtResource, *XtResourceList;
-
-typedef void (*XtResourceDefaultProc)(
- Widget /* widget */,
- int /* offset */,
- XrmValue* /* value */
-);
-
-typedef String (*XtLanguageProc)(
- Display* /* dpy */,
- String /* xnl */,
- XtPointer /* client_data */
-);
-
-typedef void (*XtErrorMsgHandler)(
- String /* name */,
- String /* type */,
- String /* class */,
- String /* default */,
- String* /* params */,
- Cardinal* /* num_params */
-);
-
-typedef void (*XtErrorHandler)(
- String /* msg */
-);
-
-typedef void (*XtCreatePopupChildProc)(
- Widget /* shell */
-);
-
-typedef Boolean (*XtWorkProc)(
- XtPointer /* closure */ /* data the application registered */
-);
-
-typedef struct {
- char match;
- String substitution;
-} SubstitutionRec, *Substitution;
-
-typedef Boolean (*XtFilePredicate)(
- String /* filename */
-);
-
-typedef XtPointer XtRequestId;
-
-typedef Boolean (*XtConvertSelectionProc)(
- Widget /* widget */,
- Atom* /* selection */,
- Atom* /* target */,
- Atom* /* type_return */,
- XtPointer* /* value_return */,
- unsigned long* /* length_return */,
- int* /* format_return */
-);
-
-typedef void (*XtLoseSelectionProc)(
- Widget /* widget */,
- Atom* /* selection */
-);
-
-typedef void (*XtSelectionDoneProc)(
- Widget /* widget */,
- Atom* /* selection */,
- Atom* /* target */
-);
-
-typedef void (*XtSelectionCallbackProc)(
- Widget /* widget */,
- XtPointer /* closure */,
- Atom* /* selection */,
- Atom* /* type */,
- XtPointer /* value */,
- unsigned long* /* length */,
- int* /* format */
-);
-
-typedef void (*XtLoseSelectionIncrProc)(
- Widget /* widget */,
- Atom* /* selection */,
- XtPointer /* client_data */
-);
-
-typedef void (*XtSelectionDoneIncrProc)(
- Widget /* widget */,
- Atom* /* selection */,
- Atom* /* target */,
- XtRequestId* /* receiver_id */,
- XtPointer /* client_data */
-);
-
-typedef Boolean (*XtConvertSelectionIncrProc)(
- Widget /* widget */,
- Atom* /* selection */,
- Atom* /* target */,
- Atom* /* type */,
- XtPointer* /* value */,
- unsigned long* /* length */,
- int* /* format */,
- unsigned long* /* max_length */,
- XtPointer /* client_data */,
- XtRequestId* /* receiver_id */
-);
-
-typedef void (*XtCancelConvertSelectionProc)(
- Widget /* widget */,
- Atom* /* selection */,
- Atom* /* target */,
- XtRequestId* /* receiver_id */,
- XtPointer /* client_data */
-);
-
-typedef Boolean (*XtEventDispatchProc)(
- XEvent* /* event */
-);
-
-typedef void (*XtExtensionSelectProc)(
- Widget /* widget */,
- int* /* event_types */,
- XtPointer* /* select_data */,
- int /* count */,
- XtPointer /* client_data */
-);
-
-/***************************************************************
- *
- * Exported Interfaces
- *
- ****************************************************************/
-
-_XFUNCPROTOBEGIN
-
-extern Boolean XtConvertAndStore(
- Widget /* widget */,
- _Xconst _XtString /* from_type */,
- XrmValue* /* from */,
- _Xconst _XtString /* to_type */,
- XrmValue* /* to_in_out */
-);
-
-extern Boolean XtCallConverter(
- Display* /* dpy */,
- XtTypeConverter /* converter */,
- XrmValuePtr /* args */,
- Cardinal /* num_args */,
- XrmValuePtr /* from */,
- XrmValue* /* to_in_out */,
- XtCacheRef* /* cache_ref_return */
-);
-
-extern Boolean XtDispatchEvent(
- XEvent* /* event */
-);
-
-extern Boolean XtCallAcceptFocus(
- Widget /* widget */,
- Time* /* time */
-);
-
-extern Boolean XtPeekEvent( /* obsolete */
- XEvent* /* event_return */
-);
-
-extern Boolean XtAppPeekEvent(
- XtAppContext /* app_context */,
- XEvent* /* event_return */
-);
-
-extern Boolean XtIsSubclass(
- Widget /* widget */,
- WidgetClass /* widgetClass */
-);
-
-extern Boolean XtIsObject(
- Widget /* object */
-);
-
-extern Boolean _XtCheckSubclassFlag( /* implementation-private */
- Widget /* object */,
- _XtXtEnum /* type_flag */
-);
-
-extern Boolean _XtIsSubclassOf( /* implementation-private */
- Widget /* object */,
- WidgetClass /* widget_class */,
- WidgetClass /* flag_class */,
- _XtXtEnum /* type_flag */
-);
-
-extern Boolean XtIsManaged(
- Widget /* rectobj */
-);
-
-extern Boolean XtIsRealized(
- Widget /* widget */
-);
-
-extern Boolean XtIsSensitive(
- Widget /* widget */
-);
-
-extern Boolean XtOwnSelection(
- Widget /* widget */,
- Atom /* selection */,
- Time /* time */,
- XtConvertSelectionProc /* convert */,
- XtLoseSelectionProc /* lose */,
- XtSelectionDoneProc /* done */
-);
-
-extern Boolean XtOwnSelectionIncremental(
- Widget /* widget */,
- Atom /* selection */,
- Time /* time */,
- XtConvertSelectionIncrProc /* convert_callback */,
- XtLoseSelectionIncrProc /* lose_callback */,
- XtSelectionDoneIncrProc /* done_callback */,
- XtCancelConvertSelectionProc /* cancel_callback */,
- XtPointer /* client_data */
-);
-
-extern XtGeometryResult XtMakeResizeRequest(
- Widget /* widget */,
- _XtDimension /* width */,
- _XtDimension /* height */,
- Dimension* /* width_return */,
- Dimension* /* height_return */
-);
-
-extern void XtTranslateCoords(
- Widget /* widget */,
- _XtPosition /* x */,
- _XtPosition /* y */,
- Position* /* rootx_return */,
- Position* /* rooty_return */
-);
-
-extern KeySym* XtGetKeysymTable(
- Display* /* dpy */,
- KeyCode* /* min_keycode_return */,
- int* /* keysyms_per_keycode_return */
-);
-
-extern void XtKeysymToKeycodeList(
- Display* /* dpy */,
- KeySym /* keysym */,
- KeyCode** /* keycodes_return */,
- Cardinal* /* keycount_return */
-);
-
-extern void XtStringConversionWarning( /* obsolete */
- _Xconst _XtString /* from_value */,
- _Xconst _XtString /* to_type */
-);
-
-extern void XtDisplayStringConversionWarning(
- Display* /* dpy */,
- _Xconst _XtString /* from_value */,
- _Xconst _XtString /* to_type */
-);
-
-externalref XtConvertArgRec const colorConvertArgs[];
-externalref XtConvertArgRec const screenConvertArg[];
-
-extern void XtAppAddConverter( /* obsolete */
- XtAppContext /* app_context */,
- _Xconst _XtString /* from_type */,
- _Xconst _XtString /* to_type */,
- XtConverter /* converter */,
- XtConvertArgList /* convert_args */,
- Cardinal /* num_args */
-);
-
-extern void XtAddConverter( /* obsolete */
- _Xconst _XtString /* from_type */,
- _Xconst _XtString /* to_type */,
- XtConverter /* converter */,
- XtConvertArgList /* convert_args */,
- Cardinal /* num_args */
-);
-
-extern void XtSetTypeConverter(
- _Xconst _XtString /* from_type */,
- _Xconst _XtString /* to_type */,
- XtTypeConverter /* converter */,
- XtConvertArgList /* convert_args */,
- Cardinal /* num_args */,
- XtCacheType /* cache_type */,
- XtDestructor /* destructor */
-);
-
-extern void XtAppSetTypeConverter(
- XtAppContext /* app_context */,
- _Xconst _XtString /* from_type */,
- _Xconst _XtString /* to_type */,
- XtTypeConverter /* converter */,
- XtConvertArgList /* convert_args */,
- Cardinal /* num_args */,
- XtCacheType /* cache_type */,
- XtDestructor /* destructor */
-);
-
-extern void XtConvert( /* obsolete */
- Widget /* widget */,
- _Xconst _XtString /* from_type */,
- XrmValue* /* from */,
- _Xconst _XtString /* to_type */,
- XrmValue* /* to_return */
-);
-
-extern void XtDirectConvert( /* obsolete */
- XtConverter /* converter */,
- XrmValuePtr /* args */,
- Cardinal /* num_args */,
- XrmValuePtr /* from */,
- XrmValue* /* to_return */
-);
-
-/****************************************************************
- *
- * Translation Management
- *
- ****************************************************************/
-
-extern XtTranslations XtParseTranslationTable(
- _Xconst _XtString /* table */
-);
-
-extern XtAccelerators XtParseAcceleratorTable(
- _Xconst _XtString /* source */
-);
-
-extern void XtOverrideTranslations(
- Widget /* widget */,
- XtTranslations /* translations */
-);
-
-extern void XtAugmentTranslations(
- Widget /* widget */,
- XtTranslations /* translations */
-);
-
-extern void XtInstallAccelerators(
- Widget /* destination */,
- Widget /* source */
-);
-
-extern void XtInstallAllAccelerators(
- Widget /* destination */,
- Widget /* source */
-);
-
-extern void XtUninstallTranslations(
- Widget /* widget */
-);
-
-extern void XtAppAddActions(
- XtAppContext /* app_context */,
- XtActionList /* actions */,
- Cardinal /* num_actions */
-);
-
-extern void XtAddActions( /* obsolete */
- XtActionList /* actions */,
- Cardinal /* num_actions */
-);
-
-extern XtActionHookId XtAppAddActionHook(
- XtAppContext /* app_context */,
- XtActionHookProc /* proc */,
- XtPointer /* client_data */
-);
-
-extern void XtRemoveActionHook(
- XtActionHookId /* id */
-);
-
-extern void XtGetActionList(
- WidgetClass /* widget_class */,
- XtActionList* /* actions_return */,
- Cardinal* /* num_actions_return */
-);
-
-extern void XtCallActionProc(
- Widget /* widget */,
- _Xconst _XtString /* action */,
- XEvent* /* event */,
- String* /* params */,
- Cardinal /* num_params */
-);
-
-extern void XtRegisterGrabAction(
- XtActionProc /* action_proc */,
- _XtBoolean /* owner_events */,
- unsigned int /* event_mask */,
- int /* pointer_mode */,
- int /* keyboard_mode */
-);
-
-extern void XtSetMultiClickTime(
- Display* /* dpy */,
- int /* milliseconds */
-);
-
-extern int XtGetMultiClickTime(
- Display* /* dpy */
-);
-
-extern KeySym XtGetActionKeysym(
- XEvent* /* event */,
- Modifiers* /* modifiers_return */
-);
-
-/***************************************************************
- *
- * Keycode and Keysym procedures for translation management
- *
- ****************************************************************/
-
-extern void XtTranslateKeycode(
- Display* /* dpy */,
- _XtKeyCode /* keycode */,
- Modifiers /* modifiers */,
- Modifiers* /* modifiers_return */,
- KeySym* /* keysym_return */
-);
-
-extern void XtTranslateKey(
- Display* /* dpy */,
- _XtKeyCode /* keycode */,
- Modifiers /* modifiers */,
- Modifiers* /* modifiers_return */,
- KeySym* /* keysym_return */
-);
-
-extern void XtSetKeyTranslator(
- Display* /* dpy */,
- XtKeyProc /* proc */
-);
-
-extern void XtRegisterCaseConverter(
- Display* /* dpy */,
- XtCaseProc /* proc */,
- KeySym /* start */,
- KeySym /* stop */
-);
-
-extern void XtConvertCase(
- Display* /* dpy */,
- KeySym /* keysym */,
- KeySym* /* lower_return */,
- KeySym* /* upper_return */
-);
-
-/****************************************************************
- *
- * Event Management
- *
- ****************************************************************/
-
-/* XtAllEvents is valid only for XtRemoveEventHandler and
- * XtRemoveRawEventHandler; don't use it to select events!
- */
-#define XtAllEvents ((EventMask) -1L)
-
-extern void XtAddEventHandler(
- Widget /* widget */,
- EventMask /* event_mask */,
- _XtBoolean /* nonmaskable */,
- XtEventHandler /* proc */,
- XtPointer /* closure */
-);
-
-extern void XtRemoveEventHandler(
- Widget /* widget */,
- EventMask /* event_mask */,
- _XtBoolean /* nonmaskable */,
- XtEventHandler /* proc */,
- XtPointer /* closure */
-);
-
-extern void XtAddRawEventHandler(
- Widget /* widget */,
- EventMask /* event_mask */,
- _XtBoolean /* nonmaskable */,
- XtEventHandler /* proc */,
- XtPointer /* closure */
-);
-
-extern void XtRemoveRawEventHandler(
- Widget /* widget */,
- EventMask /* event_mask */,
- _XtBoolean /* nonmaskable */,
- XtEventHandler /* proc */,
- XtPointer /* closure */
-);
-
-extern void XtInsertEventHandler(
- Widget /* widget */,
- EventMask /* event_mask */,
- _XtBoolean /* nonmaskable */,
- XtEventHandler /* proc */,
- XtPointer /* closure */,
- XtListPosition /* position */
-);
-
-extern void XtInsertRawEventHandler(
- Widget /* widget */,
- EventMask /* event_mask */,
- _XtBoolean /* nonmaskable */,
- XtEventHandler /* proc */,
- XtPointer /* closure */,
- XtListPosition /* position */
-);
-
-extern XtEventDispatchProc XtSetEventDispatcher(
- Display* /* dpy */,
- int /* event_type */,
- XtEventDispatchProc /* proc */
-);
-
-extern Boolean XtDispatchEventToWidget(
- Widget /* widget */,
- XEvent* /* event */
-);
-
-extern void XtInsertEventTypeHandler(
- Widget /* widget */,
- int /* type */,
- XtPointer /* select_data */,
- XtEventHandler /* proc */,
- XtPointer /* closure */,
- XtListPosition /* position */
-);
-
-extern void XtRemoveEventTypeHandler(
- Widget /* widget */,
- int /* type */,
- XtPointer /* select_data */,
- XtEventHandler /* proc */,
- XtPointer /* closure */
-);
-
-extern EventMask XtBuildEventMask(
- Widget /* widget */
-);
-
-extern void XtRegisterExtensionSelector(
- Display* /* dpy */,
- int /* min_event_type */,
- int /* max_event_type */,
- XtExtensionSelectProc /* proc */,
- XtPointer /* client_data */
-);
-
-extern void XtAddGrab(
- Widget /* widget */,
- _XtBoolean /* exclusive */,
- _XtBoolean /* spring_loaded */
-);
-
-extern void XtRemoveGrab(
- Widget /* widget */
-);
-
-extern void XtProcessEvent( /* obsolete */
- XtInputMask /* mask */
-);
-
-extern void XtAppProcessEvent(
- XtAppContext /* app_context */,
- XtInputMask /* mask */
-);
-
-extern void XtMainLoop( /* obsolete */
- void
-);
-
-extern void XtAppMainLoop(
- XtAppContext /* app_context */
-);
-
-extern void XtAddExposureToRegion(
- XEvent* /* event */,
- Region /* region */
-);
-
-extern void XtSetKeyboardFocus(
- Widget /* subtree */,
- Widget /* descendent */
-);
-
-extern Widget XtGetKeyboardFocusWidget(
- Widget /* widget */
-);
-
-extern XEvent* XtLastEventProcessed(
- Display* /* dpy */
-);
-
-extern Time XtLastTimestampProcessed(
- Display* /* dpy */
-);
-
-/****************************************************************
- *
- * Event Gathering Routines
- *
- ****************************************************************/
-
-extern XtIntervalId XtAddTimeOut( /* obsolete */
- unsigned long /* interval */,
- XtTimerCallbackProc /* proc */,
- XtPointer /* closure */
-);
-
-extern XtIntervalId XtAppAddTimeOut(
- XtAppContext /* app_context */,
- unsigned long /* interval */,
- XtTimerCallbackProc /* proc */,
- XtPointer /* closure */
-);
-
-extern void XtRemoveTimeOut(
- XtIntervalId /* timer */
-);
-
-extern XtInputId XtAddInput( /* obsolete */
- int /* source */,
- XtPointer /* condition */,
- XtInputCallbackProc /* proc */,
- XtPointer /* closure */
-);
-
-extern XtInputId XtAppAddInput(
- XtAppContext /* app_context */,
- int /* source */,
- XtPointer /* condition */,
- XtInputCallbackProc /* proc */,
- XtPointer /* closure */
-);
-
-extern void XtRemoveInput(
- XtInputId /* id */
-);
-
-extern XtSignalId XtAddSignal(
- XtSignalCallbackProc /* proc */,
- XtPointer /* closure */);
-
-extern XtSignalId XtAppAddSignal(
- XtAppContext /* app_context */,
- XtSignalCallbackProc /* proc */,
- XtPointer /* closure */
-);
-
-extern void XtRemoveSignal(
- XtSignalId /* id */
-);
-
-extern void XtNoticeSignal(
- XtSignalId /* id */
-);
-
-extern void XtNextEvent( /* obsolete */
- XEvent* /* event */
-);
-
-extern void XtAppNextEvent(
- XtAppContext /* app_context */,
- XEvent* /* event_return */
-);
-
-#define XtIMXEvent 1
-#define XtIMTimer 2
-#define XtIMAlternateInput 4
-#define XtIMSignal 8
-#define XtIMAll (XtIMXEvent | XtIMTimer | XtIMAlternateInput | XtIMSignal)
-
-extern Boolean XtPending( /* obsolete */
- void
-);
-
-extern XtInputMask XtAppPending(
- XtAppContext /* app_context */
-);
-
-extern XtBlockHookId XtAppAddBlockHook(
- XtAppContext /* app_context */,
- XtBlockHookProc /* proc */,
- XtPointer /* client_data */
-);
-
-extern void XtRemoveBlockHook(
- XtBlockHookId /* id */
-);
-
-/****************************************************************
- *
- * Random utility routines
- *
- ****************************************************************/
-
-#define XtIsRectObj(object) (_XtCheckSubclassFlag(object, (XtEnum)0x02))
-#define XtIsWidget(object) (_XtCheckSubclassFlag(object, (XtEnum)0x04))
-#define XtIsComposite(widget) (_XtCheckSubclassFlag(widget, (XtEnum)0x08))
-#define XtIsConstraint(widget) (_XtCheckSubclassFlag(widget, (XtEnum)0x10))
-#define XtIsShell(widget) (_XtCheckSubclassFlag(widget, (XtEnum)0x20))
-
-#undef XtIsOverrideShell
-extern Boolean XtIsOverrideShell(Widget /* object */);
-#define XtIsOverrideShell(widget) \
- (_XtIsSubclassOf(widget, (WidgetClass)overrideShellWidgetClass, \
- (WidgetClass)shellWidgetClass, (XtEnum)0x20))
-
-#define XtIsWMShell(widget) (_XtCheckSubclassFlag(widget, (XtEnum)0x40))
-
-#undef XtIsVendorShell
-extern Boolean XtIsVendorShell(Widget /* object */);
-#define XtIsVendorShell(widget) \
- (_XtIsSubclassOf(widget, (WidgetClass)vendorShellWidgetClass, \
- (WidgetClass)wmShellWidgetClass, (XtEnum)0x40))
-
-#undef XtIsTransientShell
-extern Boolean XtIsTransientShell(Widget /* object */);
-#define XtIsTransientShell(widget) \
- (_XtIsSubclassOf(widget, (WidgetClass)transientShellWidgetClass, \
- (WidgetClass)wmShellWidgetClass, (XtEnum)0x40))
-#define XtIsTopLevelShell(widget) (_XtCheckSubclassFlag(widget, (XtEnum)0x80))
-
-#undef XtIsApplicationShell
-extern Boolean XtIsApplicationShell(Widget /* object */);
-#define XtIsApplicationShell(widget) \
- (_XtIsSubclassOf(widget, (WidgetClass)applicationShellWidgetClass, \
- (WidgetClass)topLevelShellWidgetClass, (XtEnum)0x80))
-
-#undef XtIsSessionShell
-extern Boolean XtIsSessionShell(Widget /* object */);
-#define XtIsSessionShell(widget) \
- (_XtIsSubclassOf(widget, (WidgetClass)sessionShellWidgetClass, \
- (WidgetClass)topLevelShellWidgetClass, (XtEnum)0x80))
-
-extern void XtRealizeWidget(
- Widget /* widget */
-);
-
-void XtUnrealizeWidget(
- Widget /* widget */
-);
-
-extern void XtDestroyWidget(
- Widget /* widget */
-);
-
-extern void XtSetSensitive(
- Widget /* widget */,
- _XtBoolean /* sensitive */
-);
-
-extern void XtSetMappedWhenManaged(
- Widget /* widget */,
- _XtBoolean /* mapped_when_managed */
-);
-
-extern Widget XtNameToWidget(
- Widget /* reference */,
- _Xconst _XtString /* names */
-);
-
-extern Widget XtWindowToWidget(
- Display* /* display */,
- Window /* window */
-);
-
-extern XtPointer XtGetClassExtension(
- WidgetClass /* object_class */,
- Cardinal /* byte_offset */,
- XrmQuark /* type */,
- long /* version */,
- Cardinal /* record_size */
-);
-
-/***************************************************************
- *
- * Arg lists
- *
- ****************************************************************/
-
-
-#define XtSetArg(arg, n, d) \
- ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) ))
-
-extern ArgList XtMergeArgLists(
- ArgList /* args1 */,
- Cardinal /* num_args1 */,
- ArgList /* args2 */,
- Cardinal /* num_args2 */
-);
-
-/***************************************************************
- *
- * Vararg lists
- *
- ****************************************************************/
-
-#define XtVaNestedList "XtVaNestedList"
-#define XtVaTypedArg "XtVaTypedArg"
-
-extern XtVarArgsList XtVaCreateArgsList(
- XtPointer /*unused*/, ...
-) _X_SENTINEL(0);
-
-/*************************************************************
- *
- * Information routines
- *
- ************************************************************/
-
-#ifndef _XtIntrinsicP_h
-
-/* We're not included from the private file, so define these */
-
-extern Display *XtDisplay(
- Widget /* widget */
-);
-
-extern Display *XtDisplayOfObject(
- Widget /* object */
-);
-
-extern Screen *XtScreen(
- Widget /* widget */
-);
-
-extern Screen *XtScreenOfObject(
- Widget /* object */
-);
-
-extern Window XtWindow(
- Widget /* widget */
-);
-
-extern Window XtWindowOfObject(
- Widget /* object */
-);
-
-extern String XtName(
- Widget /* object */
-);
-
-extern WidgetClass XtSuperclass(
- Widget /* object */
-);
-
-extern WidgetClass XtClass(
- Widget /* object */
-);
-
-extern Widget XtParent(
- Widget /* widget */
-);
-
-#endif /*_XtIntrinsicP_h*/
-
-#undef XtMapWidget
-extern void XtMapWidget(Widget /* w */);
-#define XtMapWidget(widget) XMapWindow(XtDisplay(widget), XtWindow(widget))
-
-#undef XtUnmapWidget
-extern void XtUnmapWidget(Widget /* w */);
-#define XtUnmapWidget(widget) \
- XUnmapWindow(XtDisplay(widget), XtWindow(widget))
-
-extern void XtAddCallback(
- Widget /* widget */,
- _Xconst _XtString /* callback_name */,
- XtCallbackProc /* callback */,
- XtPointer /* closure */
-);
-
-extern void XtRemoveCallback(
- Widget /* widget */,
- _Xconst _XtString /* callback_name */,
- XtCallbackProc /* callback */,
- XtPointer /* closure */
-);
-
-extern void XtAddCallbacks(
- Widget /* widget */,
- _Xconst _XtString /* callback_name */,
- XtCallbackList /* callbacks */
-);
-
-extern void XtRemoveCallbacks(
- Widget /* widget */,
- _Xconst _XtString /* callback_name */,
- XtCallbackList /* callbacks */
-);
-
-extern void XtRemoveAllCallbacks(
- Widget /* widget */,
- _Xconst _XtString /* callback_name */
-);
-
-
-extern void XtCallCallbacks(
- Widget /* widget */,
- _Xconst _XtString /* callback_name */,
- XtPointer /* call_data */
-);
-
-extern void XtCallCallbackList(
- Widget /* widget */,
- XtCallbackList /* callbacks */,
- XtPointer /* call_data */
-);
-
-extern XtCallbackStatus XtHasCallbacks(
- Widget /* widget */,
- _Xconst _XtString /* callback_name */
-);
-
-/****************************************************************
- *
- * Geometry Management
- *
- ****************************************************************/
-
-
-extern XtGeometryResult XtMakeGeometryRequest(
- Widget /* widget */,
- XtWidgetGeometry* /* request */,
- XtWidgetGeometry* /* reply_return */
-);
-
-extern XtGeometryResult XtQueryGeometry(
- Widget /* widget */,
- XtWidgetGeometry* /* intended */,
- XtWidgetGeometry* /* preferred_return */
-);
-
-extern Widget XtCreatePopupShell(
- _Xconst _XtString /* name */,
- WidgetClass /* widgetClass */,
- Widget /* parent */,
- ArgList /* args */,
- Cardinal /* num_args */
-);
-
-extern Widget XtVaCreatePopupShell(
- _Xconst _XtString /* name */,
- WidgetClass /* widgetClass */,
- Widget /* parent */,
- ...
-) _X_SENTINEL(0);
-
-extern void XtPopup(
- Widget /* popup_shell */,
- XtGrabKind /* grab_kind */
-);
-
-extern void XtPopupSpringLoaded(
- Widget /* popup_shell */
-);
-
-extern void XtCallbackNone(
- Widget /* widget */,
- XtPointer /* closure */,
- XtPointer /* call_data */
-);
-
-extern void XtCallbackNonexclusive(
- Widget /* widget */,
- XtPointer /* closure */,
- XtPointer /* call_data */
-);
-
-extern void XtCallbackExclusive(
- Widget /* widget */,
- XtPointer /* closure */,
- XtPointer /* call_data */
-);
-
-extern void XtPopdown(
- Widget /* popup_shell */
-);
-
-extern void XtCallbackPopdown(
- Widget /* widget */,
- XtPointer /* closure */,
- XtPointer /* call_data */
-);
-
-extern void XtMenuPopupAction(
- Widget /* widget */,
- XEvent* /* event */,
- String* /* params */,
- Cardinal* /* num_params */
-);
-
-extern Widget XtCreateWidget(
- _Xconst _XtString /* name */,
- WidgetClass /* widget_class */,
- Widget /* parent */,
- ArgList /* args */,
- Cardinal /* num_args */
-);
-
-extern Widget XtCreateManagedWidget(
- _Xconst _XtString /* name */,
- WidgetClass /* widget_class */,
- Widget /* parent */,
- ArgList /* args */,
- Cardinal /* num_args */
-);
-
-extern Widget XtVaCreateWidget(
- _Xconst _XtString /* name */,
- WidgetClass /* widget */,
- Widget /* parent */,
- ...
-) _X_SENTINEL(0);
-
-extern Widget XtVaCreateManagedWidget(
- _Xconst _XtString /* name */,
- WidgetClass /* widget_class */,
- Widget /* parent */,
- ...
-) _X_SENTINEL(0);
-
-extern Widget XtCreateApplicationShell( /* obsolete */
- _Xconst _XtString /* name */,
- WidgetClass /* widget_class */,
- ArgList /* args */,
- Cardinal /* num_args */
-);
-
-extern Widget XtAppCreateShell(
- _Xconst _XtString /* application_name */,
- _Xconst _XtString /* application_class */,
- WidgetClass /* widget_class */,
- Display* /* display */,
- ArgList /* args */,
- Cardinal /* num_args */
-);
-
-extern Widget XtVaAppCreateShell(
- _Xconst _XtString /* application_name */,
- _Xconst _XtString /* application_class */,
- WidgetClass /* widget_class */,
- Display* /* display */,
- ...
-) _X_SENTINEL(0);
-
-/****************************************************************
- *
- * Toolkit initialization
- *
- ****************************************************************/
-
-extern void XtToolkitInitialize(
- void
-);
-
-extern XtLanguageProc XtSetLanguageProc(
- XtAppContext /* app_context */,
- XtLanguageProc /* proc */,
- XtPointer /* client_data */
-);
-
-extern void XtDisplayInitialize(
- XtAppContext /* app_context */,
- Display* /* dpy */,
- _Xconst _XtString /* application_name */,
- _Xconst _XtString /* application_class */,
- XrmOptionDescRec* /* options */,
- Cardinal /* num_options */,
- int* /* argc */,
- char** /* argv */
-);
-
-extern Widget XtOpenApplication(
- XtAppContext* /* app_context_return */,
- _Xconst _XtString /* application_class */,
- XrmOptionDescList /* options */,
- Cardinal /* num_options */,
- int* /* argc_in_out */,
- String* /* argv_in_out */,
- String* /* fallback_resources */,
- WidgetClass /* widget_class */,
- ArgList /* args */,
- Cardinal /* num_args */
-);
-
-extern Widget XtVaOpenApplication(
- XtAppContext* /* app_context_return */,
- _Xconst _XtString /* application_class */,
- XrmOptionDescList /* options */,
- Cardinal /* num_options */,
- int* /* argc_in_out */,
- String* /* argv_in_out */,
- String* /* fallback_resources */,
- WidgetClass /* widget_class */,
- ...
-) _X_SENTINEL(0);
-
-extern Widget XtAppInitialize( /* obsolete */
- XtAppContext* /* app_context_return */,
- _Xconst _XtString /* application_class */,
- XrmOptionDescList /* options */,
- Cardinal /* num_options */,
- int* /* argc_in_out */,
- String* /* argv_in_out */,
- String* /* fallback_resources */,
- ArgList /* args */,
- Cardinal /* num_args */
-);
-
-extern Widget XtVaAppInitialize( /* obsolete */
- XtAppContext* /* app_context_return */,
- _Xconst _XtString /* application_class */,
- XrmOptionDescList /* options */,
- Cardinal /* num_options */,
- int* /* argc_in_out */,
- String* /* argv_in_out */,
- String* /* fallback_resources */,
- ...
-) _X_SENTINEL(0);
-
-extern Widget XtInitialize( /* obsolete */
- _Xconst _XtString /* shell_name */,
- _Xconst _XtString /* application_class */,
- XrmOptionDescRec* /* options */,
- Cardinal /* num_options */,
- int* /* argc */,
- char** /* argv */
-);
-
-extern Display *XtOpenDisplay(
- XtAppContext /* app_context */,
- _Xconst _XtString /* display_string */,
- _Xconst _XtString /* application_name */,
- _Xconst _XtString /* application_class */,
- XrmOptionDescRec* /* options */,
- Cardinal /* num_options */,
- int* /* argc */,
- char** /* argv */
-);
-
-extern XtAppContext XtCreateApplicationContext(
- void
-);
-
-extern void XtAppSetFallbackResources(
- XtAppContext /* app_context */,
- String* /* specification_list */
-);
-
-extern void XtDestroyApplicationContext(
- XtAppContext /* app_context */
-);
-
-extern void XtInitializeWidgetClass(
- WidgetClass /* widget_class */
-);
-
-extern XtAppContext XtWidgetToApplicationContext(
- Widget /* widget */
-);
-
-extern XtAppContext XtDisplayToApplicationContext(
- Display* /* dpy */
-);
-
-extern XrmDatabase XtDatabase(
- Display* /* dpy */
-);
-
-extern XrmDatabase XtScreenDatabase(
- Screen* /* screen */
-);
-
-extern void XtCloseDisplay(
- Display* /* dpy */
-);
-
-extern void XtGetApplicationResources(
- Widget /* widget */,
- XtPointer /* base */,
- XtResourceList /* resources */,
- Cardinal /* num_resources */,
- ArgList /* args */,
- Cardinal /* num_args */
-);
-
-extern void XtVaGetApplicationResources(
- Widget /* widget */,
- XtPointer /* base */,
- XtResourceList /* resources */,
- Cardinal /* num_resources */,
- ...
-) _X_SENTINEL(0);
-
-extern void XtGetSubresources(
- Widget /* widget */,
- XtPointer /* base */,
- _Xconst _XtString /* name */,
- _Xconst _XtString /* class */,
- XtResourceList /* resources */,
- Cardinal /* num_resources */,
- ArgList /* args */,
- Cardinal /* num_args */
-);
-
-extern void XtVaGetSubresources(
- Widget /* widget */,
- XtPointer /* base */,
- _Xconst _XtString /* name */,
- _Xconst _XtString /* class */,
- XtResourceList /* resources */,
- Cardinal /* num_resources */,
- ...
-) _X_SENTINEL(0);
-
-extern void XtSetValues(
- Widget /* widget */,
- ArgList /* args */,
- Cardinal /* num_args */
-);
-
-extern void XtVaSetValues(
- Widget /* widget */,
- ...
-) _X_SENTINEL(0);
-
-extern void XtGetValues(
- Widget /* widget */,
- ArgList /* args */,
- Cardinal /* num_args */
-);
-
-extern void XtVaGetValues(
- Widget /* widget */,
- ...
-) _X_SENTINEL(0);
-
-extern void XtSetSubvalues(
- XtPointer /* base */,
- XtResourceList /* resources */,
- Cardinal /* num_resources */,
- ArgList /* args */,
- Cardinal /* num_args */
-);
-
-extern void XtVaSetSubvalues(
- XtPointer /* base */,
- XtResourceList /* resources */,
- Cardinal /* num_resources */,
- ...
-) _X_SENTINEL(0);
-
-extern void XtGetSubvalues(
- XtPointer /* base */,
- XtResourceList /* resources */,
- Cardinal /* num_resources */,
- ArgList /* args */,
- Cardinal /* num_args */
-);
-
-extern void XtVaGetSubvalues(
- XtPointer /* base */,
- XtResourceList /* resources */,
- Cardinal /* num_resources */,
- ...
-) _X_SENTINEL(0);
-
-extern void XtGetResourceList(
- WidgetClass /* widget_class */,
- XtResourceList* /* resources_return */,
- Cardinal* /* num_resources_return */
-);
-
-extern void XtGetConstraintResourceList(
- WidgetClass /* widget_class */,
- XtResourceList* /* resources_return */,
- Cardinal* /* num_resources_return */
-);
-
-#define XtUnspecifiedPixmap ((Pixmap)2)
-#define XtUnspecifiedShellInt (-1)
-#define XtUnspecifiedWindow ((Window)2)
-#define XtUnspecifiedWindowGroup ((Window)3)
-#define XtCurrentDirectory "XtCurrentDirectory"
-#define XtDefaultForeground "XtDefaultForeground"
-#define XtDefaultBackground "XtDefaultBackground"
-#define XtDefaultFont "XtDefaultFont"
-#define XtDefaultFontSet "XtDefaultFontSet"
-
-#if defined(CRAY)
-#define XtOffset(p_type,field) _Offsetof(p_type,field)
-#else /* ! CRAY */
-#define XtOffset(p_type,field) \
- ((Cardinal) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
-#endif /* !CRAY */
-
-#ifdef offsetof
-#define XtOffsetOf(s_type,field) offsetof(s_type,field)
-#else
-#define XtOffsetOf(s_type,field) XtOffset(s_type*,field)
-#endif
-
-/*************************************************************
- *
- * Session Management
- *
- ************************************************************/
-
-typedef struct _XtCheckpointTokenRec {
- int save_type;
- int interact_style;
- Boolean shutdown;
- Boolean fast;
- Boolean cancel_shutdown;
- int phase;
- int interact_dialog_type; /* return */
- Boolean request_cancel; /* return */
- Boolean request_next_phase; /* return */
- Boolean save_success; /* return */
- int type; /* implementation private */
- Widget widget; /* implementation private */
-} XtCheckpointTokenRec, *XtCheckpointToken;
-
-XtCheckpointToken XtSessionGetToken(
- Widget /* widget */
-);
-
-void XtSessionReturnToken(
- XtCheckpointToken /* token */
-);
-
-/*************************************************************
- *
- * Error Handling
- *
- ************************************************************/
-
-extern XtErrorMsgHandler XtAppSetErrorMsgHandler(
- XtAppContext /* app_context */,
- XtErrorMsgHandler /* handler */
-);
-
-extern void XtSetErrorMsgHandler( /* obsolete */
- XtErrorMsgHandler /* handler */
-);
-
-extern XtErrorMsgHandler XtAppSetWarningMsgHandler(
- XtAppContext /* app_context */,
- XtErrorMsgHandler /* handler */
-);
-
-extern void XtSetWarningMsgHandler( /* obsolete */
- XtErrorMsgHandler /* handler */
-);
-
-extern void XtAppErrorMsg(
- XtAppContext /* app_context */,
- _Xconst _XtString /* name */,
- _Xconst _XtString /* type */,
- _Xconst _XtString /* class */,
- _Xconst _XtString /* default */,
- String* /* params */,
- Cardinal* /* num_params */
-);
-
-extern void XtErrorMsg( /* obsolete */
- _Xconst _XtString /* name */,
- _Xconst _XtString /* type */,
- _Xconst _XtString /* class */,
- _Xconst _XtString /* default */,
- String* /* params */,
- Cardinal* /* num_params */
-);
-
-extern void XtAppWarningMsg(
- XtAppContext /* app_context */,
- _Xconst _XtString /* name */,
- _Xconst _XtString /* type */,
- _Xconst _XtString /* class */,
- _Xconst _XtString /* default */,
- String* /* params */,
- Cardinal* /* num_params */
-);
-
-extern void XtWarningMsg( /* obsolete */
- _Xconst _XtString /* name */,
- _Xconst _XtString /* type */,
- _Xconst _XtString /* class */,
- _Xconst _XtString /* default */,
- String* /* params */,
- Cardinal* /* num_params */
-);
-
-extern XtErrorHandler XtAppSetErrorHandler(
- XtAppContext /* app_context */,
- XtErrorHandler /* handler */
-);
-
-extern void XtSetErrorHandler( /* obsolete */
- XtErrorHandler /* handler */
-);
-
-extern XtErrorHandler XtAppSetWarningHandler(
- XtAppContext /* app_context */,
- XtErrorHandler /* handler */
-);
-
-extern void XtSetWarningHandler( /* obsolete */
- XtErrorHandler /* handler */
-);
-
-extern void XtAppError(
- XtAppContext /* app_context */,
- _Xconst _XtString /* message */
-);
-
-extern void XtError( /* obsolete */
- _Xconst _XtString /* message */
-);
-
-extern void XtAppWarning(
- XtAppContext /* app_context */,
- _Xconst _XtString /* message */
-);
-
-extern void XtWarning( /* obsolete */
- _Xconst _XtString /* message */
-);
-
-extern XrmDatabase *XtAppGetErrorDatabase(
- XtAppContext /* app_context */
-);
-
-extern XrmDatabase *XtGetErrorDatabase( /* obsolete */
- void
-);
-
-extern void XtAppGetErrorDatabaseText(
- XtAppContext /* app_context */,
- _Xconst _XtString /* name */,
- _Xconst _XtString /* type */,
- _Xconst _XtString /* class */,
- _Xconst _XtString /* default */,
- String /* buffer_return */,
- int /* nbytes */,
- XrmDatabase /* database */
-);
-
-extern void XtGetErrorDatabaseText( /* obsolete */
- _Xconst _XtString /* name */,
- _Xconst _XtString /* type */,
- _Xconst _XtString /* class */,
- _Xconst _XtString /* default */,
- String /* buffer_return */,
- int /* nbytes */
-);
-
-/****************************************************************
- *
- * Memory Management
- *
- ****************************************************************/
-
-extern char *XtMalloc(
- Cardinal /* size */
-);
-
-extern char *XtCalloc(
- Cardinal /* num */,
- Cardinal /* size */
-);
-
-extern char *XtRealloc(
- char* /* ptr */,
- Cardinal /* num */
-);
-
-extern void XtFree(
- char* /* ptr */
-);
-
-#ifdef XTTRACEMEMORY
-
-extern char *_XtMalloc( /* implementation-private */
- Cardinal /* size */,
- char * /* file */,
- int /* line */
-);
-
-extern char *_XtRealloc( /* implementation-private */
- char * /* ptr */,
- Cardinal /* size */,
- char * /* file */,
- int /* line */
-);
-
-extern char *_XtCalloc( /* implementation-private */
- Cardinal /* num */,
- Cardinal /* size */,
- char * /* file */,
- int /* line */
-);
-
-extern void _XtFree( /* implementation-private */
- char * /* ptr */
-);
-
-#define XtMalloc(size) _XtMalloc(size, __FILE__, __LINE__)
-#define XtRealloc(ptr,size) _XtRealloc(ptr, size, __FILE__, __LINE__)
-#define XtCalloc(num,size) _XtCalloc(num, size, __FILE__, __LINE__)
-#define XtFree(ptr) _XtFree(ptr)
-
-#endif /* ifdef XTTRACEMEMORY */
-
-#define XtNew(type) ((type *) XtMalloc((unsigned) sizeof(type)))
-
-#undef XtNewString
-extern String XtNewString(String /* str */);
-#define XtNewString(str) \
- ((str) != NULL ? (strcpy(XtMalloc((unsigned)strlen(str) + 1), str)) : NULL)
-
-/*************************************************************
- *
- * Work procs
- *
- **************************************************************/
-
-extern XtWorkProcId XtAddWorkProc( /* obsolete */
- XtWorkProc /* proc */,
- XtPointer /* closure */
-);
-
-extern XtWorkProcId XtAppAddWorkProc(
- XtAppContext /* app_context */,
- XtWorkProc /* proc */,
- XtPointer /* closure */
-);
-
-extern void XtRemoveWorkProc(
- XtWorkProcId /* id */
-);
-
-
-/****************************************************************
- *
- * Graphic Context Management
- *****************************************************************/
-
-extern GC XtGetGC(
- Widget /* widget */,
- XtGCMask /* valueMask */,
- XGCValues* /* values */
-);
-
-extern GC XtAllocateGC(
- Widget /* widget */,
- Cardinal /* depth */,
- XtGCMask /* valueMask */,
- XGCValues* /* values */,
- XtGCMask /* dynamicMask */,
- XtGCMask /* unusedMask */
-);
-
-/* This implementation of XtDestroyGC differs from the formal specification
- * for historic backwards compatibility reasons. As other implementations
- * may conform to the spec, use of XtReleaseGC is strongly encouraged.
- */
-extern void XtDestroyGC( /* obsolete */
- GC /* gc */
-);
-
-extern void XtReleaseGC(
- Widget /* object */,
- GC /* gc */
-);
-
-
-
-extern void XtAppReleaseCacheRefs(
- XtAppContext /* app_context */,
- XtCacheRef* /* cache_ref */
-);
-
-extern void XtCallbackReleaseCacheRef(
- Widget /* widget */,
- XtPointer /* closure */, /* XtCacheRef */
- XtPointer /* call_data */
-);
-
-extern void XtCallbackReleaseCacheRefList(
- Widget /* widget */,
- XtPointer /* closure */, /* XtCacheRef* */
- XtPointer /* call_data */
-);
-
-extern void XtSetWMColormapWindows(
- Widget /* widget */,
- Widget* /* list */,
- Cardinal /* count */
-);
-
-extern String XtFindFile(
- _Xconst _XtString /* path */,
- Substitution /* substitutions */,
- Cardinal /* num_substitutions */,
- XtFilePredicate /* predicate */
-);
-
-extern String XtResolvePathname(
- Display* /* dpy */,
- _Xconst _XtString /* type */,
- _Xconst _XtString /* filename */,
- _Xconst _XtString /* suffix */,
- _Xconst _XtString /* path */,
- Substitution /* substitutions */,
- Cardinal /* num_substitutions */,
- XtFilePredicate /* predicate */
-);
-
-/****************************************************************
- *
- * Selections
- *
- *****************************************************************/
-
-#define XT_CONVERT_FAIL (Atom)0x80000001
-
-extern void XtDisownSelection(
- Widget /* widget */,
- Atom /* selection */,
- Time /* time */
-);
-
-extern void XtGetSelectionValue(
- Widget /* widget */,
- Atom /* selection */,
- Atom /* target */,
- XtSelectionCallbackProc /* callback */,
- XtPointer /* closure */,
- Time /* time */
-);
-
-extern void XtGetSelectionValues(
- Widget /* widget */,
- Atom /* selection */,
- Atom* /* targets */,
- int /* count */,
- XtSelectionCallbackProc /* callback */,
- XtPointer* /* closures */,
- Time /* time */
-);
-
-extern void XtAppSetSelectionTimeout(
- XtAppContext /* app_context */,
- unsigned long /* timeout */
-);
-
-extern void XtSetSelectionTimeout( /* obsolete */
- unsigned long /* timeout */
-);
-
-extern unsigned long XtAppGetSelectionTimeout(
- XtAppContext /* app_context */
-);
-
-extern unsigned long XtGetSelectionTimeout( /* obsolete */
- void
-);
-
-extern XSelectionRequestEvent *XtGetSelectionRequest(
- Widget /* widget */,
- Atom /* selection */,
- XtRequestId /* request_id */
-);
-
-extern void XtGetSelectionValueIncremental(
- Widget /* widget */,
- Atom /* selection */,
- Atom /* target */,
- XtSelectionCallbackProc /* selection_callback */,
- XtPointer /* client_data */,
- Time /* time */
-);
-
-extern void XtGetSelectionValuesIncremental(
- Widget /* widget */,
- Atom /* selection */,
- Atom* /* targets */,
- int /* count */,
- XtSelectionCallbackProc /* callback */,
- XtPointer* /* client_data */,
- Time /* time */
-);
-
-extern void XtSetSelectionParameters(
- Widget /* requestor */,
- Atom /* selection */,
- Atom /* type */,
- XtPointer /* value */,
- unsigned long /* length */,
- int /* format */
-);
-
-extern void XtGetSelectionParameters(
- Widget /* owner */,
- Atom /* selection */,
- XtRequestId /* request_id */,
- Atom* /* type_return */,
- XtPointer* /* value_return */,
- unsigned long* /* length_return */,
- int* /* format_return */
-);
-
-extern void XtCreateSelectionRequest(
- Widget /* requestor */,
- Atom /* selection */
-);
-
-extern void XtSendSelectionRequest(
- Widget /* requestor */,
- Atom /* selection */,
- Time /* time */
-);
-
-extern void XtCancelSelectionRequest(
- Widget /* requestor */,
- Atom /* selection */
-);
-
-extern Atom XtReservePropertyAtom(
- Widget /* widget */
-);
-
-extern void XtReleasePropertyAtom(
- Widget /* widget */,
- Atom /* selection */
-);
-
-extern void XtGrabKey(
- Widget /* widget */,
- _XtKeyCode /* keycode */,
- Modifiers /* modifiers */,
- _XtBoolean /* owner_events */,
- int /* pointer_mode */,
- int /* keyboard_mode */
-);
-
-extern void XtUngrabKey(
- Widget /* widget */,
- _XtKeyCode /* keycode */,
- Modifiers /* modifiers */
-);
-
-extern int XtGrabKeyboard(
- Widget /* widget */,
- _XtBoolean /* owner_events */,
- int /* pointer_mode */,
- int /* keyboard_mode */,
- Time /* time */
-);
-
-extern void XtUngrabKeyboard(
- Widget /* widget */,
- Time /* time */
-);
-
-extern void XtGrabButton(
- Widget /* widget */,
- int /* button */,
- Modifiers /* modifiers */,
- _XtBoolean /* owner_events */,
- unsigned int /* event_mask */,
- int /* pointer_mode */,
- int /* keyboard_mode */,
- Window /* confine_to */,
- Cursor /* cursor */
-);
-
-extern void XtUngrabButton(
- Widget /* widget */,
- unsigned int /* button */,
- Modifiers /* modifiers */
-);
-
-extern int XtGrabPointer(
- Widget /* widget */,
- _XtBoolean /* owner_events */,
- unsigned int /* event_mask */,
- int /* pointer_mode */,
- int /* keyboard_mode */,
- Window /* confine_to */,
- Cursor /* cursor */,
- Time /* time */
-);
-
-extern void XtUngrabPointer(
- Widget /* widget */,
- Time /* time */
-);
-
-extern void XtGetApplicationNameAndClass(
- Display* /* dpy */,
- String* /* name_return */,
- String* /* class_return */
-);
-
-extern void XtRegisterDrawable(
- Display* /* dpy */,
- Drawable /* drawable */,
- Widget /* widget */
-);
-
-extern void XtUnregisterDrawable(
- Display* /* dpy */,
- Drawable /* drawable */
-);
-
-extern Widget XtHooksOfDisplay(
- Display* /* dpy */
-);
-
-typedef struct {
- String type;
- Widget widget;
- ArgList args;
- Cardinal num_args;
-} XtCreateHookDataRec, *XtCreateHookData;
-
-typedef struct {
- String type;
- Widget widget;
- XtPointer event_data;
- Cardinal num_event_data;
-} XtChangeHookDataRec, *XtChangeHookData;
-
-typedef struct {
- Widget old, req;
- ArgList args;
- Cardinal num_args;
-} XtChangeHookSetValuesDataRec, *XtChangeHookSetValuesData;
-
-typedef struct {
- String type;
- Widget widget;
- XtGeometryMask changeMask;
- XWindowChanges changes;
-} XtConfigureHookDataRec, *XtConfigureHookData;
-
-typedef struct {
- String type;
- Widget widget;
- XtWidgetGeometry* request;
- XtWidgetGeometry* reply;
- XtGeometryResult result;
-} XtGeometryHookDataRec, *XtGeometryHookData;
-
-typedef struct {
- String type;
- Widget widget;
-} XtDestroyHookDataRec, *XtDestroyHookData;
-
-extern void XtGetDisplays(
- XtAppContext /* app_context */,
- Display*** /* dpy_return */,
- Cardinal* /* num_dpy_return */
-);
-
-extern Boolean XtToolkitThreadInitialize(
- void
-);
-
-extern void XtAppSetExitFlag(
- XtAppContext /* app_context */
-);
-
-extern Boolean XtAppGetExitFlag(
- XtAppContext /* app_context */
-);
-
-extern void XtAppLock(
- XtAppContext /* app_context */
-);
-
-extern void XtAppUnlock(
- XtAppContext /* app_context */
-);
-
-/*
- * Predefined Resource Converters
- */
-
-
-/* String converters */
-
-extern Boolean XtCvtStringToAcceleratorTable(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToAtom(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* Display */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToBool(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToBoolean(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToCommandArgArray(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToCursor(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* Display */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToDimension(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToDirectoryString(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToDisplay(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToFile(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToFloat(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToFont(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* Display */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToFontSet(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* Display, locale */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToFontStruct(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* Display */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToGravity(
- Display* /* dpy */,
- XrmValuePtr /* args */,
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToInitialState(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToInt(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToPixel(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* Screen, Colormap */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-#define XtCvtStringToPosition XtCvtStringToShort
-
-extern Boolean XtCvtStringToRestartStyle(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToShort(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToTranslationTable(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToUnsignedChar(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtStringToVisual(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* Screen, depth */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-/* int converters */
-
-extern Boolean XtCvtIntToBool(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtIntToBoolean(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtIntToColor(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* Screen, Colormap */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-#define XtCvtIntToDimension XtCvtIntToShort
-
-extern Boolean XtCvtIntToFloat(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtIntToFont(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtIntToPixel(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtIntToPixmap(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-#define XtCvtIntToPosition XtCvtIntToShort
-
-extern Boolean XtCvtIntToShort(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-extern Boolean XtCvtIntToUnsignedChar(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-/* Color converter */
-
-extern Boolean XtCvtColorToPixel(
- Display* /* dpy */,
- XrmValuePtr /* args */, /* none */
- Cardinal* /* num_args */,
- XrmValuePtr /* fromVal */,
- XrmValuePtr /* toVal */,
- XtPointer* /* closure_ret */
-);
-
-/* Pixel converter */
-
-#define XtCvtPixelToColor XtCvtIntToColor
-
-
-_XFUNCPROTOEND
-
-#endif /*_XtIntrinsic_h*/
-/* DON'T ADD STUFF AFTER THIS #endif */
+++ /dev/null
-/* $Xorg: IntrinsicI.h,v 1.4 2001/02/09 02:03:55 xorgcvs Exp $ */
-
-/***********************************************************
-
-Copyright 1987, 1988, 1994, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-/* $XFree86: xc/lib/Xt/IntrinsicI.h,v 3.8 2001/12/14 19:56:25 dawes Exp $ */
-
-#ifndef _XtintrinsicI_h
-#define _XtintrinsicI_h
-
-#include "Xtos.h"
-#include "IntrinsicP.h"
-#ifdef WIN32
-#define _WILLWINSOCK_
-#endif
-#include <X11/Xos.h>
-
-#include "Object.h"
-#include "RectObj.h"
-#include "ObjectP.h"
-#include "RectObjP.h"
-
-#include "ConvertI.h"
-#include "TranslateI.h"
-
-#define RectObjClassFlag 0x02
-#define WidgetClassFlag 0x04
-#define CompositeClassFlag 0x08
-#define ConstraintClassFlag 0x10
-#define ShellClassFlag 0x20
-#define WMShellClassFlag 0x40
-#define TopLevelClassFlag 0x80
-
-/*
- * The following macros, though very handy, are not suitable for
- * IntrinsicP.h as they violate the rule that arguments are to
- * be evaluated exactly once.
- */
-
-#define XtDisplayOfObject(object) \
- (XtIsWidget(object) ? (object)->core.screen->display : \
- _XtIsHookObject(object) ? ((HookObject)(object))->hooks.screen->display : \
- _XtWindowedAncestor(object)->core.screen->display)
-
-#define XtScreenOfObject(object) \
- (XtIsWidget(object) ? (object)->core.screen : \
- _XtIsHookObject(object) ? ((HookObject)(object))->hooks.screen : \
- _XtWindowedAncestor(object)->core.screen)
-
-#define XtWindowOfObject(object) \
- ((XtIsWidget(object) ? (object) : _XtWindowedAncestor(object)) \
- ->core.window)
-
-#define XtIsManaged(object) \
- (XtIsRectObj(object) ? (object)->core.managed : False)
-
-#define XtIsSensitive(object) \
- (XtIsRectObj(object) ? ((object)->core.sensitive && \
- (object)->core.ancestor_sensitive) : False)
-
-
-/****************************************************************
- *
- * Byte utilities
- *
- ****************************************************************/
-
-#define _XBCOPYFUNC _XtBcopy
-#include <X11/Xfuncs.h>
-
-/* If the alignment characteristics of your machine are right, these may be
- faster */
-
-#ifdef UNALIGNED
-
-#define XtMemmove(dst, src, size) \
- if ((char *)(dst) != (char *)(src)) { \
- if (size == sizeof(int)) \
- *((int *) (dst)) = *((int *) (src)); \
- else if (size == sizeof(char)) \
- *((char *) (dst)) = *((char *) (src)); \
- else if (size == sizeof(short)) \
- *((short *) (dst)) = *((short *) (src)); \
- else \
- (void) memcpy((char *) (dst), (char *) (src), (int) (size)); \
- }
-
-#define XtBZero(dst, size) \
- if (size == sizeof(int)) \
- *((int *) (dst)) = 0; \
- else \
- bzero((char *) (dst), (int) (size))
-
-#define XtMemcmp(b1, b2, size) \
- (size == sizeof(int) ? \
- *((int *) (b1)) != *((int *) (b2)) \
- : memcmp((char *) (b1), (char *) (b2), (int) (size)) \
- )
-
-#else
-
-#define XtMemmove(dst, src, size) \
- if ((char *)(dst) != (char *)(src)) { \
- (void) memcpy((char *) (dst), (char *) (src), (int) (size)); \
- }
-
-#define XtBZero(dst, size) \
- bzero((char *) (dst), (int) (size))
-
-#define XtMemcmp(b1, b2, size) \
- memcmp((char *) (b1), (char *) (b2), (int) (size))
-
-#endif
-
-
-/****************************************************************
- *
- * Stack cache allocation/free
- *
- ****************************************************************/
-
-#define XtStackAlloc(size, stack_cache_array) \
- ((size) <= sizeof(stack_cache_array) \
- ? (XtPointer)(stack_cache_array) \
- : XtMalloc((unsigned)(size)))
-
-#define XtStackFree(pointer, stack_cache_array) \
- { if ((pointer) != ((XtPointer)(stack_cache_array))) XtFree(pointer); }
-
-/***************************************************************
- *
- * Filename defines
- *
- **************************************************************/
-
-/* used by XtResolvePathname */
-#ifndef XFILESEARCHPATHDEFAULT
-#define XFILESEARCHPATHDEFAULT "/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S"
-#endif
-
-/* the following two were both "X Toolkit " prior to R4 */
-#ifndef XTERROR_PREFIX
-#define XTERROR_PREFIX ""
-#endif
-
-#ifndef XTWARNING_PREFIX
-#define XTWARNING_PREFIX ""
-#endif
-
-#ifndef ERRORDB
-#define ERRORDB "/usr/lib/X11/XtErrorDB"
-#endif
-
-extern String XtCXtToolkitError;
-
-extern void _XtAllocError(
- String /* alloc_type */
-);
-
-extern void _XtCompileResourceList(
- XtResourceList /* resources */,
- Cardinal /* num_resources */
-);
-
-extern XtGeometryResult _XtMakeGeometryRequest(
- Widget /* widget */,
- XtWidgetGeometry* /* request */,
- XtWidgetGeometry* /* reply_return */,
- Boolean* /* clear_rect_obj */
-);
-
-extern Boolean _XtIsHookObject(
- Widget /* widget */
-);
-
-extern void _XtAddShellToHookObj(
- Widget /* widget */
-);
-
-/* GCManager.c */
-extern void _XtGClistFree(Display *dpy, XtPerDisplay pd);
-
-/** GeoTattler stuff */
-
-#ifdef XT_GEO_TATTLER
-
-extern void _XtGeoTab (int);
-extern void _XtGeoTrace (
- Widget widget,
- ...
-) _X_ATTRIBUTE_PRINTF(2,3);
-
-#define CALLGEOTAT(f) f
-
-#else /* XT_GEO_TATTLER */
-
-#define CALLGEOTAT(f)
-
-#endif /* XT_GEO_TATTLER */
-
-#ifndef XTTRACEMEMORY
-
-extern char* __XtMalloc (
- unsigned /* size */
-);
-extern char* __XtCalloc (
- unsigned /* num */,
- unsigned /* size */
-);
-
-#else
-
-#define __XtMalloc XtMalloc
-#define __XtCalloc XtCalloc
-#endif
-
-#endif /* _XtintrinsicI_h */
-/* DON'T ADD STUFF AFTER THIS #endif */
+++ /dev/null
-/* $Xorg: IntrinsicP.h,v 1.4 2001/02/09 02:03:55 xorgcvs Exp $ */
-
-/***********************************************************
-
-Copyright 1987, 1988, 1994, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-/* $XFree86$ */
-
-#ifndef _XtintrinsicP_h
-#define _XtintrinsicP_h
-
-#include <X11/Intrinsic.h>
-
-/*
- * Field sizes and offsets of XrmResource must match those of XtResource.
- * Type long is used instead of XrmQuark here because XrmQuark and String
- * are not the same size on all systems.
- */
-typedef struct {
- long xrm_name; /* Resource name quark */
- long xrm_class; /* Resource class quark */
- long xrm_type; /* Resource representation type quark */
- Cardinal xrm_size; /* Size in bytes of representation */
- int xrm_offset; /* -offset-1 */
- long xrm_default_type; /* Default representation type quark */
- XtPointer xrm_default_addr; /* Default resource address */
-} XrmResource, *XrmResourceList;
-
-typedef unsigned long XtVersionType;
-
-#define XT_VERSION 11
-#ifndef XT_REVISION
-#define XT_REVISION 6
-#endif
-#define XtVersion (XT_VERSION * 1000 + XT_REVISION)
-#define XtVersionDontCheck 0
-
-typedef void (*XtProc)(
- void
-);
-
-typedef void (*XtWidgetClassProc)(
- WidgetClass /* class */
-);
-
-typedef void (*XtWidgetProc)(
- Widget /* widget */
-);
-
-typedef Boolean (*XtAcceptFocusProc)(
- Widget /* widget */,
- Time* /* time */
-);
-
-typedef void (*XtArgsProc)(
- Widget /* widget */,
- ArgList /* args */,
- Cardinal* /* num_args */
-);
-
-typedef void (*XtInitProc)(
- Widget /* request */,
- Widget /* new */,
- ArgList /* args */,
- Cardinal* /* num_args */
-);
-
-typedef Boolean (*XtSetValuesFunc)(
- Widget /* old */,
- Widget /* request */,
- Widget /* new */,
- ArgList /* args */,
- Cardinal* /* num_args */
-);
-
-typedef Boolean (*XtArgsFunc)(
- Widget /* widget */,
- ArgList /* args */,
- Cardinal* /* num_args */
-);
-
-typedef void (*XtAlmostProc)(
- Widget /* old */,
- Widget /* new */,
- XtWidgetGeometry* /* request */,
- XtWidgetGeometry* /* reply */
-);
-
-typedef void (*XtExposeProc)(
- Widget /* widget */,
- XEvent* /* event */,
- Region /* region */
-);
-
-/* compress_exposure options*/
-#define XtExposeNoCompress ((XtEnum)False)
-#define XtExposeCompressSeries ((XtEnum)True)
-#define XtExposeCompressMultiple 2
-#define XtExposeCompressMaximal 3
-
-/* modifiers */
-#define XtExposeGraphicsExpose 0x10
-#define XtExposeGraphicsExposeMerged 0x20
-#define XtExposeNoExpose 0x40
-#define XtExposeNoRegion 0x80
-
-typedef void (*XtRealizeProc)(
- Widget /* widget */,
- XtValueMask* /* mask */,
- XSetWindowAttributes* /* attributes */
-);
-
-typedef XtGeometryResult (*XtGeometryHandler)(
- Widget /* widget */,
- XtWidgetGeometry* /* request */,
- XtWidgetGeometry* /* reply */
-);
-
-typedef void (*XtStringProc)(
- Widget /* widget */,
- String /* str */
-);
-
-typedef struct {
- String name; /* resource name */
- String type; /* representation type name */
- XtArgVal value; /* representation */
- int size; /* size of representation */
-} XtTypedArg, *XtTypedArgList;
-
-typedef void (*XtAllocateProc)(
- WidgetClass /* widget_class */,
- Cardinal * /* constraint_size */,
- Cardinal * /* more_bytes */,
- ArgList /* args */,
- Cardinal * /* num_args */,
- XtTypedArgList /* typed_args */,
- Cardinal * /* num_typed_args */,
- Widget * /* widget_return */,
- XtPointer * /* more_bytes_return */
-);
-
-typedef void (*XtDeallocateProc)(
- Widget /* widget */,
- XtPointer /* more_bytes */
-);
-
-struct _XtStateRec; /* Forward declare before use for C++ */
-
-typedef struct _XtTMRec {
- XtTranslations translations; /* private to Translation Manager */
- XtBoundActions proc_table; /* procedure bindings for actions */
- struct _XtStateRec *current_state; /* Translation Manager state ptr */
- unsigned long lastEventTime;
-} XtTMRec, *XtTM;
-
-#include <X11/CoreP.h>
-#include <X11/CompositeP.h>
-#include <X11/ConstrainP.h>
-#include <X11/ObjectP.h>
-#include <X11/RectObjP.h>
-
-#define XtDisplay(widget) DisplayOfScreen((widget)->core.screen)
-#define XtScreen(widget) ((widget)->core.screen)
-#define XtWindow(widget) ((widget)->core.window)
-
-#define XtClass(widget) ((widget)->core.widget_class)
-#define XtSuperclass(widget) (XtClass(widget)->core_class.superclass)
-#define XtIsRealized(object) (XtWindowOfObject(object) != None)
-#define XtParent(widget) ((widget)->core.parent)
-
-#undef XtIsRectObj
-extern Boolean XtIsRectObj(Widget);
-#define XtIsRectObj(obj) \
- (((Object)(obj))->object.widget_class->core_class.class_inited & 0x02)
-
-#undef XtIsWidget
-extern Boolean XtIsWidget(Widget);
-#define XtIsWidget(obj) \
- (((Object)(obj))->object.widget_class->core_class.class_inited & 0x04)
-
-#undef XtIsComposite
-extern Boolean XtIsComposite(Widget);
-#define XtIsComposite(obj) \
- (((Object)(obj))->object.widget_class->core_class.class_inited & 0x08)
-
-#undef XtIsConstraint
-extern Boolean XtIsConstraint(Widget);
-#define XtIsConstraint(obj) \
- (((Object)(obj))->object.widget_class->core_class.class_inited & 0x10)
-
-#undef XtIsShell
-extern Boolean XtIsShell(Widget);
-#define XtIsShell(obj) \
- (((Object)(obj))->object.widget_class->core_class.class_inited & 0x20)
-
-#undef XtIsWMShell
-extern Boolean XtIsWMShell(Widget);
-#define XtIsWMShell(obj) \
- (((Object)(obj))->object.widget_class->core_class.class_inited & 0x40)
-
-#undef XtIsTopLevelShell
-extern Boolean XtIsTopLevelShell(Widget);
-#define XtIsTopLevelShell(obj) \
- (((Object)(obj))->object.widget_class->core_class.class_inited & 0x80)
-
-#ifdef DEBUG
-#define XtCheckSubclass(w, widget_class_ptr, message) \
- if (!XtIsSubclass(((Widget)(w)), (widget_class_ptr))) { \
- String params[3]; \
- Cardinal num_params = 3; \
- params[0] = ((Widget)(w))->core.widget_class->core_class.class_name;\
- params[1] = (widget_class_ptr)->core_class.class_name; \
- params[2] = (message); \
- XtAppErrorMsg(XtWidgetToApplicationContext((Widget)(w)), \
- "subclassMismatch", "xtCheckSubclass", "XtToolkitError", \
- "Widget class %s found when subclass of %s expected: %s",\
- params, &num_params); \
- }
-#else
-#define XtCheckSubclass(w, widget_class, message) /* nothing */
-#endif
-
-_XFUNCPROTOBEGIN
-
-extern Widget _XtWindowedAncestor( /* internal; implementation-dependent */
- Widget /* object */
-);
-
-extern void _XtInherit(
- void
-);
-
-extern void _XtHandleFocus(
- Widget /* widget */,
- XtPointer /* client_data */,
- XEvent * /* event */,
- Boolean * /* cont */);
-
-extern void XtCreateWindow(
- Widget /* widget */,
- unsigned int /* window_class */,
- Visual* /* visual */,
- XtValueMask /* value_mask */,
- XSetWindowAttributes* /* attributes */
-);
-
-extern void XtResizeWidget(
- Widget /* widget */,
- _XtDimension /* width */,
- _XtDimension /* height */,
- _XtDimension /* border_width */
-);
-
-extern void XtMoveWidget(
- Widget /* widget */,
- _XtPosition /* x */,
- _XtPosition /* y */
-);
-
-extern void XtConfigureWidget(
- Widget /* widget */,
- _XtPosition /* x */,
- _XtPosition /* y */,
- _XtDimension /* width */,
- _XtDimension /* height */,
- _XtDimension /* border_width */
-);
-
-extern void XtResizeWindow(
- Widget /* widget */
-);
-
-extern void XtProcessLock(
- void
-);
-
-extern void XtProcessUnlock(
- void
-);
-
-_XFUNCPROTOEND
-
-#endif /* _XtIntrinsicP_h */
-/* DON'T ADD STUFF AFTER THIS #endif */
+++ /dev/null
-/* $Xorg: Object.h,v 1.4 2001/02/09 02:03:56 xorgcvs Exp $ */
-/* $oHeader: Object.h,v 1.2 88/08/18 15:55:32 asente Exp $ */
-/***********************************************************
-
-Copyright 1987, 1988, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-#ifndef _XtObject_h
-#define _XtObject_h
-
-typedef struct _ObjectRec *Object;
-typedef struct _ObjectClassRec *ObjectClass;
-
-#ifndef OBJECT
-externalref WidgetClass objectClass;
-#endif
-#endif /* _XtObject_h */
-/* DON'T ADD STUFF AFTER THIS #endif */
+++ /dev/null
-/* $Xorg: ObjectP.h,v 1.4 2001/02/09 02:03:56 xorgcvs Exp $ */
-
-/***********************************************************
-
-Copyright 1987, 1988, 1994, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-#ifndef _Xt_ObjectP_h_
-#define _Xt_ObjectP_h_
-
-#include <X11/Object.h>
-
-/**********************************************************
- * Object Instance Data Structures
- *
- **********************************************************/
-/* these fields match CorePart and can not be changed */
-
-typedef struct _ObjectPart {
- Widget self; /* pointer to widget itself */
- WidgetClass widget_class; /* pointer to Widget's ClassRec */
- Widget parent; /* parent widget */
- XrmName xrm_name; /* widget resource name quarkified */
- Boolean being_destroyed; /* marked for destroy */
- XtCallbackList destroy_callbacks; /* who to call when widget destroyed */
- XtPointer constraints; /* constraint record */
-} ObjectPart;
-
-typedef struct _ObjectRec {
- ObjectPart object;
-} ObjectRec;
-
-/********************************************************
- * Object Class Data Structures
- *
- ********************************************************/
-/* these fields match CoreClassPart and can not be changed */
-/* ideally these structures would only contain the fields required;
- but because the CoreClassPart cannot be changed at this late date
- extraneous fields are necessary to make the field offsets match */
-
-typedef struct _ObjectClassPart {
-
- WidgetClass superclass; /* pointer to superclass ClassRec */
- String class_name; /* widget resource class name */
- Cardinal widget_size; /* size in bytes of widget record */
- XtProc class_initialize; /* class initialization proc */
- XtWidgetClassProc class_part_initialize; /* dynamic initialization */
- XtEnum class_inited; /* has class been initialized? */
- XtInitProc initialize; /* initialize subclass fields */
- XtArgsProc initialize_hook; /* notify that initialize called */
- XtProc obj1; /* NULL */
- XtPointer obj2; /* NULL */
- Cardinal obj3; /* NULL */
- XtResourceList resources; /* resources for subclass fields */
- Cardinal num_resources; /* number of entries in resources */
- XrmClass xrm_class; /* resource class quarkified */
- Boolean obj4; /* NULL */
- XtEnum obj5; /* NULL */
- Boolean obj6; /* NULL */
- Boolean obj7; /* NULL */
- XtWidgetProc destroy; /* free data for subclass pointers */
- XtProc obj8; /* NULL */
- XtProc obj9; /* NULL */
- XtSetValuesFunc set_values; /* set subclass resource values */
- XtArgsFunc set_values_hook; /* notify that set_values called */
- XtProc obj10; /* NULL */
- XtArgsProc get_values_hook; /* notify that get_values called */
- XtProc obj11; /* NULL */
- XtVersionType version; /* version of intrinsics used */
- XtPointer callback_private; /* list of callback offsets */
- String obj12; /* NULL */
- XtProc obj13; /* NULL */
- XtProc obj14; /* NULL */
- XtPointer extension; /* pointer to extension record */
-}ObjectClassPart;
-
-typedef struct {
- XtPointer next_extension; /* 1st 4 required for all extension records */
- XrmQuark record_type; /* NULLQUARK; when on ObjectClassPart */
- long version; /* must be XtObjectExtensionVersion */
- Cardinal record_size; /* sizeof(ObjectClassExtensionRec) */
- XtAllocateProc allocate;
- XtDeallocateProc deallocate;
-} ObjectClassExtensionRec, *ObjectClassExtension;
-
-typedef struct _ObjectClassRec {
- ObjectClassPart object_class;
-} ObjectClassRec;
-
-externalref ObjectClassRec objectClassRec;
-
-#define XtObjectExtensionVersion 1L
-#define XtInheritAllocate ((XtAllocateProc) _XtInherit)
-#define XtInheritDeallocate ((XtDeallocateProc) _XtInherit)
-
-#endif /*_Xt_ObjectP_h_*/
+++ /dev/null
-/*
-* $Xorg: PassivGraI.h,v 1.4 2001/02/09 02:03:56 xorgcvs Exp $
-*/
-
-/********************************************************
-
-Copyright 1988 by Hewlett-Packard Company
-Copyright 1987, 1988, 1989 by Digital Equipment Corporation, Maynard
-
-Permission to use, copy, modify, and distribute this software
-and its documentation for any purpose and without fee is hereby
-granted, provided that the above copyright notice appear in all
-copies and that both that copyright notice and this permission
-notice appear in supporting documentation, and that the names of
-Hewlett-Packard or Digital not be used in advertising or
-publicity pertaining to distribution of the software without specific,
-written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-********************************************************/
-
-/*
-
-Copyright 1987, 1988, 1989, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-*/
-/* $XFree86: xc/lib/Xt/PassivGraI.h,v 1.3 2001/12/14 19:56:27 dawes Exp $ */
-
-#ifndef _PDI_h_
-#define _PDI_h_
-
-
-#define KEYBOARD TRUE
-#define POINTER FALSE
-
-typedef enum {
- XtNoServerGrab,
- XtPassiveServerGrab,
- XtActiveServerGrab,
- XtPseudoPassiveServerGrab,
- XtPseudoActiveServerGrab
-}XtServerGrabType;
-
-typedef struct _XtServerGrabRec {
- struct _XtServerGrabRec *next;
- Widget widget;
- unsigned int ownerEvents:1;
- unsigned int pointerMode:1;
- unsigned int keyboardMode:1;
- unsigned int hasExt:1;
- unsigned int confineToIsWidgetWin:1;
- KeyCode keybut;
- unsigned short modifiers;
- unsigned short eventMask;
-} XtServerGrabRec, *XtServerGrabPtr;
-
-typedef struct _XtGrabExtRec {
- Mask *pKeyButMask;
- Mask *pModifiersMask;
- Window confineTo;
- Cursor cursor;
-} XtServerGrabExtRec, *XtServerGrabExtPtr;
-
-#define GRABEXT(p) ((XtServerGrabExtPtr)((p)+1))
-
-typedef struct _XtDeviceRec{
- XtServerGrabRec grab; /* need copy in order to protect
- during grab */
- XtServerGrabType grabType;
-}XtDeviceRec, *XtDevice;
-
-#define XtMyAncestor 0
-#define XtMyDescendant 1
-#define XtMyCousin 2
-#define XtMySelf 3
-#define XtUnrelated 4
-typedef char XtGeneology; /* do not use an enum makes PerWidgetInput larger */
-
-typedef struct {
- Widget focusKid;
- XtServerGrabPtr keyList, ptrList;
- Widget queryEventDescendant;
- unsigned int map_handler_added:1;
- unsigned int realize_handler_added:1;
- unsigned int active_handler_added:1;
- unsigned int haveFocus:1;
- XtGeneology focalPoint;
-}XtPerWidgetInputRec, *XtPerWidgetInput;
-
-typedef struct XtPerDisplayInputRec{
- XtGrabList grabList;
- XtDeviceRec keyboard, pointer;
- KeyCode activatingKey;
- Widget *trace;
- int traceDepth, traceMax;
- Widget focusWidget;
-}XtPerDisplayInputRec, *XtPerDisplayInput;
-
-#define IsServerGrab(g) ((g == XtPassiveServerGrab) ||\
- (g == XtActiveServerGrab))
-
-#define IsAnyGrab(g) ((g == XtPassiveServerGrab) ||\
- (g == XtActiveServerGrab) ||\
- (g == XtPseudoPassiveServerGrab))
-
-#define IsEitherPassiveGrab(g) ((g == XtPassiveServerGrab) ||\
- (g == XtPseudoPassiveServerGrab))
-
-#define IsPseudoGrab(g) ((g == XtPseudoPassiveServerGrab))
-
-extern void _XtDestroyServerGrabs(
- Widget /* w */,
- XtPointer /* pwi */, /*XtPerWidgetInput*/
- XtPointer /* call_data */
-);
-
-extern XtPerWidgetInput _XtGetPerWidgetInput(
- Widget /* widget */,
- _XtBoolean /* create */
-);
-
-extern XtServerGrabPtr _XtCheckServerGrabsOnWidget(
- XEvent* /* event */,
- Widget /* widget */,
- _XtBoolean /* isKeyboard */
-);
-
-/*
-extern XtGrabList* _XtGetGrabList( XtPerDisplayInput );
-*/
-
-#define _XtGetGrabList(pdi) (&(pdi)->grabList)
-
-extern void _XtFreePerWidgetInput(
- Widget /* w */,
- XtPerWidgetInput /* pwi */
-);
-
-extern Widget _XtProcessKeyboardEvent(
- XKeyEvent* /* event */,
- Widget /* widget */,
- XtPerDisplayInput /* pdi */
-);
-
-extern Widget _XtProcessPointerEvent(
- XButtonEvent* /* event */,
- Widget /* widget */,
- XtPerDisplayInput /* pdi */
-);
-
-extern void _XtRegisterPassiveGrabs(
- Widget /* widget */
-);
-
-extern void _XtClearAncestorCache(
- Widget /* widget */
-);
-
-#endif /* _PDI_h_ */
+++ /dev/null
-/* $Xorg: RectObj.h,v 1.4 2001/02/09 02:03:56 xorgcvs Exp $ */
-/* $oHeader: RectObj.h,v 1.2 88/08/18 17:39:17 asente Exp $ */
-/***********************************************************
-
-Copyright 1987, 1988, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-#ifndef _XtRect_h
-#define _XtRect_h
-
-typedef struct _RectObjRec *RectObj;
-typedef struct _RectObjClassRec *RectObjClass;
-
-#ifndef RECTOBJ
-externalref WidgetClass rectObjClass;
-#endif
-#endif /* _XtRect_h */
-/* DON'T ADD STUFF AFTER THIS #endif */
+++ /dev/null
-/* $Xorg: RectObjP.h,v 1.4 2001/02/09 02:03:56 xorgcvs Exp $ */
-/* $oHeader: RectObjP.h,v 1.2 88/08/18 15:55:52 asente Exp $ */
-/***********************************************************
-
-Copyright 1987, 1988, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-#ifndef _Xt_RectObjP_h_
-#define _Xt_RectObjP_h_
-
-#include <X11/RectObj.h>
-#include <X11/ObjectP.h>
-
-/**********************************************************
- * Rectangle Object Instance Data Structures
- *
- **********************************************************/
-/* these fields match CorePart and can not be changed */
-
-typedef struct _RectObjPart {
- Position x, y; /* rectangle position */
- Dimension width, height; /* rectangle dimensions */
- Dimension border_width; /* rectangle border width */
- Boolean managed; /* is widget geometry managed? */
- Boolean sensitive; /* is widget sensitive to user events*/
- Boolean ancestor_sensitive; /* are all ancestors sensitive? */
-}RectObjPart;
-
-typedef struct _RectObjRec {
- ObjectPart object;
- RectObjPart rectangle;
-} RectObjRec;
-
-
-
-/********************************************************
- * Rectangle Object Class Data Structures
- *
- ********************************************************/
-/* these fields match CoreClassPart and can not be changed */
-/* ideally these structures would only contain the fields required;
- but because the CoreClassPart cannot be changed at this late date
- extraneous fields are necessary to make the field offsets match */
-
-typedef struct _RectObjClassPart {
-
- WidgetClass superclass; /* pointer to superclass ClassRec */
- String class_name; /* widget resource class name */
- Cardinal widget_size; /* size in bytes of widget record */
- XtProc class_initialize; /* class initialization proc */
- XtWidgetClassProc class_part_initialize; /* dynamic initialization */
- XtEnum class_inited; /* has class been initialized? */
- XtInitProc initialize; /* initialize subclass fields */
- XtArgsProc initialize_hook; /* notify that initialize called */
- XtProc rect1; /* NULL */
- XtPointer rect2; /* NULL */
- Cardinal rect3; /* NULL */
- XtResourceList resources; /* resources for subclass fields */
- Cardinal num_resources; /* number of entries in resources */
- XrmClass xrm_class; /* resource class quarkified */
- Boolean rect4; /* NULL */
- XtEnum rect5; /* NULL */
- Boolean rect6; /* NULL */
- Boolean rect7; /* NULL */
- XtWidgetProc destroy; /* free data for subclass pointers */
- XtWidgetProc resize; /* geom manager changed widget size */
- XtExposeProc expose; /* rediplay rectangle */
- XtSetValuesFunc set_values; /* set subclass resource values */
- XtArgsFunc set_values_hook; /* notify that set_values called */
- XtAlmostProc set_values_almost; /* set values almost for geometry */
- XtArgsProc get_values_hook; /* notify that get_values called */
- XtProc rect9; /* NULL */
- XtVersionType version; /* version of intrinsics used */
- XtPointer callback_private; /* list of callback offsets */
- String rect10; /* NULL */
- XtGeometryHandler query_geometry; /* return preferred geometry */
- XtProc rect11; /* NULL */
- XtPointer extension; /* pointer to extension record */
-} RectObjClassPart;
-
-typedef struct _RectObjClassRec {
- RectObjClassPart rect_class;
-} RectObjClassRec;
-
-externalref RectObjClassRec rectObjClassRec;
-
-#endif /*_Xt_RectObjP_h_*/
+++ /dev/null
-/* $Xorg: ResConfigP.h,v 1.5 2001/02/09 02:03:56 xorgcvs Exp $ */
-/*
-
-Copyright 1987, 1988, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-*/
-/*****************************************************************
-
-(C) COPYRIGHT International Business Machines Corp. 1992,1997
- All Rights Reserved
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-THE IBM CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
-BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
-IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of the IBM Corporation shall
-not be used in advertising or otherwise to promote the sale, use or other
-dealings in this Software without prior written authorization from the IBM
-Corporation.
-
-******************************************************************/
-/* $XFree86: xc/lib/Xt/ResConfigP.h,v 3.7 2001/12/20 19:40:59 tsi Exp $ */
-
-#ifndef _RESCONFIGP_H
-#define _RESCONFIGP_H
-
-#include <X11/Xfuncproto.h>
-
-_XFUNCPROTOBEGIN
-
-/*
- * Atom names for resource configuration management customization tool.
- */
-#define RCM_DATA "Custom Data"
-#define RCM_INIT "Custom Init"
-
-extern void _XtResourceConfigurationEH(
- Widget /* w */,
- XtPointer /* client_data */,
- XEvent * /* event */
-);
-
-_XFUNCPROTOEND
-
-#endif
+++ /dev/null
-/* $Xorg: ResourceI.h,v 1.4 2001/02/09 02:03:56 xorgcvs Exp $ */
-
-/***********************************************************
-
-Copyright 1987, 1988, 1994, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-/* $XFree86: xc/lib/Xt/ResourceI.h,v 1.5 2001/12/14 19:56:28 dawes Exp $ */
-
-/****************************************************************
- *
- * Resources
- *
- ****************************************************************/
-
-#ifndef _XtresourceI_h
-#define _XtresourceI_h
-
-#define StringToQuark(string) XrmStringToQuark(string)
-#define StringToName(string) XrmStringToName(string)
-#define StringToClass(string) XrmStringToClass(string)
-
-extern void _XtDependencies(
- XtResourceList * /* class_resp */,
- Cardinal * /* class_num_resp */,
- XrmResourceList * /* super_res */,
- Cardinal /* super_num_res */,
- Cardinal /* super_widget_size */);
-
-extern void _XtResourceDependencies(
- WidgetClass /* wc */
-);
-
-extern void _XtConstraintResDependencies(
- ConstraintWidgetClass /* wc */
-);
-
-extern XtCacheRef* _XtGetResources(
- Widget /* w */,
- ArgList /* args */,
- Cardinal /* num_args */,
- XtTypedArgList /* typed_args */,
- Cardinal* /* num_typed_args */
-);
-
-extern void _XtCopyFromParent(
- Widget /* widget */,
- int /* offset */,
- XrmValue* /* value */
-);
-
-extern void _XtCopyToArg(char *src, XtArgVal *dst, unsigned int size);
-extern void _XtCopyFromArg(XtArgVal src, char *dst, unsigned int size);
-extern XrmResourceList* _XtCreateIndirectionTable(XtResourceList resources,
- Cardinal num_resources);
-extern void _XtResourceListInitialize(void);
-
-
-#endif /* _XtresourceI_h */
+++ /dev/null
-/* $Xorg: SelectionI.h,v 1.4 2001/02/09 02:03:58 xorgcvs Exp $ */
-
-/***********************************************************
-
-Copyright 1987, 1988, 1994, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-#ifndef _XtselectionI_h
-#define _XtselectionI_h
-
-#include "Intrinsic.h"
-
-typedef struct _RequestRec *Request;
-typedef struct _SelectRec *Select;
-
-typedef struct _RequestRec {
- Select ctx; /* logical owner */
- Widget widget; /* widget actually receiving Selection events */
- Window requestor;
- Atom property;
- Atom target;
- Atom type;
- int format;
- XtPointer value;
- unsigned long bytelength;
- unsigned long offset;
- XtIntervalId timeout;
- XSelectionRequestEvent event; /* for XtGetSelectionRequest */
- Boolean allSent;
-} RequestRec;
-
-typedef struct {
- Atom prop;
- Boolean avail;
-} SelectionPropRec, *SelectionProp;
-
-typedef struct {
- Display *dpy;
- Atom incr_atom, indirect_atom, timestamp_atom;
- int propCount;
- SelectionProp list;
-} PropListRec, *PropList;
-
-typedef struct _SelectRec {
- Atom selection; /* constant */
- Display *dpy; /* constant */
- Widget widget;
- Time time;
- unsigned long serial;
- XtConvertSelectionProc convert;
- XtLoseSelectionProc loses;
- XtSelectionDoneProc notify;
- XtCancelConvertSelectionProc owner_cancel;
- XtPointer owner_closure;
- PropList prop_list;
- Request req; /* state for local non-incr xfer */
- int ref_count; /* of active transfers */
- unsigned int incremental:1;
- unsigned int free_when_done:1;
- unsigned int was_disowned:1;
-} SelectRec;
-
-typedef struct _ParamRec {
- Atom selection;
- Atom param;
-} ParamRec, *Param;
-
-typedef struct _ParamInfoRec {
- unsigned int count;
- Param paramlist;
-} ParamInfoRec, *ParamInfo;
-
-typedef struct _QueuedRequestRec {
- Atom selection;
- Atom target;
- Atom param;
- XtSelectionCallbackProc callback;
- XtPointer closure;
- Time time;
- Boolean incremental;
-} QueuedRequestRec, *QueuedRequest;
-
-typedef struct _QueuedRequestInfoRec {
- int count;
- Atom *selections;
- QueuedRequest *requests;
-} QueuedRequestInfoRec, *QueuedRequestInfo;
-
-typedef struct {
- XtSelectionCallbackProc *callbacks;
- XtPointer *req_closure;
- Atom property;
- Atom *target;
- Atom type;
- int format;
- char *value;
- int bytelength;
- int offset;
- XtIntervalId timeout;
- XtEventHandler proc;
- Widget widget;
- Time time;
- Select ctx;
- Boolean *incremental;
- int current;
-} CallBackInfoRec, *CallBackInfo;
-
-typedef struct {
- Atom target;
- Atom property;
-} IndirectPair;
-
-#define IndirectPairWordSize 2
-
-typedef struct {
- int active_transfer_count;
-} RequestWindowRec;
-
-#define MAX_SELECTION_INCR(dpy) (((65536 < XMaxRequestSize(dpy)) ? \
- (65536 << 2) : (XMaxRequestSize(dpy) << 2))-100)
-
-#define MATCH_SELECT(event, info) ((event->time == info->time) && \
- (event->requestor == XtWindow(info->widget)) && \
- (event->selection == info->ctx->selection) && \
- (event->target == *info->target))
-
-#endif /* _XtselectionI_h */
-/* DON'T ADD STUFF AFTER THIS #endif */
+++ /dev/null
-/* $Xorg: Shell.ht,v 1.5 2001/02/09 02:03:59 xorgcvs Exp $ */
-
-/***********************************************************
-
-Copyright 1987, 1988, 1994, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-/* $XFree86: xc/lib/Xt/util/Shell.ht,v 3.4 2001/07/29 05:01:12 tsi Exp $ */
-
-#ifndef _XtShell_h
-#define _XtShell_h
-
-#include <X11/SM/SMlib.h>
-#include <X11/Intrinsic.h>
-
-/***********************************************************************
- *
- * Shell Widget
- *
- ***********************************************************************/
-/*
- * Shell-specific resources names, classes, and a representation type.
- */
-
-#ifndef XTSTRINGDEFINES
-#define _XtShell_h_Const const
-#endif
-
-/* $Xorg: makestrs.c,v 1.6 2001/02/09 02:03:17 xorgcvs Exp $ */
-/* This file is automatically generated. */
-/* Default ABI version -- Do not edit */
-/* Xorg: string.list,v 1.3 2000/08/17 19:46:22 cpqbld Exp */
-
-#ifdef XTSTRINGDEFINES
-#define XtNiconName "iconName"
-#define XtCIconName "IconName"
-#define XtNiconPixmap "iconPixmap"
-#define XtCIconPixmap "IconPixmap"
-#define XtNiconWindow "iconWindow"
-#define XtCIconWindow "IconWindow"
-#define XtNiconMask "iconMask"
-#define XtCIconMask "IconMask"
-#define XtNwindowGroup "windowGroup"
-#define XtCWindowGroup "WindowGroup"
-#define XtNvisual "visual"
-#define XtCVisual "Visual"
-#define XtNtitleEncoding "titleEncoding"
-#define XtCTitleEncoding "TitleEncoding"
-#define XtNsaveUnder "saveUnder"
-#define XtCSaveUnder "SaveUnder"
-#define XtNtransient "transient"
-#define XtCTransient "Transient"
-#define XtNoverrideRedirect "overrideRedirect"
-#define XtCOverrideRedirect "OverrideRedirect"
-#define XtNtransientFor "transientFor"
-#define XtCTransientFor "TransientFor"
-#define XtNiconNameEncoding "iconNameEncoding"
-#define XtCIconNameEncoding "IconNameEncoding"
-#define XtNallowShellResize "allowShellResize"
-#define XtCAllowShellResize "AllowShellResize"
-#define XtNcreatePopupChildProc "createPopupChildProc"
-#define XtCCreatePopupChildProc "CreatePopupChildProc"
-#define XtNtitle "title"
-#define XtCTitle "Title"
-#ifndef XtRAtom
-#define XtRAtom "Atom"
-#endif
-#define XtNargc "argc"
-#define XtCArgc "Argc"
-#define XtNargv "argv"
-#define XtCArgv "Argv"
-#define XtNiconX "iconX"
-#define XtCIconX "IconX"
-#define XtNiconY "iconY"
-#define XtCIconY "IconY"
-#define XtNinput "input"
-#define XtCInput "Input"
-#define XtNiconic "iconic"
-#define XtCIconic "Iconic"
-#define XtNinitialState "initialState"
-#define XtCInitialState "InitialState"
-#define XtNgeometry "geometry"
-#define XtCGeometry "Geometry"
-#define XtNbaseWidth "baseWidth"
-#define XtCBaseWidth "BaseWidth"
-#define XtNbaseHeight "baseHeight"
-#define XtCBaseHeight "BaseHeight"
-#define XtNwinGravity "winGravity"
-#define XtCWinGravity "WinGravity"
-#define XtNminWidth "minWidth"
-#define XtCMinWidth "MinWidth"
-#define XtNminHeight "minHeight"
-#define XtCMinHeight "MinHeight"
-#define XtNmaxWidth "maxWidth"
-#define XtCMaxWidth "MaxWidth"
-#define XtNmaxHeight "maxHeight"
-#define XtCMaxHeight "MaxHeight"
-#define XtNwidthInc "widthInc"
-#define XtCWidthInc "WidthInc"
-#define XtNheightInc "heightInc"
-#define XtCHeightInc "HeightInc"
-#define XtNminAspectY "minAspectY"
-#define XtCMinAspectY "MinAspectY"
-#define XtNmaxAspectY "maxAspectY"
-#define XtCMaxAspectY "MaxAspectY"
-#define XtNminAspectX "minAspectX"
-#define XtCMinAspectX "MinAspectX"
-#define XtNmaxAspectX "maxAspectX"
-#define XtCMaxAspectX "MaxAspectX"
-#define XtNwmTimeout "wmTimeout"
-#define XtCWmTimeout "WmTimeout"
-#define XtNwaitForWm "waitforwm"
-#define XtCWaitForWm "Waitforwm"
-#define XtNwaitforwm "waitforwm"
-#define XtCWaitforwm "Waitforwm"
-#define XtNclientLeader "clientLeader"
-#define XtCClientLeader "ClientLeader"
-#define XtNwindowRole "windowRole"
-#define XtCWindowRole "WindowRole"
-#define XtNurgency "urgency"
-#define XtCUrgency "Urgency"
-#define XtNcancelCallback "cancelCallback"
-#define XtNcloneCommand "cloneCommand"
-#define XtCCloneCommand "CloneCommand"
-#define XtNconnection "connection"
-#define XtCConnection "Connection"
-#define XtNcurrentDirectory "currentDirectory"
-#define XtCCurrentDirectory "CurrentDirectory"
-#define XtNdieCallback "dieCallback"
-#define XtNdiscardCommand "discardCommand"
-#define XtCDiscardCommand "DiscardCommand"
-#define XtNenvironment "environment"
-#define XtCEnvironment "Environment"
-#define XtNinteractCallback "interactCallback"
-#define XtNjoinSession "joinSession"
-#define XtCJoinSession "JoinSession"
-#define XtNprogramPath "programPath"
-#define XtCProgramPath "ProgramPath"
-#define XtNresignCommand "resignCommand"
-#define XtCResignCommand "ResignCommand"
-#define XtNrestartCommand "restartCommand"
-#define XtCRestartCommand "RestartCommand"
-#define XtNrestartStyle "restartStyle"
-#define XtCRestartStyle "RestartStyle"
-#define XtNsaveCallback "saveCallback"
-#define XtNsaveCompleteCallback "saveCompleteCallback"
-#define XtNsessionID "sessionID"
-#define XtCSessionID "SessionID"
-#define XtNshutdownCommand "shutdownCommand"
-#define XtCShutdownCommand "ShutdownCommand"
-#define XtNerrorCallback "errorCallback"
-#else
-extern _XtShell_h_Const char XtShellStrings[];
-#ifndef XtNiconName
-#define XtNiconName ((char*)&XtShellStrings[0])
-#endif
-#ifndef XtCIconName
-#define XtCIconName ((char*)&XtShellStrings[9])
-#endif
-#ifndef XtNiconPixmap
-#define XtNiconPixmap ((char*)&XtShellStrings[18])
-#endif
-#ifndef XtCIconPixmap
-#define XtCIconPixmap ((char*)&XtShellStrings[29])
-#endif
-#ifndef XtNiconWindow
-#define XtNiconWindow ((char*)&XtShellStrings[40])
-#endif
-#ifndef XtCIconWindow
-#define XtCIconWindow ((char*)&XtShellStrings[51])
-#endif
-#ifndef XtNiconMask
-#define XtNiconMask ((char*)&XtShellStrings[62])
-#endif
-#ifndef XtCIconMask
-#define XtCIconMask ((char*)&XtShellStrings[71])
-#endif
-#ifndef XtNwindowGroup
-#define XtNwindowGroup ((char*)&XtShellStrings[80])
-#endif
-#ifndef XtCWindowGroup
-#define XtCWindowGroup ((char*)&XtShellStrings[92])
-#endif
-#ifndef XtNvisual
-#define XtNvisual ((char*)&XtShellStrings[104])
-#endif
-#ifndef XtCVisual
-#define XtCVisual ((char*)&XtShellStrings[111])
-#endif
-#ifndef XtNtitleEncoding
-#define XtNtitleEncoding ((char*)&XtShellStrings[118])
-#endif
-#ifndef XtCTitleEncoding
-#define XtCTitleEncoding ((char*)&XtShellStrings[132])
-#endif
-#ifndef XtNsaveUnder
-#define XtNsaveUnder ((char*)&XtShellStrings[146])
-#endif
-#ifndef XtCSaveUnder
-#define XtCSaveUnder ((char*)&XtShellStrings[156])
-#endif
-#ifndef XtNtransient
-#define XtNtransient ((char*)&XtShellStrings[166])
-#endif
-#ifndef XtCTransient
-#define XtCTransient ((char*)&XtShellStrings[176])
-#endif
-#ifndef XtNoverrideRedirect
-#define XtNoverrideRedirect ((char*)&XtShellStrings[186])
-#endif
-#ifndef XtCOverrideRedirect
-#define XtCOverrideRedirect ((char*)&XtShellStrings[203])
-#endif
-#ifndef XtNtransientFor
-#define XtNtransientFor ((char*)&XtShellStrings[220])
-#endif
-#ifndef XtCTransientFor
-#define XtCTransientFor ((char*)&XtShellStrings[233])
-#endif
-#ifndef XtNiconNameEncoding
-#define XtNiconNameEncoding ((char*)&XtShellStrings[246])
-#endif
-#ifndef XtCIconNameEncoding
-#define XtCIconNameEncoding ((char*)&XtShellStrings[263])
-#endif
-#ifndef XtNallowShellResize
-#define XtNallowShellResize ((char*)&XtShellStrings[280])
-#endif
-#ifndef XtCAllowShellResize
-#define XtCAllowShellResize ((char*)&XtShellStrings[297])
-#endif
-#ifndef XtNcreatePopupChildProc
-#define XtNcreatePopupChildProc ((char*)&XtShellStrings[314])
-#endif
-#ifndef XtCCreatePopupChildProc
-#define XtCCreatePopupChildProc ((char*)&XtShellStrings[335])
-#endif
-#ifndef XtNtitle
-#define XtNtitle ((char*)&XtShellStrings[356])
-#endif
-#ifndef XtCTitle
-#define XtCTitle ((char*)&XtShellStrings[362])
-#endif
-#ifndef XtRAtom
-#define XtRAtom ((char*)&XtShellStrings[368])
-#endif
-#ifndef XtNargc
-#define XtNargc ((char*)&XtShellStrings[373])
-#endif
-#ifndef XtCArgc
-#define XtCArgc ((char*)&XtShellStrings[378])
-#endif
-#ifndef XtNargv
-#define XtNargv ((char*)&XtShellStrings[383])
-#endif
-#ifndef XtCArgv
-#define XtCArgv ((char*)&XtShellStrings[388])
-#endif
-#ifndef XtNiconX
-#define XtNiconX ((char*)&XtShellStrings[393])
-#endif
-#ifndef XtCIconX
-#define XtCIconX ((char*)&XtShellStrings[399])
-#endif
-#ifndef XtNiconY
-#define XtNiconY ((char*)&XtShellStrings[405])
-#endif
-#ifndef XtCIconY
-#define XtCIconY ((char*)&XtShellStrings[411])
-#endif
-#ifndef XtNinput
-#define XtNinput ((char*)&XtShellStrings[417])
-#endif
-#ifndef XtCInput
-#define XtCInput ((char*)&XtShellStrings[423])
-#endif
-#ifndef XtNiconic
-#define XtNiconic ((char*)&XtShellStrings[429])
-#endif
-#ifndef XtCIconic
-#define XtCIconic ((char*)&XtShellStrings[436])
-#endif
-#ifndef XtNinitialState
-#define XtNinitialState ((char*)&XtShellStrings[443])
-#endif
-#ifndef XtCInitialState
-#define XtCInitialState ((char*)&XtShellStrings[456])
-#endif
-#ifndef XtNgeometry
-#define XtNgeometry ((char*)&XtShellStrings[469])
-#endif
-#ifndef XtCGeometry
-#define XtCGeometry ((char*)&XtShellStrings[478])
-#endif
-#ifndef XtNbaseWidth
-#define XtNbaseWidth ((char*)&XtShellStrings[487])
-#endif
-#ifndef XtCBaseWidth
-#define XtCBaseWidth ((char*)&XtShellStrings[497])
-#endif
-#ifndef XtNbaseHeight
-#define XtNbaseHeight ((char*)&XtShellStrings[507])
-#endif
-#ifndef XtCBaseHeight
-#define XtCBaseHeight ((char*)&XtShellStrings[518])
-#endif
-#ifndef XtNwinGravity
-#define XtNwinGravity ((char*)&XtShellStrings[529])
-#endif
-#ifndef XtCWinGravity
-#define XtCWinGravity ((char*)&XtShellStrings[540])
-#endif
-#ifndef XtNminWidth
-#define XtNminWidth ((char*)&XtShellStrings[551])
-#endif
-#ifndef XtCMinWidth
-#define XtCMinWidth ((char*)&XtShellStrings[560])
-#endif
-#ifndef XtNminHeight
-#define XtNminHeight ((char*)&XtShellStrings[569])
-#endif
-#ifndef XtCMinHeight
-#define XtCMinHeight ((char*)&XtShellStrings[579])
-#endif
-#ifndef XtNmaxWidth
-#define XtNmaxWidth ((char*)&XtShellStrings[589])
-#endif
-#ifndef XtCMaxWidth
-#define XtCMaxWidth ((char*)&XtShellStrings[598])
-#endif
-#ifndef XtNmaxHeight
-#define XtNmaxHeight ((char*)&XtShellStrings[607])
-#endif
-#ifndef XtCMaxHeight
-#define XtCMaxHeight ((char*)&XtShellStrings[617])
-#endif
-#ifndef XtNwidthInc
-#define XtNwidthInc ((char*)&XtShellStrings[627])
-#endif
-#ifndef XtCWidthInc
-#define XtCWidthInc ((char*)&XtShellStrings[636])
-#endif
-#ifndef XtNheightInc
-#define XtNheightInc ((char*)&XtShellStrings[645])
-#endif
-#ifndef XtCHeightInc
-#define XtCHeightInc ((char*)&XtShellStrings[655])
-#endif
-#ifndef XtNminAspectY
-#define XtNminAspectY ((char*)&XtShellStrings[665])
-#endif
-#ifndef XtCMinAspectY
-#define XtCMinAspectY ((char*)&XtShellStrings[676])
-#endif
-#ifndef XtNmaxAspectY
-#define XtNmaxAspectY ((char*)&XtShellStrings[687])
-#endif
-#ifndef XtCMaxAspectY
-#define XtCMaxAspectY ((char*)&XtShellStrings[698])
-#endif
-#ifndef XtNminAspectX
-#define XtNminAspectX ((char*)&XtShellStrings[709])
-#endif
-#ifndef XtCMinAspectX
-#define XtCMinAspectX ((char*)&XtShellStrings[720])
-#endif
-#ifndef XtNmaxAspectX
-#define XtNmaxAspectX ((char*)&XtShellStrings[731])
-#endif
-#ifndef XtCMaxAspectX
-#define XtCMaxAspectX ((char*)&XtShellStrings[742])
-#endif
-#ifndef XtNwmTimeout
-#define XtNwmTimeout ((char*)&XtShellStrings[753])
-#endif
-#ifndef XtCWmTimeout
-#define XtCWmTimeout ((char*)&XtShellStrings[763])
-#endif
-#ifndef XtNwaitForWm
-#define XtNwaitForWm ((char*)&XtShellStrings[773])
-#endif
-#ifndef XtCWaitForWm
-#define XtCWaitForWm ((char*)&XtShellStrings[783])
-#endif
-#ifndef XtNwaitforwm
-#define XtNwaitforwm ((char*)&XtShellStrings[793])
-#endif
-#ifndef XtCWaitforwm
-#define XtCWaitforwm ((char*)&XtShellStrings[803])
-#endif
-#ifndef XtNclientLeader
-#define XtNclientLeader ((char*)&XtShellStrings[813])
-#endif
-#ifndef XtCClientLeader
-#define XtCClientLeader ((char*)&XtShellStrings[826])
-#endif
-#ifndef XtNwindowRole
-#define XtNwindowRole ((char*)&XtShellStrings[839])
-#endif
-#ifndef XtCWindowRole
-#define XtCWindowRole ((char*)&XtShellStrings[850])
-#endif
-#ifndef XtNurgency
-#define XtNurgency ((char*)&XtShellStrings[861])
-#endif
-#ifndef XtCUrgency
-#define XtCUrgency ((char*)&XtShellStrings[869])
-#endif
-#ifndef XtNcancelCallback
-#define XtNcancelCallback ((char*)&XtShellStrings[877])
-#endif
-#ifndef XtNcloneCommand
-#define XtNcloneCommand ((char*)&XtShellStrings[892])
-#endif
-#ifndef XtCCloneCommand
-#define XtCCloneCommand ((char*)&XtShellStrings[905])
-#endif
-#ifndef XtNconnection
-#define XtNconnection ((char*)&XtShellStrings[918])
-#endif
-#ifndef XtCConnection
-#define XtCConnection ((char*)&XtShellStrings[929])
-#endif
-#ifndef XtNcurrentDirectory
-#define XtNcurrentDirectory ((char*)&XtShellStrings[940])
-#endif
-#ifndef XtCCurrentDirectory
-#define XtCCurrentDirectory ((char*)&XtShellStrings[957])
-#endif
-#ifndef XtNdieCallback
-#define XtNdieCallback ((char*)&XtShellStrings[974])
-#endif
-#ifndef XtNdiscardCommand
-#define XtNdiscardCommand ((char*)&XtShellStrings[986])
-#endif
-#ifndef XtCDiscardCommand
-#define XtCDiscardCommand ((char*)&XtShellStrings[1001])
-#endif
-#ifndef XtNenvironment
-#define XtNenvironment ((char*)&XtShellStrings[1016])
-#endif
-#ifndef XtCEnvironment
-#define XtCEnvironment ((char*)&XtShellStrings[1028])
-#endif
-#ifndef XtNinteractCallback
-#define XtNinteractCallback ((char*)&XtShellStrings[1040])
-#endif
-#ifndef XtNjoinSession
-#define XtNjoinSession ((char*)&XtShellStrings[1057])
-#endif
-#ifndef XtCJoinSession
-#define XtCJoinSession ((char*)&XtShellStrings[1069])
-#endif
-#ifndef XtNprogramPath
-#define XtNprogramPath ((char*)&XtShellStrings[1081])
-#endif
-#ifndef XtCProgramPath
-#define XtCProgramPath ((char*)&XtShellStrings[1093])
-#endif
-#ifndef XtNresignCommand
-#define XtNresignCommand ((char*)&XtShellStrings[1105])
-#endif
-#ifndef XtCResignCommand
-#define XtCResignCommand ((char*)&XtShellStrings[1119])
-#endif
-#ifndef XtNrestartCommand
-#define XtNrestartCommand ((char*)&XtShellStrings[1133])
-#endif
-#ifndef XtCRestartCommand
-#define XtCRestartCommand ((char*)&XtShellStrings[1148])
-#endif
-#ifndef XtNrestartStyle
-#define XtNrestartStyle ((char*)&XtShellStrings[1163])
-#endif
-#ifndef XtCRestartStyle
-#define XtCRestartStyle ((char*)&XtShellStrings[1176])
-#endif
-#ifndef XtNsaveCallback
-#define XtNsaveCallback ((char*)&XtShellStrings[1189])
-#endif
-#ifndef XtNsaveCompleteCallback
-#define XtNsaveCompleteCallback ((char*)&XtShellStrings[1202])
-#endif
-#ifndef XtNsessionID
-#define XtNsessionID ((char*)&XtShellStrings[1223])
-#endif
-#ifndef XtCSessionID
-#define XtCSessionID ((char*)&XtShellStrings[1233])
-#endif
-#ifndef XtNshutdownCommand
-#define XtNshutdownCommand ((char*)&XtShellStrings[1243])
-#endif
-#ifndef XtCShutdownCommand
-#define XtCShutdownCommand ((char*)&XtShellStrings[1259])
-#endif
-#ifndef XtNerrorCallback
-#define XtNerrorCallback ((char*)&XtShellStrings[1275])
-#endif
-#endif /* XTSTRINGDEFINES */
-
-#ifndef XTSTRINGDEFINES
-#undef _XtShell_h_Const
-#endif
-
-/* Class record constants */
-
-typedef struct _ShellClassRec *ShellWidgetClass;
-typedef struct _OverrideShellClassRec *OverrideShellWidgetClass;
-typedef struct _WMShellClassRec *WMShellWidgetClass;
-typedef struct _TransientShellClassRec *TransientShellWidgetClass;
-typedef struct _TopLevelShellClassRec *TopLevelShellWidgetClass;
-typedef struct _ApplicationShellClassRec *ApplicationShellWidgetClass;
-typedef struct _SessionShellClassRec *SessionShellWidgetClass;
-
-#ifndef SHELL
-externalref WidgetClass shellWidgetClass;
-externalref WidgetClass overrideShellWidgetClass;
-externalref WidgetClass wmShellWidgetClass;
-externalref WidgetClass transientShellWidgetClass;
-externalref WidgetClass topLevelShellWidgetClass;
-externalref WidgetClass applicationShellWidgetClass;
-externalref WidgetClass sessionShellWidgetClass;
-#endif
-
-#endif /* _XtShell_h */
-/* DON'T ADD STUFF AFTER THIS #endif */
+++ /dev/null
-/* $XFree86$ */
-
-#ifndef _XtShellInternal_h
-#define _XtShellInternal_h
-
-#include <X11/Xfuncproto.h>
-
-_XFUNCPROTOBEGIN
-
-extern void _XtShellGetCoordinates(Widget widget, Position *x, Position *y);
-
-#endif /* _XtShellInternal_h */
+++ /dev/null
-/* $Xorg: ShellP.h,v 1.4 2001/02/09 02:03:58 xorgcvs Exp $ */
-
-/***********************************************************
-
-Copyright 1987, 1988, 1994, 1998 The Open Group
-
-Permission to use, copy, modify, distribute, and sell this software and its
-documentation for any purpose is hereby granted without fee, provided that
-the above copyright notice appear in all copies and that both that
-copyright notice and this permission notice appear in supporting
-documentation.
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Except as contained in this notice, the name of The Open Group shall not be
-used in advertising or otherwise to promote the sale, use or other dealings
-in this Software without prior written authorization from The Open Group.
-
-
-Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
-
- All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the name of Digital not be
-used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
-
-DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
-ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
-DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
-ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
-ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
-SOFTWARE.
-
-******************************************************************/
-
-/*
- * ShellP.h - Private definitions for Shell widget
- *
- * Author: Paul Asente
- * Digital Equipment Corporation
- * Western Software Laboratory
- * Date: Thu Dec 3, 1987
- */
-
-#ifndef _XtShellPrivate_h
-#define _XtShellPrivate_h
-
-#include <X11/Shell.h>
-
-/* *****
- * ***** VendorP.h is included later on; it needs fields defined in the first
- * ***** part of this header file
- * *****
- */
-
-/***********************************************************************
- *
- * Shell Widget Private Data
- *
- ***********************************************************************/
-
-/* New fields for the Shell widget class record */
-
-typedef struct {
- XtPointer extension; /* pointer to extension record */
-} ShellClassPart;
-
-typedef struct {
- XtPointer next_extension; /* 1st 4 mandated for all extension records */
- XrmQuark record_type; /* NULLQUARK; on ShellClassPart */
- long version; /* must be XtShellExtensionVersion */
- Cardinal record_size; /* sizeof(ShellClassExtensionRec) */
- XtGeometryHandler root_geometry_manager;
-} ShellClassExtensionRec, *ShellClassExtension;
-
-#define XtShellExtensionVersion 1L
-#define XtInheritRootGeometryManager ((XtGeometryHandler)_XtInherit)
-
-typedef struct _ShellClassRec {
- CoreClassPart core_class;
- CompositeClassPart composite_class;
- ShellClassPart shell_class;
-} ShellClassRec;
-
-externalref ShellClassRec shellClassRec;
-
-/* New fields for the shell widget */
-
-typedef struct {
- char *geometry;
- XtCreatePopupChildProc create_popup_child_proc;
- XtGrabKind grab_kind;
- Boolean spring_loaded;
- Boolean popped_up;
- Boolean allow_shell_resize;
- Boolean client_specified; /* re-using old name */
-#define _XtShellPositionValid ((Boolean)(1<<0))
-#define _XtShellNotReparented ((Boolean)(1<<1))
-#define _XtShellPPositionOK ((Boolean)(1<<2))
-#define _XtShellGeometryParsed ((Boolean)(1<<3))
- Boolean save_under;
- Boolean override_redirect;
-
- XtCallbackList popup_callback;
- XtCallbackList popdown_callback;
- Visual* visual;
-} ShellPart;
-
-typedef struct {
- CorePart core;
- CompositePart composite;
- ShellPart shell;
-} ShellRec, *ShellWidget;
-
-/***********************************************************************
- *
- * OverrideShell Widget Private Data
- *
- ***********************************************************************/
-
-/* New fields for the OverrideShell widget class record */
-
-typedef struct {
- XtPointer extension; /* pointer to extension record */
-} OverrideShellClassPart;
-
-typedef struct _OverrideShellClassRec {
- CoreClassPart core_class;
- CompositeClassPart composite_class;
- ShellClassPart shell_class;
- OverrideShellClassPart override_shell_class;
-} OverrideShellClassRec;
-
-externalref OverrideShellClassRec overrideShellClassRec;
-
-/* No new fields for the override shell widget */
-
-typedef struct {int frabjous;} OverrideShellPart;
-
-typedef struct {
- CorePart core;
- CompositePart composite;
- ShellPart shell;
- OverrideShellPart override;
-} OverrideShellRec, *OverrideShellWidget;
-
-/***********************************************************************
- *
- * WMShell Widget Private Data
- *
- ***********************************************************************/
-
-/* New fields for the WMShell widget class record */
-
-typedef struct {
- XtPointer extension; /* pointer to extension record */
-} WMShellClassPart;
-
-typedef struct _WMShellClassRec {
- CoreClassPart core_class;
- CompositeClassPart composite_class;
- ShellClassPart shell_class;
- WMShellClassPart wm_shell_class;
-} WMShellClassRec;
-
-externalref WMShellClassRec wmShellClassRec;
-
-/* New fields for the WM shell widget */
-
-typedef struct {
- char *title;
- int wm_timeout;
- Boolean wait_for_wm;
- Boolean transient;
- Boolean urgency;
- Widget client_leader;
- String window_role;
- struct _OldXSizeHints { /* pre-R4 Xlib structure */
- long flags;
- int x, y;
- int width, height;
- int min_width, min_height;
- int max_width, max_height;
- int width_inc, height_inc;
- struct {
- int x;
- int y;
- } min_aspect, max_aspect;
- } size_hints;
- XWMHints wm_hints;
- int base_width, base_height;
- int win_gravity;
- Atom title_encoding;
-} WMShellPart;
-
-typedef struct {
- CorePart core;
- CompositePart composite;
- ShellPart shell;
- WMShellPart wm;
-} WMShellRec, *WMShellWidget;
-
-#include <X11/VendorP.h>
-
-/***********************************************************************
- *
- * TransientShell Widget Private Data
- *
- ***********************************************************************/
-
-/* New fields for the TransientShell widget class record */
-
-typedef struct {
- XtPointer extension; /* pointer to extension record */
-} TransientShellClassPart;
-
-typedef struct _TransientShellClassRec {
- CoreClassPart core_class;
- CompositeClassPart composite_class;
- ShellClassPart shell_class;
- WMShellClassPart wm_shell_class;
- VendorShellClassPart vendor_shell_class;
- TransientShellClassPart transient_shell_class;
-} TransientShellClassRec;
-
-externalref TransientShellClassRec transientShellClassRec;
-
-/* New fields for the transient shell widget */
-
-typedef struct {
- Widget transient_for;
-} TransientShellPart;
-
-typedef struct {
- CorePart core;
- CompositePart composite;
- ShellPart shell;
- WMShellPart wm;
- VendorShellPart vendor;
- TransientShellPart transient;
-} TransientShellRec, *TransientShellWidget;
-
-/***********************************************************************
- *
- * TopLevelShell Widget Private Data
- *
- ***********************************************************************/
-
-/* New fields for the TopLevelShell widget class record */
-
-typedef struct {
- XtPointer extension; /* pointer to extension record */
-} TopLevelShellClassPart;
-
-typedef struct _TopLevelShellClassRec {
- CoreClassPart core_class;
- CompositeClassPart composite_class;
- ShellClassPart shell_class;
- WMShellClassPart wm_shell_class;
- VendorShellClassPart vendor_shell_class;
- TopLevelShellClassPart top_level_shell_class;
-} TopLevelShellClassRec;
-
-externalref TopLevelShellClassRec topLevelShellClassRec;
-
-/* New fields for the top level shell widget */
-
-typedef struct {
- char *icon_name;
- Boolean iconic;
- Atom icon_name_encoding;
-} TopLevelShellPart;
-
-typedef struct {
- CorePart core;
- CompositePart composite;
- ShellPart shell;
- WMShellPart wm;
- VendorShellPart vendor;
- TopLevelShellPart topLevel;
-} TopLevelShellRec, *TopLevelShellWidget;
-
-/***********************************************************************
- *
- * ApplicationShell Widget Private Data
- *
- ***********************************************************************/
-
-/* New fields for the ApplicationShell widget class record */
-
-typedef struct {
- XtPointer extension; /* pointer to extension record */
-} ApplicationShellClassPart;
-
-typedef struct _ApplicationShellClassRec {
- CoreClassPart core_class;
- CompositeClassPart composite_class;
- ShellClassPart shell_class;
- WMShellClassPart wm_shell_class;
- VendorShellClassPart vendor_shell_class;
- TopLevelShellClassPart top_level_shell_class;
- ApplicationShellClassPart application_shell_class;
-} ApplicationShellClassRec;
-
-externalref ApplicationShellClassRec applicationShellClassRec;
-
-/* New fields for the application shell widget */
-
-typedef struct {
-#if defined(__cplusplus) || defined(c_plusplus)
- char *c_class;