mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
// fix
Original commit message from CVS: // fix
This commit is contained in:
parent
3f55af9bb4
commit
8ebaaa0049
1 changed files with 37 additions and 37 deletions
|
@ -119,26 +119,26 @@ struct _GstEditorElement {
|
||||||
gboolean realized;
|
gboolean realized;
|
||||||
|
|
||||||
/* toplevel group, must be !NULL */
|
/* toplevel group, must be !NULL */
|
||||||
GnomeCanvasGroup *group; // parent group
|
GnomeCanvasGroup *group; /* parent group */
|
||||||
|
|
||||||
/* visual stuff */
|
/* visual stuff */
|
||||||
gdouble x,y; // center
|
gdouble x,y; /* center */
|
||||||
gdouble width,height; // size
|
gdouble width,height; /* size */
|
||||||
GnomeCanvasItem *border,*title,*resizebox; // easy ones
|
GnomeCanvasItem *border,*title,*resizebox; /* easy ones */
|
||||||
GnomeCanvasItem *statebox[4],*statetext[4]; // GST_STATE_*
|
GnomeCanvasItem *statebox[4],*statetext[4]; /* GST_STATE_* */
|
||||||
|
|
||||||
gdouble insidewidth,insideheight; // minimum space inside
|
gdouble insidewidth,insideheight; /* minimum space inside */
|
||||||
gdouble minwidth,minheight; // minimum size
|
gdouble minwidth,minheight; /* minimum size */
|
||||||
gdouble titlewidth,titleheight; // size of title
|
gdouble titlewidth,titleheight; /* size of title */
|
||||||
gdouble statewidth,stateheight; // size of state boxes
|
gdouble statewidth,stateheight; /* size of state boxes */
|
||||||
gdouble sinkwidth,sinkheight; // size of sink pads
|
gdouble sinkwidth,sinkheight; /* size of sink pads */
|
||||||
gdouble srcwidth,srcheight; // size of src pads
|
gdouble srcwidth,srcheight; /* size of src pads */
|
||||||
gint sinks,srcs; // how many pads?
|
gint sinks,srcs; /* how many pads? */
|
||||||
|
|
||||||
GnomeCanvasGroup *insidegroup; // contents if any
|
GnomeCanvasGroup *insidegroup; /* contents if any */
|
||||||
|
|
||||||
gboolean resize; // does it need resizing?
|
gboolean resize; /* does it need resizing? */
|
||||||
gboolean active; // is it active (currently selected)
|
gboolean active; /* is it active (currently selected) */
|
||||||
|
|
||||||
/* list of pads */
|
/* list of pads */
|
||||||
GList *srcpads,*sinkpads;
|
GList *srcpads,*sinkpads;
|
||||||
|
@ -196,12 +196,12 @@ struct _GstEditorBin {
|
||||||
GList *elements, *connections;
|
GList *elements, *connections;
|
||||||
|
|
||||||
/* connection state */
|
/* connection state */
|
||||||
GstEditorPad *frompad; // where the drawing started from
|
GstEditorPad *frompad; /* where the drawing started from */
|
||||||
gboolean fromsrc; // are we connecting *from* a source?
|
gboolean fromsrc; /* are we connecting *from* a source? */
|
||||||
gboolean connecting; // if we're trying to connect right now
|
gboolean connecting; /* if we're trying to connect right now */
|
||||||
GstEditorConnection *connection; // the connection we're operating on
|
GstEditorConnection *connection; /* the connection we're operating on */
|
||||||
GstEditorPad *ghostpad; // potential ghost pad
|
GstEditorPad *ghostpad; /* potential ghost pad */
|
||||||
gboolean inpadregion; // is cursor in pad region
|
gboolean inpadregion; /* is cursor in pad region */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstEditorBinClass {
|
struct _GstEditorBinClass {
|
||||||
|
@ -286,19 +286,19 @@ struct _GstEditorPad {
|
||||||
/* visual stuff */
|
/* visual stuff */
|
||||||
GnomeCanvasGroup *group;
|
GnomeCanvasGroup *group;
|
||||||
GnomeCanvasItem *border,*title,*padbox;
|
GnomeCanvasItem *border,*title,*padbox;
|
||||||
gboolean sinkpad; // is this a sink pad?
|
gboolean sinkpad; /* is this a sink pad? */
|
||||||
gdouble x,y; // location
|
gdouble x,y; /* location */
|
||||||
gdouble width,height; // actual size
|
gdouble width,height; /* actual size */
|
||||||
gdouble boxwidth,boxheight; // size of pad box
|
gdouble boxwidth,boxheight; /* size of pad box */
|
||||||
gboolean resize; // does it need resizing?
|
gboolean resize; /* does it need resizing? */
|
||||||
|
|
||||||
/* interaction state */
|
/* interaction state */
|
||||||
gboolean dragging,resizing,moved;
|
gboolean dragging,resizing,moved;
|
||||||
gdouble dragx,dragy;
|
gdouble dragx,dragy;
|
||||||
|
|
||||||
/* connection */
|
/* connection */
|
||||||
// GnomeCanvasItem *connection; // can't use
|
/* GnomeCanvasItem *connection; // can't use */
|
||||||
//GstEditorConnection
|
/*GstEditorConnection */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstEditorPadClass {
|
struct _GstEditorPadClass {
|
||||||
|
@ -356,19 +356,19 @@ struct _GstEditorPadTemplate {
|
||||||
/* visual stuff */
|
/* visual stuff */
|
||||||
GnomeCanvasGroup *group;
|
GnomeCanvasGroup *group;
|
||||||
GnomeCanvasItem *border,*title,*padtemplatebox;
|
GnomeCanvasItem *border,*title,*padtemplatebox;
|
||||||
gboolean sinkpadtemplate; // is this a sink padtemplate?
|
gboolean sinkpadtemplate; /* is this a sink padtemplate?*/
|
||||||
gdouble x,y; // location
|
gdouble x,y; /* location */
|
||||||
gdouble width,height; // actual size
|
gdouble width,height; /* actual size */
|
||||||
gdouble boxwidth,boxheight; // size of padtemplate box
|
gdouble boxwidth,boxheight; /* size of padtemplate box */
|
||||||
gboolean resize; // does it need resizing?
|
gboolean resize; /* does it need resizing? */
|
||||||
|
|
||||||
/* interaction state */
|
/* interaction state */
|
||||||
gboolean dragging,resizing,moved;
|
gboolean dragging,resizing,moved;
|
||||||
gdouble dragx,dragy;
|
gdouble dragx,dragy;
|
||||||
|
|
||||||
/* connection */
|
/* connection */
|
||||||
// GnomeCanvasItem *connection; // can't use
|
/* GnomeCanvasItem *connection; // can't use */
|
||||||
//GstEditorConnection
|
/*GstEditorConnection */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstEditorPadTemplateClass {
|
struct _GstEditorPadTemplateClass {
|
||||||
|
@ -420,8 +420,8 @@ struct _GstEditorConnection {
|
||||||
/* visual stuff */
|
/* visual stuff */
|
||||||
GnomeCanvasItem *line;
|
GnomeCanvasItem *line;
|
||||||
GnomeCanvasPoints *points;
|
GnomeCanvasPoints *points;
|
||||||
gdouble x,y; // terminating point
|
gdouble x,y; /* terminating point */
|
||||||
gboolean resize; // does it need resizing?
|
gboolean resize; /* does it need resizing?*/
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstEditorConnectionClass {
|
struct _GstEditorConnectionClass {
|
||||||
|
|
Loading…
Reference in a new issue