AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/wb/clock.i386-aros.lha

Mirror:Random
Showing: ppc-warpup icongeneric icon
No screenshot available
Short:Clock for the Workbench titlebar
Author:Alex Carmona, AROS Miloslav Martinka
Uploader:mmartinka volny cz (Miloslav Martinka)
Type:util/wb
Version:1.1
Architecture:i386-aros
Date:2010-12-23
Requires:aros-i386
Download:util/wb/clock.i386-aros.lha - View contents
Readme:util/wb/clock.i386-aros.readme
Downloads:867

This clock is based on port of DigiClock 1.0 by Alex Carmon from Amiga OS 4.x. 

Changelist:

+- edited for compatibility with AROS OS
-  gradient colors function removed
+  added the function for setting the colors of background in RGB
+  you can now use the PNG file as a background for clock

Rest of the functions is identical with version for Amiga OS 4.0

- Clock with standard HH:MM:SS time
- Automatically adjusts its height to match the WB titlebar
- Automatically positions itself next to the screen depth gadget
- Shadow under font for better contrast
- Displays the current day and date on the titlebar
- User-defined font name and size
- User-defined vertical offset for font with odd sized digits
- User-defined window position to override the automatic placement
- User-defined text/shadow/background/picture
- User-defined external command on double-click

===============================================================================

USAGE:

Add DigiClock to your WBStartup or launch it from its icon when desired.

To quit, select the clock and press the Esc key

User-defined settings are stored in the icon ToolTypes so it must be launched
from Workbench or with 'WBRun' from the CLI for the custom settings to apply.

By default the ToolTypes are all disabled and contain the default settings:

FONTNAME
The FontName must end with .font and shouldn't be enclosed in quotes even if it
has spaces in its name or it will use topaz.font
Default: FontName=topaz.font
Example: FontName=Time Roman.font

FONTSIZE
The window isn't constrained horizontally so it automatically adjusts its width
to fit the clock text, however it is constrained vertically to match the
titlebar height so the font size shouldn't be set too big or it won't fit
within the vertical area.
Default: FontSize=11

FONTYOFFSET
The program tries to center the time text vertically according to the height of
the font relative to the window but some fonts like Helvetica have smaller
digits for the number than the letters, causing the time to look a bit too low.
Increasing or decreasing the Y offset moves the text down or up respectively.
Default: FontYOffset=0
Example: FontYOffset=-2

WINPOSX and WINPOSY
By default the program positions the clock on the Workbench titlebar, next to
the screen depth gadget. If desired you can override the default position with
these ToolTypes.
Defaults: WinPosX=-1 and WinPosY=0

FGPEN and SHADOWPEN
The color of the font and its shadow can be customized by specifying different
pens from 0 to 255 (use SYS:Prefs/Palette to find or allocate pen numbers).
Defaults: FgPen=2 (white), BgPen=0 (grey), ShadowPen=1 (black)

BGCOLOUR
The color of the background can be customized by specifying in RGB.
BGcolour=0,0,0 (black), BGcolour=255,255,255 (white), BGColour=255,0,255 (pink) 

BGIMAGE
The clock window background can have picture in PNG format.
BGImage=bgclock_blue.png

DBLCLICKCMD
When double-clicking on the clock, by default it opens SYS:Prefs/Time just like
Clock.docky, but where's the fun unless you can set it to any command you want?
Default: DblClickCmd=SYS:Prefs/Time
Example: DblClickCmd=Date SERVER pool.ntp.org
Example: DblClickCmd=Date LFORMAT "%H %M" TO SPEAK:opt/f/r/p180/s160
Example: DblClickCmd=Execute MyScript

===============================================================================

HISTORY:

v1.1 (20.12.2010)
- First public AROS release

v1.0 (16.10.2010)
- First public release

--------------------------------------------------------------------------------
For AROS edited by Miloslav Martinka



Uploaded using: archives.aros-exec.org


Contents of util/wb/clock.i386-aros.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
-rwx------ 65534/65534   10600   12402  85.5% -lh5- 504b Oct 17 21:45 Clock_1.1.info
drwx------ 65534/65534       0       0 ****** -lhd- 0000 Dec 20 20:09 Clock_1.1/
-rwx------ 65534/65534    7447   17156  43.4% -lh5- 490f Dec 20 19:54 Clock_1.1/DigiClock
-rwx------ 65534/65534    3390    9478  35.8% -lh5- 3154 Oct 18 00:19 Clock_1.1/DigiClock-1.0.c
-rwx------ 65534/65534    4000   11980  33.4% -lh5- 3618 Dec 20 19:53 Clock_1.1/DigiClock-1.1-aros.c
-rwx------ 65534/65534    1681    3620  46.4% -lh5- 3eb4 Dec 21 13:30 Clock_1.1/DigiClock-1.1-aros.readme
-rwx------ 65534/65534     481    1108  43.4% -lh5- 620c Dec 20 20:09 Clock_1.1/DigiClock.info
-rwx------ 65534/65534    2043    4540  45.0% -lh5- d6b6 Oct 18 00:10 Clock_1.1/DigiClock.readme
-rwx------ 65534/65534   10315   12232  84.3% -lh5- c995 Oct 17 21:44 Clock_1.1/DigiClock.readme.info
-rwx------ 65534/65534     279     279 100.0% -lh0- 4b1f Dec  3 11:54 Clock_1.1/bgclock_blue.png
-rwx------ 65534/65534    2214    2214 100.0% -lh0- f68e Dec 20 09:02 Clock_1.1/bgclock_orange.png
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        11 files   42450   75009  56.6%            Dec 22 20:45
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>