X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=src%2Fui%2Fgui%2Fpsppire-buttonbox.h;h=3f865facd040e33cd937112cddf66aca8c7e6ac5;hb=f7dd956cea4cd70d922deae4b70fd08e59346a12;hp=91d355511256d72e6f58871799de541e15ab0c9e;hpb=146997e1690f055481e2003529eaa4f8848ca4a8;p=pspp
diff --git a/src/ui/gui/psppire-buttonbox.h b/src/ui/gui/psppire-buttonbox.h
index 91d3555112..3f865facd0 100644
--- a/src/ui/gui/psppire-buttonbox.h
+++ b/src/ui/gui/psppire-buttonbox.h
@@ -1,21 +1,18 @@
-/*
- PSPPIRE --- A Graphical User Interface for PSPP
- Copyright (C) 2007 Free Software Foundation
+/* PSPPIRE - a graphical user interface for PSPP.
+ Copyright (C) 2007 Free Software Foundation
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA. */
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see . */
#ifndef __PSPPIRE_BUTTONBOX_H__
@@ -38,9 +35,24 @@ G_BEGIN_DECLS
typedef struct _PsppireButtonBox PsppireButtonBox;
typedef struct _PsppireButtonBoxClass PsppireButtonBoxClass;
+enum
+ {
+ PSPPIRE_BUTTON_OK = 0,
+ PSPPIRE_BUTTON_GOTO,
+ PSPPIRE_BUTTON_CONTINUE,
+ PSPPIRE_BUTTON_CANCEL,
+ PSPPIRE_BUTTON_HELP,
+ PSPPIRE_BUTTON_RESET,
+ PSPPIRE_BUTTON_PASTE,
+ n_PsppireButtonBoxButtons
+ };
+
struct _PsppireButtonBox
{
GtkButtonBox parent;
+
+ /* */
+ GtkWidget *button[n_PsppireButtonBoxButtons];
};
struct _PsppireButtonBoxClass
@@ -57,6 +69,10 @@ _psppire_button_box_child_requisition (GtkWidget *widget,
int *nvis_children,
int *nvis_secondaries,
int *width,
+
+
+#define G_TYPE_PSPPIRE_BUTTON_MASK \
+ (psppire_button_flags_get_type())
int *height);
G_END_DECLS