Codaedit: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 9: Line 9:
* create new ''xpm'' file in directory ''xpm_icon'' and put it into ''Editor_pixmap.c'' (3 different xpm's ?)
* create new ''xpm'' file in directory ''xpm_icon'' and put it into ''Editor_pixmap.c'' (3 different xpm's ?)


* add function ''XcodaConfigXxxButton(Widget parent)'' in ''Editor_cmd_btns.c''
* add function ''XcodaConfigXxxButton()'' and modify function ''XcodaEditorNewButtons()'' in ''Editor_cmd_btns.c'', new button will shows up in menu

Revision as of 18:02, 18 July 2015

Graphic editor for Coda data acquisition system.

To add new component:

  • add new define's to Editor.h and Editor_graph.h
  • add new component to the XcodaEditorPixmaps structure in Editor_pixmap.h (3 different xpm's ?) and Manager structure in Editor_layout.h
  • create new xpm file in directory xpm_icon and put it into Editor_pixmap.c (3 different xpm's ?)
  • add function XcodaConfigXxxButton() and modify function XcodaEditorNewButtons() in Editor_cmd_btns.c, new button will shows up in menu