From 018efc8ef96a77529507b8a1614067821be8b90d Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Wed, 8 Jul 2015 23:16:06 +0200 Subject: Add simple test client embryo --- rcm-client-transmit.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 rcm-client-transmit.c (limited to 'rcm-client-transmit.c') diff --git a/rcm-client-transmit.c b/rcm-client-transmit.c new file mode 100644 index 0000000..62b0a7f --- /dev/null +++ b/rcm-client-transmit.c @@ -0,0 +1,31 @@ +#include +#include +#include +#include +#include +#include + +#include "generated.h" +#include "rcm-client-main.h" +#include "rcm-client-transmit.h" + +static GtkWidget *label = NULL; + +void rcng_client_transmit_destroy_ui() +{ + if (label) + gtk_widget_destroy(label); + + label = NULL; +} + +void rcng_client_transmit_init_ui() +{ + GtkWidget *label; + + rcng_client_transmit_destroy_ui(); + label = gtk_label_new("Transmitting"); + gtk_widget_show_all(label); + gtk_notebook_append_page(global->notebook, label, gtk_label_new("Transmit")); +} + -- cgit v1.2.3