PH World Clock

Probe House Software
by Wong CK
© Copyright 2014-2019

Version 1.2

What is this?

PH World Clock displays the time of your selected city, region or country. It uses NTP time server, Google geolocation and Google time zone services for time calculation.As with any geolocation services, you just enter the name of the location of interest - it can be a city, street address, airport abbreviation or just the country name. PH World clock has the option to use the country's flag for the clock face. Flags are downloaded from Geonames.org.

PH World clock allows multiple clocks to be displayed, so you can have the time of several locations on your desktop.
PH World Clock is free-ware.

Requirements

  1. It runs on MINT. Development was done on Mint 1,18.
  2. MintNet running with Internet access.
  3. You also need to have LDG graphics codec, by Zoro, correctly installed (the LDG codecs only).
  4. Screen colours of 256 colours, but you can still use it if you have 16 colours only.

Installation

  1. Extract and copy all the files into a folder of your choice. For example d:\phwclk.
  2. Make sure that your LDG graphics codecs are in the default folder of C:\GEMSYS\LDG\CODECS folder.
  3. Double click phwclk.prg to run it !!
You could make PH World Clock run every time you boot up by using the run command in your Xaaes.cnf file.

The Clock Face

  • The Clock face is the application window, showing the time of a location.
  • The clock face can be selected to be the country flag or a colourful world map
  • You have options to display clock face markings and to change the colours of the hands.

Moving the Clock

  • You can move the clock around your desktop.
  • Click and press on any part of the clock until the mouse changes to a hand
  • Now you can simply move the wire-frame box to the new desktop location and release the mouse
  • The clock will be move to the position where the mouse was released

Usage - options

Right click on the clock face for a popup menu
  • The About displays.... well, the about of the app
  • Click on New Clock to create a new clock face
  • Click on Close Clock to close the clock face
  • Click on Configuration to get into the configuration settings
  • Select Quit App to close all clock face and exit

Configuration Window

    Here you can make changes to the location and look of the clock.

  • Toggle Show markings to show hours markings on the clock.
  • Toggle Thin hands for the clock hands. Sometimes due to resolution, you may need thinner clock hands to get it to display. I don't know why, but I stumbled on to this solution.
  • Colours - click on the colour bar to change the colour for the following objects
    • Hour hand, Minutes hand and the face markings.
  • Enter the location in the City field.
    • This can be a city, airport code, region, country or a street address.
    • Misspelled location names may be corrected by Google (e.g. lougboroh will yield Loughborough).
  • Toggle the Use Flag show use the country flag for the clock face.
    • This requires an internet download if the flag graphics is not found on the local storage.
    • Downloading the flag may take longer time than expected - so please be patience.

Displaying the Location & time zone information

To display the location name, time and the time zone name, left click on the clock face (the flag or world map window).
  1. If BubbleGEM is available, you can also hover the mouse over the clock face to bring out the display of location name and time zone. Bubble Help is build-in of XaAES since Mint 1.18.
  2. If BubbleGEM is not available, left clicking will bring out a pop-up display of location name and time zone. The clock face must be the top window for this method.

Steps for multiple Clocks

  1. Right click on the existing clock face and select New Clock.
  2. A new clock will appear.
  3. Right click on the new clock and select Configuration.
  4. In the configuration window, enter the location of interest.
  5. Click OK and it will try to get the time information for that location.

Limitations

Version history

Version 1.2 : Changed free web services for time information. Old service became subscription based.
Version 1.1 : Fixed NAES GUI issues.
Version 1.0 : Released.

Thanks

Thanks to NTP.pool.org, Google, Telize.com and Geonames.org for their free internet services. Thanks to the Atari Mint OS developers and LDG devlopers. Thanks to Atari-Forums.com for running the forum. Thanks for the support from the Atari-Forum users.

Future developements

No improvement planned so far.



Questions, comments, or error reports? Please leave a post at Atari-Forum.com
Visit my web site at https://sites.google.com/site/probehouse/