Commit 7a39528b authored by claes's avatar claes

Utilities XAtt and XAttOne added

parent 69777941
...@@ -78,6 +78,7 @@ void mrm_TextInit( Widget w, XtActionProc value_changed_cb, ...@@ -78,6 +78,7 @@ void mrm_TextInit( Widget w, XtActionProc value_changed_cb,
break; break;
} }
case mrm_eUtility_WAtt: case mrm_eUtility_WAtt:
case mrm_eUtility_XAtt:
{ {
static XtTranslations compiled_translations_watt = NULL; static XtTranslations compiled_translations_watt = NULL;
static char translations_watt[] = "<KeyDown>: key_down_watt()"; static char translations_watt[] = "<KeyDown>: key_down_watt()";
...@@ -97,6 +98,7 @@ void mrm_TextInit( Widget w, XtActionProc value_changed_cb, ...@@ -97,6 +98,7 @@ void mrm_TextInit( Widget w, XtActionProc value_changed_cb,
break; break;
} }
case mrm_eUtility_Wda: case mrm_eUtility_Wda:
case mrm_eUtility_XAttOne:
{ {
static XtTranslations compiled_translations_wda = NULL; static XtTranslations compiled_translations_wda = NULL;
static char translations_wda[] = "<KeyDown>: key_down_wda()"; static char translations_wda[] = "<KeyDown>: key_down_wda()";
......
...@@ -20,7 +20,9 @@ typedef enum { ...@@ -20,7 +20,9 @@ typedef enum {
mrm_eUtility_PlcEditor, mrm_eUtility_PlcEditor,
mrm_eUtility_WAtt, mrm_eUtility_WAtt,
mrm_eUtility_Attr, mrm_eUtility_Attr,
mrm_eUtility_Wda mrm_eUtility_Wda,
mrm_eUtility_XAtt,
mrm_eUtility_XAttOne
} mrm_eUtility; } mrm_eUtility;
void mrm_TextInit( Widget w, XtActionProc value_changed_cb, mrm_eUtility utility); void mrm_TextInit( Widget w, XtActionProc value_changed_cb, mrm_eUtility utility);
......
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