Commit 86dbbacc authored by claes's avatar claes

New Profibus Configurator

parent 2ae5d684
/**
* Proview $Id: co_mrm_util.c,v 1.4 2005-09-01 14:57:52 claes Exp $
* Proview $Id: co_mrm_util.c,v 1.5 2006-03-22 14:45:57 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -150,6 +150,25 @@ void mrm_TextInit( Widget w, XtActionProc value_changed_cb,
XtOverrideTranslations( w, compiled_translations_attr);
break;
}
case mrm_eUtility_GsdAttr:
{
static XtTranslations compiled_translations_gsdattr = NULL;
static char translations_gsdattr[] = "<KeyDown>: key_down_gsdattr()";
static XtActionsRec actions_gsdattr[1] =
{
{"key_down_gsdattr", 0}
};
actions_gsdattr[0].proc = value_changed_cb;
if (compiled_translations_gsdattr == NULL)
XtAppAddActions( XtWidgetToApplicationContext(w),
actions_gsdattr, XtNumber(actions_gsdattr));
if (compiled_translations_gsdattr == NULL)
compiled_translations_gsdattr = XtParseTranslationTable(translations_gsdattr);
XtOverrideTranslations( w, compiled_translations_gsdattr);
break;
}
default:
;
}
......
/**
* Proview $Id: co_mrm_util.h,v 1.4 2005-09-01 14:57:52 claes Exp $
* Proview $Id: co_mrm_util.h,v 1.5 2006-03-22 14:45:57 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -36,7 +36,8 @@ typedef enum {
mrm_eUtility_Attr,
mrm_eUtility_Wda,
mrm_eUtility_XAtt,
mrm_eUtility_XAttOne
mrm_eUtility_XAttOne,
mrm_eUtility_GsdAttr
} mrm_eUtility;
void mrm_TextInit( Widget w, XtActionProc value_changed_cb, mrm_eUtility utility);
......
!
! Proview $Id: rt_pb_msg.msg,v 1.2 2005-09-01 14:58:00 claes Exp $
! Proview $Id: rt_pb_msg.msg,v 1.3 2006-03-22 14:43:45 claes Exp $
! Copyright (C) 2005 SSAB Oxelsund AB.
!
! This program is free software; you can redistribute it and/or
......@@ -25,6 +25,15 @@ normal <normal operating state> /succ
initfail <failed to initialize slave or module> /error
disabled <slave is disabled> /warning
noconn <no connection to slave> /error
attrnoedit <Attribute is no edit> /error
noattrsel <No attributes is selected> /error
userprmdatalen <Mismatch in UserPrmDataLen> /error
moduleidx <Module index out of range> /error
modocc <All modules are occupied> /error
gsdfile <Unable to open gsd file> /error
nomodulename <Module name is missing> /error
duplmodulename <Duplicate module name> /error
nomoduleclass <Module class is missing> /error
.end
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