Get it on Google Play
Hey check out this LuckyKhel App at:
Get it on Google Play Get it on Google Play
LuckyKhel

Friday, 1 June 2012

How to use Graphical interface in telium device


There is only one graphic context in EFT 930G that corresponds to the biggest window size (160 * 128 pixels).

1-There is no blinking process possible.Means ,donot use blink(on) methods.
2-Use of original printf, fprintf, gotoxy, wherex, wherey, cursor routines are not recommended as they are not linked to the graphic context.

3-In order to optimise the time to display, it is recommended to work on the full screen bits array and just paint at the end.
4-In other words, strings and bit maps can be inserted at different x and y position to build the full screen and when everything is done, paint routine can then be called.
5-A DOS tool will be provided that allows converting BMP file to defdisplaypattern bit map in order to quickly define some images
.Example:
// Put a text at 14,10 location
FontSize=_SMALL_;
CreateGraphics(FontSize);
_DrawString("TEXTE",14,10,_OFF_);
PaintGraphics();
// then clear this text
_SetArea (14,10,14+StringWidth("TEXTE"),14+FontSize,_OFF_);
PaintGraphics();

See more: http://teliumapplication.blogspot.in/

2 comments:



Hey check out this LuckyKhel App at:
Get it on Google Play Get it on Google Play
LuckyKhel