summaryrefslogtreecommitdiff
path: root/Xw/MenuBtn.h
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2018-10-20 17:43:57 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2018-10-20 17:43:57 +0200
commit04d5d0ea0f65a434e568fe031f6396caec9b3a8d (patch)
treedecc35c37120084c4a55311cb4e801524369ff57 /Xw/MenuBtn.h
Import Upstream version 3.8.78.dfsg
Diffstat (limited to 'Xw/MenuBtn.h')
-rw-r--r--Xw/MenuBtn.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/Xw/MenuBtn.h b/Xw/MenuBtn.h
new file mode 100644
index 0000000..cbe86d5
--- /dev/null
+++ b/Xw/MenuBtn.h
@@ -0,0 +1,55 @@
+/*************************************<+>*************************************
+ *****************************************************************************
+ **
+ ** File: MenuBtn.h
+ **
+ ** Project: X Widgets
+ **
+ ** Description: Public include file for MenuButton class widgets
+ **
+ *****************************************************************************
+ **
+ ** Copyright (c) 1988 by Hewlett-Packard Company
+ ** Copyright (c) 1988 by the Massachusetts Institute of Technology
+ **
+ ** 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 M.I.T. not be used in advertising or publicity
+ ** pertaining to distribution of the software without specific, written
+ ** prior permission.
+ **
+ *****************************************************************************
+ *************************************<+>*************************************/
+
+/***********************************************************************
+ *
+ * MenuButton Widget
+ *
+ ***********************************************************************/
+
+
+extern WidgetClass XwmenubuttonWidgetClass;
+
+/* synonym added for consistent naming conventions */
+extern WidgetClass XwmenuButtonWidgetClass;
+
+typedef struct _XwMenuButtonClassRec *XwMenuButtonWidgetClass;
+typedef struct _XwMenuButtonRec *XwMenuButtonWidget;
+
+
+
+/********************
+ *
+ * CascadeUnselect callback data typedef
+ *
+ ********************/
+
+typedef struct
+{
+ Dimension rootX;
+ Dimension rootY;
+ Boolean remainHighlighted;
+} XwunselectParams;