In the example below, a battery meter is drawn using a blank battery bitmap and a superimposed user drawn rectangle and text, with the width and colour depending on the charge level.
The action diagram code used to draw the battery is shown below.
This is an occasional blog about IET's use of CA Gen for internal development as well as thoughts, tips and techniques on using CA Gen for application development. It is aimed at the CA Gen development professional, so please excuse the jargon and assumed level of knowledge about CA Gen. Reference will also be made to our products to put the development into context, so if you are not familiar with these, please visit the IET web site by clicking on the company logo.
No comments:
Post a Comment