projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes to control flow view GC
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
controlflow
/
cfv.c
diff --git
a/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c
b/ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c
index 0917305aa4235ac51106bd5a9bc2a8421abea12c..47ad080bfb46f9cc91ce2ccc92ddaebe3ae9bf3d 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c
+++ b/
ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c
@@
-16,6
+16,10
@@
* MA 02111-1307, USA.
*/
* MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <glib.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
@@
-44,7
+48,6
@@
header_size_allocate(GtkWidget *widget,
}
}
-
/*****************************************************************************
* Control Flow Viewer class implementation *
*****************************************************************************/
/*****************************************************************************
* Control Flow Viewer class implementation *
*****************************************************************************/
@@
-57,12
+60,14
@@
header_size_allocate(GtkWidget *widget,
* @return The widget created.
*/
ControlFlowData *
* @return The widget created.
*/
ControlFlowData *
-guicontrolflow(
void
)
+guicontrolflow(
Tab *tab
)
{
GtkWidget *process_list_widget, *drawing_widget, *drawing_area;
ControlFlowData* control_flow_data = g_new(ControlFlowData,1) ;
{
GtkWidget *process_list_widget, *drawing_widget, *drawing_area;
ControlFlowData* control_flow_data = g_new(ControlFlowData,1) ;
+ control_flow_data->tab = tab;
+
control_flow_data->v_adjust =
GTK_ADJUSTMENT(gtk_adjustment_new( 0.0, /* Value */
0.0, /* Lower */
control_flow_data->v_adjust =
GTK_ADJUSTMENT(gtk_adjustment_new( 0.0, /* Value */
0.0, /* Lower */
@@
-116,7
+121,9
@@
guicontrolflow(void)
process_list_widget, FALSE, TRUE);
gtk_paned_pack2(GTK_PANED(control_flow_data->h_paned),
drawing_widget, TRUE, TRUE);
process_list_widget, FALSE, TRUE);
gtk_paned_pack2(GTK_PANED(control_flow_data->h_paned),
drawing_widget, TRUE, TRUE);
-
+
+ gtk_container_set_border_width(GTK_CONTAINER(control_flow_data->box), 1);
+
/* Set the size of the drawing area */
//drawing_Resize(drawing, h, w);
/* Set the size of the drawing area */
//drawing_Resize(drawing, h, w);
@@
-147,7
+154,6
@@
guicontrolflow(void)
//inserted in the main window before the drawing area
//can be configured (and this must happend bedore sending
//data)
//inserted in the main window before the drawing area
//can be configured (and this must happend bedore sending
//data)
-
return control_flow_data;
return control_flow_data;
This page took
0.037601 seconds
and
4
git commands to generate.