View Single Post
Old 10-23-2014, 11:45 PM   #2
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 2,986
Karma: 18343081
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
The newest devices use a different iconfigedit structure than the old one given in the SDK. You should use:

Code:
typedef struct iconfigedit_new_s {
  int type;
  const ibitmap *icon;
  char *text;
  char *hint;
  char *name;
  char *deflt;
  char **variants;
  struct iconfigedit_s *submenu;
  ibitmap **icon_theme;
} iconfigedit_new;
You can use the above and cast it to iconfigedit in the call to OpenConfig, or edit your inkview.h file and hack the defined iconfigedit struct to look like the above. This will only work on new devices.
rkomar is offline   Reply With Quote