I made the prototype, should I post it here?
I think the clock should be:
- The UI should be as simple as possible
- It consists of only 2 forms: config form and the form for showing the clocks
- The mainform is the config form
- User can choose how many clocks to be shown
- If user choose 0 clock then it will show the credit page
- The form for the clocks is resizable
Questions:- Can I use third party graphics library?
- What is the maximum numbers of clocks?
- What should I show on the credit page?
- What is the name of this project?
I quickly made a prototype. Not for now, but later it will be have choose-able skins. Do you guys remember the steampunkclock by @bylaardt? That was awesome. For better performance I use BGRABitmap, which I believe should have no problem to run on wide range of hardware. To make it easy for beginners to study I use the old-school style, I do not write new class. And I do not optimize the code for performance.
I (later) will try to move the UI and the drawing module away from mainform, so it will be easy to combine with the time zone synchronization code. Here is how to activate the clock:
frmClocks.SetMainform(Self);
frmClocks.SetLayout(Row, Col);
frmClocks.Show;
For now, the demo only shows rotating icons. The clocks is not proportional resized, I will fix this issue later. Anyone please try it on different hardware and OSes. Does it work right? Do you have any suggestions?
Note:
To able to compile it, BGRABitmap need to be installed. Here is how to install BGRABitmap:
Lazarus main menu >
Package >
Online Package Manager >
BGRABitmap >
Install >
From repository