gtkdatabox_lines.h (gtkdatabox-0.9.3.1) | : | gtkdatabox_lines.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_lines | * SECTION:gtkdatabox_lines | |||
* @short_description: A #GtkDataboxGraph used for displaying xy-values series o f connected lines. | * @short_description: A #GtkDataboxGraph used for displaying xy-values series o f connected lines. | |||
* @include: gtkdatabox_lines.h | * @include: gtkdatabox_lines.h | |||
* @see_also: #GtkDatabox, #GtkDataboxGraph, #GtkDataboxPoints, #GtkDataboxBars, #GtkDataboxMarkers | * @see_also: #GtkDatabox, #GtkDataboxGraph, #GtkDataboxPoints, #GtkDataboxBars, #GtkDataboxMarkers | |||
* | * | |||
* #GtkDataboxLines is a #GtkDataboxGraph class for displaying xy-values as seri es of connected lines. | * #GtkDataboxLines is a #GtkDataboxGraph class for displaying xy-values as seri es of connected lines. | |||
* | * | |||
skipping to change at line 50 | skipping to change at line 50 | |||
#define GTK_DATABOX_LINES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), \ | #define GTK_DATABOX_LINES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), \ | |||
GTK_DATABOX_TYPE_LINES, \ | GTK_DATABOX_TYPE_LINES, \ | |||
GtkDataboxLinesClass)) | GtkDataboxLinesClass)) | |||
#define GTK_DATABOX_IS_LINES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ | #define GTK_DATABOX_IS_LINES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ | |||
GTK_DATABOX_TYPE_LINES)) | GTK_DATABOX_TYPE_LINES)) | |||
#define GTK_DATABOX_IS_LINES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \ | #define GTK_DATABOX_IS_LINES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \ | |||
GTK_DATABOX_TYPE_LINES)) | GTK_DATABOX_TYPE_LINES)) | |||
#define GTK_DATABOX_LINES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), \ | #define GTK_DATABOX_LINES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), \ | |||
GTK_DATABOX_TYPE_LINES, \ | GTK_DATABOX_TYPE_LINES, \ | |||
GtkDataboxLinesClass)) | GtkDataboxLinesClass)) | |||
#define GTK_DATABOX_LINES_GET_PRIVATE(obj) \ | ||||
G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_DATABOX_TYPE_LINES, GtkDataboxLin | ||||
esPrivate) | ||||
/** | /** | |||
* GtkDataboxLines | * GtkDataboxLines | |||
* | * | |||
* #GtkDataboxLines is a #GtkDataboxGraph class for displaying xy-values as seri es of connected lines. | * #GtkDataboxLines is a #GtkDataboxGraph class for displaying xy-values as seri es of connected lines. | |||
* | * | |||
*/ | */ | |||
typedef struct _GtkDataboxLines GtkDataboxLines; | typedef struct _GtkDataboxLines GtkDataboxLines; | |||
/** | ||||
* GtkDataboxLinesClass | ||||
* | ||||
* The object class of #GtkDataboxLines. | ||||
* | ||||
**/ | ||||
typedef struct _GtkDataboxLinesClass GtkDataboxLinesClass; | typedef struct _GtkDataboxLinesClass GtkDataboxLinesClass; | |||
struct _GtkDataboxLines | struct _GtkDataboxLines | |||
{ | { | |||
/*< private >*/ | /*< private >*/ | |||
GtkDataboxXYCGraph parent; | GtkDataboxXYCGraph parent; | |||
}; | }; | |||
struct _GtkDataboxLinesClass | struct _GtkDataboxLinesClass | |||
{ | { | |||
GtkDataboxXYCGraphClass parent_class; | GtkDataboxXYCGraphClass parent_class; | |||
}; | }; | |||
GType gtk_databox_lines_get_type (void); | GType gtk_databox_lines_get_type (void); | |||
GtkDataboxGraph *gtk_databox_lines_new (guint len, gfloat * X, gfloat * Y, | GtkDataboxGraph *gtk_databox_lines_new (guint len, gfloat * X, gfloat * Y, | |||
GdkColor * color, guint size); | GdkRGBA * color, guint size); | |||
GtkDataboxGraph *gtk_databox_lines_new_full (guint maxlen, guint len, | ||||
void * X, guint xstart, guint xstride, GType xtype, | ||||
void * Y, guint ystart, guint ystride, GType ytype, | ||||
GdkRGBA * color, guint size); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif /* __GTK_DATABOX_LINES_H__ */ | #endif /* __GTK_DATABOX_LINES_H__ */ | |||
End of changes. 4 change blocks. | ||||
5 lines changed or deleted | 13 lines changed or added |