Commit 879fc238 authored by Claes Sjofors's avatar Claes Sjofors

Profinet configurator, recall buffer added to value input

parent f9134b49
......@@ -40,7 +40,9 @@
#include "rt_pb_msg.h"
#include "cow_pn_gsdml_attr_gtk.h"
#include "cow_pn_gsdml_attrnav_gtk.h"
#include "cow_wow_gtk.h"
CoWowRecall GsdmlAttrGtk::value_recall;
void GsdmlAttrGtk::message( char severity, const char *message)
{
......@@ -456,7 +458,8 @@ GsdmlAttrGtk::GsdmlAttrGtk( GtkWidget *a_parent_wid,
gtk_widget_set_size_request( msg_label, -1, 25);
cmd_prompt = gtk_label_new( "value > ");
gtk_widget_set_size_request( cmd_prompt, -1, 25);
cmd_input = gtk_entry_new();
cmd_entry = new CoWowEntryGtk( &value_recall);
cmd_input = cmd_entry->widget();
gtk_widget_set_size_request( cmd_input, -1, 25);
g_signal_connect( cmd_input, "activate",
G_CALLBACK(activate_cmd_input), this);
......
......@@ -44,6 +44,8 @@ class GsdmlAttrGtk : public GsdmlAttr {
GtkWidget *menubutton_changevalue;
GtkWidget *menubutton_viewio;
CoWowFocusTimerGtk focustimer;
static CoWowRecall value_recall;
CoWowEntryGtk *cmd_entry;
GsdmlAttrGtk( GtkWidget *a_parent_wid,
void *a_parent_ctx,
......
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