From db2c9c14ae499d8912a2af1d951814afcaf6ab9e Mon Sep 17 00:00:00 2001 From: dagenais Date: Mon, 19 Apr 2004 16:16:02 +0000 Subject: [PATCH] Cleanup almost finished git-svn-id: http://ltt.polymtl.ca/svn@503 04897980-b3bd-0310-b5e0-8ef037075253 --- .../lttv/modules/gui/controlflow/Makefile.am | 4 +- .../lttv/modules/gui/controlflow/module.c | 2 +- .../modules/gui/detailedevents/Makefile.am | 4 +- .../lttv/modules/gui/detailedevents/events.c | 2 +- .../poly/lttv/modules/gui/lttvgui/Makefile.am | 6 +- .../gui/{main => lttvwindow}/Makefile.am | 0 .../{main => lttvwindow}/glade/Makefile.am | 0 .../glade/lttvwindow.glade | 0 .../glade/lttvwindow.gladep | 0 .../lttv/modules/gui/lttvwindow/mainwin.glade | 760 ++++++++++++++++++ .../modules/gui/lttvwindow/mainwin.gladep | 11 + .../pixmaps/1downarrow.png | Bin .../{main => lttvwindow}/pixmaps/1uparrow.png | Bin .../{main => lttvwindow}/pixmaps/Makefile.am | 0 .../pixmaps/edit_add_22.png | Bin .../pixmaps/edit_remove_22.png | Bin .../{main => lttvwindow}/pixmaps/filenew.png | Bin .../{main => lttvwindow}/pixmaps/fileopen.png | Bin .../{main => lttvwindow}/pixmaps/filesave.png | Bin .../pixmaps/filesaveas.png | Bin .../{main => lttvwindow}/pixmaps/gtk-add.png | Bin .../pixmaps/gtk-jump-to.png | Bin .../pixmaps/mini-display.xpm | 0 .../pixmaps/move_message.xpm | 0 .../{main => lttvwindow}/pixmaps/remove.png | Bin .../{main => lttvwindow}/pixmaps/remove1.png | Bin .../pixmaps/stock_zoom_fit_24.png | Bin .../pixmaps/stock_zoom_in_24.png | Bin .../pixmaps/stock_zoom_out_24.png | Bin .../gui/{main => lttvwindow}/src/Makefile.am | 12 +- .../gui/{main => lttvwindow}/src/callbacks.c | 0 .../gui/{main => lttvwindow}/src/callbacks.h | 0 .../gui/{main => lttvwindow}/src/gtkdirsel.c | 0 .../{main => lttvwindow}/src/gtkmultivpaned.c | 0 .../{main => lttvwindow}/src/init_module.c | 2 +- .../gui/{main => lttvwindow}/src/interface.c | 0 .../gui/{main => lttvwindow}/src/interface.h | 0 .../gui/{main => lttvwindow}/src/lttvfilter.c | 0 .../gui/{main => lttvwindow}/src/main.c | 0 .../gui/{main => lttvwindow}/src/support.c | 0 .../gui/{main => lttvwindow}/src/support.h | 0 .../lttv/modules/gui/statistics/Makefile.am | 4 +- .../lttv/modules/gui/statistics/statistics.c | 2 +- 43 files changed, 790 insertions(+), 19 deletions(-) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/Makefile.am (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/glade/Makefile.am (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/glade/lttvwindow.glade (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/glade/lttvwindow.gladep (100%) create mode 100644 ltt/branches/poly/lttv/modules/gui/lttvwindow/mainwin.glade create mode 100644 ltt/branches/poly/lttv/modules/gui/lttvwindow/mainwin.gladep rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/1downarrow.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/1uparrow.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/Makefile.am (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/edit_add_22.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/edit_remove_22.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/filenew.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/fileopen.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/filesave.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/filesaveas.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/gtk-add.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/gtk-jump-to.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/mini-display.xpm (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/move_message.xpm (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/remove.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/remove1.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/stock_zoom_fit_24.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/stock_zoom_in_24.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/pixmaps/stock_zoom_out_24.png (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/src/Makefile.am (66%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/src/callbacks.c (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/src/callbacks.h (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/src/gtkdirsel.c (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/src/gtkmultivpaned.c (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/src/init_module.c (98%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/src/interface.c (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/src/interface.h (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/src/lttvfilter.c (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/src/main.c (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/src/support.c (100%) rename ltt/branches/poly/lttv/modules/gui/{main => lttvwindow}/src/support.h (100%) diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/Makefile.am b/ltt/branches/poly/lttv/modules/gui/controlflow/Makefile.am index 6938e2ff..4a42f660 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/Makefile.am +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/Makefile.am @@ -25,7 +25,7 @@ AM_CFLAGS = $(GLIB_CFLAGS) AM_CFLAGS += $(GTK_CFLAGS) LIBS += $(GLIB_LIBS) -LIBS += $(GTK_LIBS) -L${top_srcdir}/lttv/modules/gui/mainlib -lmainwinapi +LIBS += $(GTK_LIBS) -L${top_srcdir}/lttv/modules/gui/lttvgui -llttvgui libdir = ${lttvplugindir} @@ -38,4 +38,4 @@ noinst_HEADERS = eventhooks.h cfv.h cfv-private.h processlist.h\ drawing.h drawitem.h EXTRA_DIST = \ - hGuiControlFlowInsert.xpm \ No newline at end of file + hGuiControlFlowInsert.xpm diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/module.c b/ltt/branches/poly/lttv/modules/gui/controlflow/module.c index 5b9751d5..72ebf0ca 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/module.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/module.c @@ -111,4 +111,4 @@ static void destroy() { LTTV_MODULE("guicontrolflow", "Control flow viewer", \ "Graphical module to view processes state and control flow", \ - init, destroy, "mainwin") + init, destroy, "lttvwindow") diff --git a/ltt/branches/poly/lttv/modules/gui/detailedevents/Makefile.am b/ltt/branches/poly/lttv/modules/gui/detailedevents/Makefile.am index 527db859..e3523257 100644 --- a/ltt/branches/poly/lttv/modules/gui/detailedevents/Makefile.am +++ b/ltt/branches/poly/lttv/modules/gui/detailedevents/Makefile.am @@ -26,7 +26,7 @@ AM_CFLAGS = $(GLIB_CFLAGS) AM_CFLAGS += $(GTK_CFLAGS) LIBS += $(GLIB_LIBS) -LIBS += $(GTK_LIBS) -L${top_srcdir}/lttv/modules/gui/mainlib -lmainwinapi +LIBS += $(GTK_LIBS) -L${top_srcdir}/lttv/modules/gui/lttvgui -llttvgui libdir = ${lttvplugindir} @@ -36,4 +36,4 @@ libguievents_la_SOURCES = events.c noinst_HEADERS = gtkrbtree.h gtktreeprivate.h EXTRA_DIST = \ - hGuiEventsInsert.xpm \ No newline at end of file + hGuiEventsInsert.xpm diff --git a/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c b/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c index 2b2ceaad..7bb79fdc 100644 --- a/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c +++ b/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c @@ -1883,4 +1883,4 @@ static void destroy() { LTTV_MODULE("guievents", "Detailed events view", \ "Graphical module to display a detailed event list", \ - init, destroy, "mainwin") + init, destroy, "lttvwindow") diff --git a/ltt/branches/poly/lttv/modules/gui/lttvgui/Makefile.am b/ltt/branches/poly/lttv/modules/gui/lttvgui/Makefile.am index 4562409b..9f283e5f 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvgui/Makefile.am +++ b/ltt/branches/poly/lttv/modules/gui/lttvgui/Makefile.am @@ -11,9 +11,9 @@ AM_CFLAGS += $(GTK_CFLAGS) LIBS += $(GLIB_LIBS) LIBS += $(GTK_LIBS) -lib_LTLIBRARIES = libmainwinapi.la -libmainwinapi_la_SOURCES = toolbar.c menu.c gtktraceset.c -#libmainwinapi_la_LDFLAGS = -L${top_srcdir}/lttv/modules/gui/API -lcustomBox +lib_LTLIBRARIES = liblttvgui.la +liblttvgui_la_SOURCES = toolbar.c menu.c gtktraceset.c +#liblttvgui_la_LDFLAGS = -L${top_srcdir}/lttv/modules/gui/lttvgui -lcustomBox lttvguiinclude_HEADERS = \ common.h\ diff --git a/ltt/branches/poly/lttv/modules/gui/main/Makefile.am b/ltt/branches/poly/lttv/modules/gui/lttvwindow/Makefile.am similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/Makefile.am rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/Makefile.am diff --git a/ltt/branches/poly/lttv/modules/gui/main/glade/Makefile.am b/ltt/branches/poly/lttv/modules/gui/lttvwindow/glade/Makefile.am similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/glade/Makefile.am rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/glade/Makefile.am diff --git a/ltt/branches/poly/lttv/modules/gui/main/glade/lttvwindow.glade b/ltt/branches/poly/lttv/modules/gui/lttvwindow/glade/lttvwindow.glade similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/glade/lttvwindow.glade rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/glade/lttvwindow.glade diff --git a/ltt/branches/poly/lttv/modules/gui/main/glade/lttvwindow.gladep b/ltt/branches/poly/lttv/modules/gui/lttvwindow/glade/lttvwindow.gladep similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/glade/lttvwindow.gladep rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/glade/lttvwindow.gladep diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/mainwin.glade b/ltt/branches/poly/lttv/modules/gui/lttvwindow/mainwin.glade new file mode 100644 index 00000000..0d4cd97d --- /dev/null +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/mainwin.glade @@ -0,0 +1,760 @@ + + + + + + + 100 + 50 + True + Main window + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + 600 + 400 + True + False + + + + + True + False + 0 + + + + True + False + 0 + + + + True + + + + True + _File + True + + + + + + + True + New + True + + + + + + + True + Empty trace set + True + + + + + + + True + Clone trace set + True + + + + + + + True + + + + + + True + Tab + True + + + + + + + + + + + True + Open + True + + + + + + + True + Close + True + + + + + + + True + Close Tab + True + + + + + + + True + + + + + + True + Add Trace + True + + + + + + + True + Remove Trace + True + + + + + + + True + Save + True + + + + + + + True + Save As + True + + + + + + + True + + + + + + True + Quit + True + + + + + + + + + + + True + _Edit + True + + + + + + + True + gtk-cut + True + + + + + + + True + gtk-copy + True + + + + + + + True + gtk-paste + True + + + + + + + True + gtk-delete + True + + + + + + + + + + + True + _View + True + + + + + + + True + Zoom in + True + + + + + + + True + Zoom out + True + + + + + + + True + Zoom extended + True + + + + + + + True + + + + + + True + Go to time + True + + + + + + + True + Show time frame + True + + + + + + + + + + + True + Tools + True + + + + + + + True + Move viewer up + True + + + + + + + True + Move viewer down + True + + + + + + + True + Remove viewer + True + + + + + + + True + + + + + + True + Insert viewer test + True + + + + + + + + + + + True + Plugins + True + + + + + + + True + Load module + True + + + + + + + True + Unload module + True + + + + + + + True + Add module search path + True + + + + + + + + + + + True + Options + True + + + + + + + True + Color + True + + + + + + + True + + + + + + True + Filter + True + + + + + + + True + Save configuration + True + + + + + + + + + + 0 + False + False + + + + + + True + + + + True + _Help + True + + + + + + + True + Content + True + + + + + + + True + + + + + + True + About... + True + + + + + + + + + + 0 + False + False + GTK_PACK_END + + + + + 0 + False + False + + + + + + True + GTK_ORIENTATION_HORIZONTAL + GTK_TOOLBAR_ICONS + True + + + + 1 + True + New window with empty trace set + + True + filenew.png + + + + + + + 1 + True + open a trace set + + True + fileopen.png + + + + + + + 1 + True + Add a trace + + True + edit_add_22.png + + + + + + + 1 + True + Remove a trace + + True + edit_remove_22.png + + + + + + + 1 + True + save the current trace set + + True + filesave.png + + + + + + + 1 + True + save as + + True + filesaveas.png + + + + + + + 1 + True + Zoom in + + True + stock_zoom_in_24.png + True + + + + True + + + + + + 1 + True + Zoom out + + True + stock_zoom_out_24.png + + + + + + + 1 + True + Zoom extended + + True + stock_zoom_fit_24.png + + + + + + + 1 + True + Go to time + + True + gtk-jump-to.png + + + + + + + 1 + True + Show time frame + + True + mini-display.xpm + + + + + + + 1 + True + Move up current viewer + + True + 1uparrow.png + True + + + + True + + + + + + 1 + True + Move down current viewer + + True + 1downarrow.png + + + + + + + 1 + True + Delete current viewer + + True + remove.png + + + + + + 0 + False + False + + + + + + True + GTK_ORIENTATION_HORIZONTAL + GTK_TOOLBAR_BOTH + True + + + + + + + 0 + False + False + + + + + + True + True + True + True + GTK_POS_TOP + False + False + + + + + + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + tab + + + + + 0 + True + True + + + + + + True + True + + + 0 + False + False + + + + + + + diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/mainwin.gladep b/ltt/branches/poly/lttv/modules/gui/lttvwindow/mainwin.gladep new file mode 100644 index 00000000..31586846 --- /dev/null +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/mainwin.gladep @@ -0,0 +1,11 @@ + + + + + MainWin + mainwin + FALSE + FALSE + FALSE + FALSE + diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/1downarrow.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/1downarrow.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/1downarrow.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/1downarrow.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/1uparrow.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/1uparrow.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/1uparrow.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/1uparrow.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/Makefile.am b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/Makefile.am similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/Makefile.am rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/Makefile.am diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/edit_add_22.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/edit_add_22.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/edit_add_22.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/edit_add_22.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/edit_remove_22.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/edit_remove_22.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/edit_remove_22.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/edit_remove_22.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/filenew.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/filenew.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/filenew.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/filenew.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/fileopen.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/fileopen.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/fileopen.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/fileopen.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/filesave.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/filesave.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/filesave.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/filesave.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/filesaveas.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/filesaveas.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/filesaveas.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/filesaveas.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/gtk-add.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/gtk-add.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/gtk-add.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/gtk-add.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/gtk-jump-to.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/gtk-jump-to.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/gtk-jump-to.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/gtk-jump-to.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/mini-display.xpm b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/mini-display.xpm similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/mini-display.xpm rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/mini-display.xpm diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/move_message.xpm b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/move_message.xpm similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/move_message.xpm rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/move_message.xpm diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/remove.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/remove.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/remove.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/remove.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/remove1.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/remove1.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/remove1.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/remove1.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/stock_zoom_fit_24.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/stock_zoom_fit_24.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/stock_zoom_fit_24.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/stock_zoom_fit_24.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/stock_zoom_in_24.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/stock_zoom_in_24.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/stock_zoom_in_24.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/stock_zoom_in_24.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/pixmaps/stock_zoom_out_24.png b/ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/stock_zoom_out_24.png similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/pixmaps/stock_zoom_out_24.png rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/pixmaps/stock_zoom_out_24.png diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/Makefile.am b/ltt/branches/poly/lttv/modules/gui/lttvwindow/src/Makefile.am similarity index 66% rename from ltt/branches/poly/lttv/modules/gui/main/src/Makefile.am rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/src/Makefile.am index b80e2e80..41874356 100644 --- a/ltt/branches/poly/lttv/modules/gui/main/src/Makefile.am +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/src/Makefile.am @@ -3,7 +3,7 @@ AM_CFLAGS = $(GLIB_CFLAGS) AM_CFLAGS += $(GTK_CFLAGS) LIBS += $(GLIB_LIBS) -LIBS += $(GTK_LIBS) -L$(top_srcdir)/lttv/modules/gui/mainlib -lmainwinapi +LIBS += $(GTK_LIBS) -L$(top_srcdir)/lttv/modules/gui/lttvgui -llttvgui INCLUDES = \ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ @@ -13,12 +13,12 @@ INCLUDES = \ libdir = ${lttvplugindir} -#bin_PROGRAMS = mainwin -lib_LTLIBRARIES = libmainwin.la +#bin_PROGRAMS = lttvwindow +lib_LTLIBRARIES = liblttvwindow.la -libmainwin_la_LDFLAGS = -module -libmainwin_la_SOURCES = \ +liblttvwindow_la_LDFLAGS = -module +liblttvwindow_la_SOURCES = \ init_module.c \ support.c \ interface.c \ @@ -33,5 +33,5 @@ noinst_HEADERS = \ callbacks.h -libmainwin_la_LIBADD = @PACKAGE_LIBS@ $(INTLLIBS) +liblttvwindow_la_LIBADD = @PACKAGE_LIBS@ $(INTLLIBS) diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/callbacks.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/src/callbacks.c similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/src/callbacks.c rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/src/callbacks.c diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/callbacks.h b/ltt/branches/poly/lttv/modules/gui/lttvwindow/src/callbacks.h similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/src/callbacks.h rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/src/callbacks.h diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/gtkdirsel.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/src/gtkdirsel.c similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/src/gtkdirsel.c rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/src/gtkdirsel.c diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/gtkmultivpaned.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/src/gtkmultivpaned.c similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/src/gtkmultivpaned.c rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/src/gtkmultivpaned.c diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/init_module.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/src/init_module.c similarity index 98% rename from ltt/branches/poly/lttv/modules/gui/main/src/init_module.c rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/src/init_module.c index 31fb5923..22a7ea4f 100644 --- a/ltt/branches/poly/lttv/modules/gui/main/src/init_module.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/src/init_module.c @@ -185,6 +185,6 @@ static void destroy() { } -LTTV_MODULE("mainwin", "Viewer main window", \ +LTTV_MODULE("lttvwindow", "Viewer main window", \ "Viewer with multiple windows, tabs and panes for graphical modules", \ init, destroy, "stats") diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/interface.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/src/interface.c similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/src/interface.c rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/src/interface.c diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/interface.h b/ltt/branches/poly/lttv/modules/gui/lttvwindow/src/interface.h similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/src/interface.h rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/src/interface.h diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/lttvfilter.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/src/lttvfilter.c similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/src/lttvfilter.c rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/src/lttvfilter.c diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/main.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/src/main.c similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/src/main.c rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/src/main.c diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/support.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/src/support.c similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/src/support.c rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/src/support.c diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/support.h b/ltt/branches/poly/lttv/modules/gui/lttvwindow/src/support.h similarity index 100% rename from ltt/branches/poly/lttv/modules/gui/main/src/support.h rename to ltt/branches/poly/lttv/modules/gui/lttvwindow/src/support.h diff --git a/ltt/branches/poly/lttv/modules/gui/statistics/Makefile.am b/ltt/branches/poly/lttv/modules/gui/statistics/Makefile.am index f15a5b9f..ae4c8141 100644 --- a/ltt/branches/poly/lttv/modules/gui/statistics/Makefile.am +++ b/ltt/branches/poly/lttv/modules/gui/statistics/Makefile.am @@ -7,7 +7,7 @@ AM_CFLAGS = $(GLIB_CFLAGS) AM_CFLAGS += $(GTK_CFLAGS) LIBS += $(GLIB_LIBS) -LIBS += $(GTK_LIBS) -L${top_srcdir}/lttv/modules/gui/mainlib -lmainwinapi +LIBS += $(GTK_LIBS) -L${top_srcdir}/lttv/modules/gui/lttvgui -llttvgui libdir = ${lttvplugindir} @@ -16,4 +16,4 @@ libguistatistics_la_LDFLAGS = -module libguistatistics_la_SOURCES = statistics.c EXTRA_DIST = \ - hGuiStatisticInsert.xpm \ No newline at end of file + hGuiStatisticInsert.xpm diff --git a/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c b/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c index d1726c00..d596b859 100644 --- a/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c +++ b/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c @@ -687,5 +687,5 @@ static void destroy() { LTTV_MODULE("guistatistics", "Statistics viewer", \ "Graphical module to view statistics about processes, CPUs and systems", \ - init, destroy, "mainwin") + init, destroy, "lttvwindow") -- 2.34.1