gtkdatabox_offset_bars.h (gtkdatabox-0.9.3.1) | : | gtkdatabox_offset_bars.h (gtkdatabox-1.0.0) | ||
---|---|---|---|---|
skipping to change at line 17 | skipping to change at line 17 | |||
* as published by the Free Software Foundation; either version 2.1 | * as published by the Free Software Foundation; either version 2.1 | |||
* of the License, or (at your option) any later version. | * of the License, or (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU Lesser General Public License for more details. | * GNU Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | |||
* along with this program; if not, write to the Free Software | * along with this program; if not, write to the Free Software | |||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
*/ | */ | |||
/** | /** | |||
* SECTION:gtkdatabox_offset_bars | * SECTION:gtkdatabox_offset_bars | |||
* @short_description: A #GtkDataboxGraph used for displaying xyy-values (x, y1 and y2 values) as vertical bars from y1 to y2. | * @short_description: A #GtkDataboxGraph used for displaying xyy-values (x, y1 and y2 values) as vertical bars from y1 to y2. | |||
* @include: gtkdatabox_offset_bars.h | * @include: gtkdatabox_offset_bars.h | |||
* @see_also: #GtkDatabox, #GtkDataboxGraph, #GtkDataboxPoints, #GtkDataboxLines , #GtkDataboxMarkers, #GtkDataboxOffsetBars | * @see_also: #GtkDatabox, #GtkDataboxGraph, #GtkDataboxPoints, #GtkDataboxLines , #GtkDataboxMarkers, #GtkDataboxOffsetBars | |||
* | * | |||
* #GtkDataboxOffsetBars is a #GtkDataboxGraph class for displaying xy-values as vertical bars which rise/drop from y1 to y2. | * #GtkDataboxOffsetBars is a #GtkDataboxGraph class for displaying xy-values as vertical bars which rise/drop from y1 to y2. | |||
* | * | |||
skipping to change at line 50 | skipping to change at line 50 | |||
#define GTK_DATABOX_OFFSET_BARS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), \ | #define GTK_DATABOX_OFFSET_BARS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), \ | |||
GTK_DATABOX_TYPE_OFFSET_BARS, \ | GTK_DATABOX_TYPE_OFFSET_BARS, \ | |||
GtkDataboxOffsetBarsClass)) | GtkDataboxOffsetBarsClass)) | |||
#define GTK_DATABOX_IS_OFFSET_BARS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), \ | #define GTK_DATABOX_IS_OFFSET_BARS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), \ | |||
GTK_DATABOX_TYPE_OFFSET_BARS)) | GTK_DATABOX_TYPE_OFFSET_BARS)) | |||
#define GTK_DATABOX_IS_OFFSET_BARS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), \ | #define GTK_DATABOX_IS_OFFSET_BARS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), \ | |||
GTK_DATABOX_TYPE_OFFSET_BARS)) | GTK_DATABOX_TYPE_OFFSET_BARS)) | |||
#define GTK_DATABOX_OFFSET_BARS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), \ | #define GTK_DATABOX_OFFSET_BARS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), \ | |||
GTK_DATABOX_TYPE_OFFSET_BARS, \ | GTK_DATABOX_TYPE_OFFSET_BARS, \ | |||
GtkDataboxOffsetBarsClass)) | GtkDataboxOffsetBarsClass)) | |||
#define GTK_DATABOX_OFFSET_BARS_GET_PRIVATE(obj) \ | ||||
G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_DATABOX_TYPE_OFFSET_BARS, GtkData | ||||
boxOffsetBarsPrivate) | ||||
/** | /** | |||
* GtkDataboxOffsetBars: | * GtkDataboxOffsetBars | |||
* @see_also: #GtkDatabox, #GtkDataboxGraph, #GtkDataboxPoints, #GtkDataboxLines | ||||
, #GtkDataboxMarkers, #GtkDataboxBars | ||||
* | * | |||
* #GtkDataboxOffsetBars is a #GtkDataboxGraph class for displaying xyy-values a s vertical bars which rise/drop from y1. | * #GtkDataboxOffsetBars is a #GtkDataboxGraph class for displaying xyy-values a s vertical bars which rise/drop from y1. | |||
* | * | |||
* @see_also: #GtkDatabox, #GtkDataboxGraph, #GtkDataboxPoints, #GtkDataboxLines , #GtkDataboxMarkers, #GtkDataboxBars | ||||
*/ | */ | |||
typedef struct _GtkDataboxOffsetBars GtkDataboxOffsetBars; | typedef struct _GtkDataboxOffsetBars GtkDataboxOffsetBars; | |||
/** | ||||
* GtkDataboxOffsetBarsClass | ||||
* | ||||
* The object class of #GtkDataboxOffsetBars. | ||||
* | ||||
**/ | ||||
typedef struct _GtkDataboxOffsetBarsClass GtkDataboxOffsetBarsClass; | typedef struct _GtkDataboxOffsetBarsClass GtkDataboxOffsetBarsClass; | |||
struct _GtkDataboxOffsetBars | struct _GtkDataboxOffsetBars | |||
{ | { | |||
/*< private >*/ | /*< private >*/ | |||
GtkDataboxXYYCGraph parent; | GtkDataboxXYYCGraph parent; | |||
}; | }; | |||
struct _GtkDataboxOffsetBarsClass | struct _GtkDataboxOffsetBarsClass | |||
{ | { | |||
GtkDataboxXYYCGraphClass parent_class; | GtkDataboxXYYCGraphClass parent_class; | |||
}; | }; | |||
GType gtk_databox_offset_bars_get_type (void); | GType gtk_databox_offset_bars_get_type (void); | |||
GtkDataboxGraph *gtk_databox_offset_bars_new (guint len, gfloat * X, gfloat * Y1, gfloat * Y2, | GtkDataboxGraph *gtk_databox_offset_bars_new (guint len, gfloat * X, gfloat * Y1, gfloat * Y2, | |||
GdkColor * color, guint size); | GdkRGBA * color, guint size); | |||
GtkDataboxGraph *gtk_databox_offset_bars_new_full (guint maxlen, guint len, | ||||
void * X, guint xstart, guint xstride, GType xtype, | ||||
void * Y1, guint y1start, guint y1stride, | ||||
void * Y2, guint y2start, guint y2stride, GType ytype, | ||||
GdkRGBA * color, guint size); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif /* __GTK_DATABOX_OFFSET_BARS_H__ */ | #endif /* __GTK_DATABOX_OFFSET_BARS_H__ */ | |||
End of changes. 6 change blocks. | ||||
8 lines changed or deleted | 16 lines changed or added |