From 73c7136bdb7e54789cbcb82afe8e17f81d1921e8 Mon Sep 17 00:00:00 2001 From: DMaroo Date: Sat, 7 Aug 2021 21:01:23 +0530 Subject: Start plot UI window maximized on launch --- utils/plot_ui/afl-plot-ui.c | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/plot_ui') diff --git a/utils/plot_ui/afl-plot-ui.c b/utils/plot_ui/afl-plot-ui.c index 856bf082..1a1eb0ed 100644 --- a/utils/plot_ui/afl-plot-ui.c +++ b/utils/plot_ui/afl-plot-ui.c @@ -141,6 +141,7 @@ int main(int argc, char **argv) { g_signal_connect(G_OBJECT(window), "destroy", G_CALLBACK(gtk_main_quit), NULL); gtk_widget_show_all(window); + gtk_window_maximize(GTK_WINDOW(window)); gtk_main(); return EXIT_SUCCESS; -- cgit 1.4.1 From d832ed68eaa9bc514b788970c21a68e606c0dfea Mon Sep 17 00:00:00 2001 From: DMaroo Date: Sat, 7 Aug 2021 21:05:06 +0530 Subject: Updated README with build and install instructions --- utils/plot_ui/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'utils/plot_ui') diff --git a/utils/plot_ui/README.md b/utils/plot_ui/README.md index d8afa09f..145ec219 100644 --- a/utils/plot_ui/README.md +++ b/utils/plot_ui/README.md @@ -2,4 +2,14 @@ `afl-plot-ui` is a helper utility for rendering the GNUplot graphs in a GTK window. This allows to real time resizing, scrolling, and cursor positioning features while viewing the graph. This utility also provides options to hide graphs using check buttons. +Currently, this utility is not built by default. +You can manually build and install `afl-plot-ui` as follows + +```shell +sudo apt install libgtk-3-0 libgtk-3-dev pkg-config +make +cd ../../ +sudo make install +``` + *NOTE:* This utility is not meant to be used standalone. Never run this utility directly. Always run [`afl-plot`](../../afl-plot), which will, in turn, invoke this utility (when run using `-g` or `--graphical` flag). \ No newline at end of file -- cgit 1.4.1