Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who is Online
25 user(s) are online (17 user(s) are browsing Forum)

Members: 0
Guests: 25

more...


Browsing this Thread:   1 Anonymous Users






Example 12: Clock.e
#1
Home away from home
Home away from home


See User information
Here is the Twelveth example of the next release of PortablE:
Example 12: Clock.e

This example shows a resizable graphics window, which contains a basic analogue clock. It is a port of an old AmigaE program by Horst Schumann, and is 210 lines of E code (plus 39 lines of comments at the start). Shows how to handle a resizable window, and how to use a timer. There is also quite a bit of maths to get the lines to go around in a circle, which you should probably ignore!

To give you an idea what to expect, here is a screen shot:
Resized Image

Posted on: 2011/11/5 12:55
ChrisH
--
Author of the PortablE programming language.
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4462
2 nikolaos
nikolaos
4206
3 magorium
magorium
4095
4 phoenixkonsole
phoenixkonsole
3942
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2810
7 mazze
mazze
2222
8 Kalamatee
Kalamatee
2212
9 clusteruk
clusteruk
2114
Powered by XOOPS © 2001-2025 The XOOPS Project