diff options
author | David Härdeman <david@hardeman.nu> | 2015-07-08 23:16:06 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2015-07-08 23:16:06 +0200 |
commit | 018efc8ef96a77529507b8a1614067821be8b90d (patch) | |
tree | c9ddacf9f800a63131d7bfa9a241d379f389701c /rcm-client-transmit.c | |
parent | ce38f3d01c76327fcbeadccf125f7e7540ed4721 (diff) |
Add simple test client embryo
Diffstat (limited to 'rcm-client-transmit.c')
-rw-r--r-- | rcm-client-transmit.c | 31 |
1 files changed, 31 insertions, 0 deletions
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 <stdio.h> +#include <stdlib.h> +#include <stdbool.h> +#include <string.h> +#include <math.h> +#include <gtk/gtk.h> + +#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")); +} + |