Commit 9cedfbcf authored by Cedric Roux's avatar Cedric Roux

add openair logo to enb.c

parent d08a2b1a
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include "utils.h" #include "utils.h"
#include "../T_defs.h" #include "../T_defs.h"
#include "event_selector.h" #include "event_selector.h"
#include "openair_logo.h"
#define DEFAULT_REMOTE_PORT 2021 #define DEFAULT_REMOTE_PORT 2021
...@@ -116,6 +117,7 @@ static void enb_main_gui(gui *g, event_handler *h, void *database) ...@@ -116,6 +117,7 @@ static void enb_main_gui(gui *g, event_handler *h, void *database)
widget *main_window; widget *main_window;
widget *top_container; widget *top_container;
widget *line; widget *line;
widget *logo;
widget *input_signal_plot; widget *input_signal_plot;
logger *input_signal_log; logger *input_signal_log;
view *input_signal_view; view *input_signal_view;
...@@ -131,6 +133,8 @@ static void enb_main_gui(gui *g, event_handler *h, void *database) ...@@ -131,6 +133,8 @@ static void enb_main_gui(gui *g, event_handler *h, void *database)
line = new_container(g, HORIZONTAL); line = new_container(g, HORIZONTAL);
widget_add_child(g, top_container, line, -1); widget_add_child(g, top_container, line, -1);
logo = new_image(g, openair_logo_png, openair_logo_png_len);
widget_add_child(g, line, logo, -1);
input_signal_plot = new_xy_plot(g, 256, 55, "input signal", 20); input_signal_plot = new_xy_plot(g, 256, 55, "input signal", 20);
widget_add_child(g, line, input_signal_plot, -1); widget_add_child(g, line, input_signal_plot, -1);
xy_plot_set_range(g, input_signal_plot, 0, 7680*10, 20, 70); xy_plot_set_range(g, input_signal_plot, 0, 7680*10, 20, 70);
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment