------------------------------------------------------------------------------
	Clock4Win Ver.1.01

	PC launcher support Wake on LAN 

                             Copyright(C) 2009-2021 GUSUKU All Rights Reserved
------------------------------------------------------------------------------
                                                      Last updatedF2021/10/10

[Overview]

	This software is a clock application with timer, alarm and stopwatch 
	functions.

	I was looking for a timer and stopwatch that can change the resolution in
	about
	10ms to 1 second, but I couldn't find it, so I made it myself.

	I added the function of the clock in the beginning, but recently I wanted
	to make the clock resident, so I added the function to display in the form
	of an analog clock to what was initially only a digital display. 

	The timer and stopwatch were created with the aim of measuring up to about
	10ms, but the timer function of Windows cannot be expected to have very
	fine accuracy, and there is no choice but to manually operate the start and
	stop, so the operation aspect However, I found that I couldn't expect
	accuracy, so I can't expect much in that area.

	It seems that it can be used in seconds, so I think it can be used as a 
	timer or stopwatch with that level of accuracy.

	When displaying an analog clock, it can only be displayed in seconds, but
	I would like to add a hand that can be displayed in 1 second for 1 week.

	I also added a function to put it in the task tray and a function to
	register it in the startup, and now the function called the analog clock
	that resides on the desktop has become the main function.

	The display format can be switched between digital clock and analog clock,
	and several patterns of dial display methods are available.

	The timer for analog display starts from the state where the set time is 
	displayed in hours, minutes, and seconds, and is displayed to rotate in the
	reverse direction toward 0:00:00.

	I also added an alarm function to specify the time, so I hope that you can
	register it in the startup and use it as a clock that resides on your
	desktop. 

[Operating Environment]
	Windows 7, Windows 10

[Configuration file]

	The following files are generated when you extract the archive.

    	Clock4Win.exe        Program file
    	Readme-jp.txt        Document file written in Japanese.
    	Readme-en.txt        This file

	Note:
    	This file was converted to English using google translation the 
		Readme-jp.txt written in Japanese.

[Installation]

	Please put in the appropriate folder Clock4Win.exe.
	You do not need special installation.

	However, if you place the Clock4Win.exe file in the C:\Program Files or
	C:\Program Files(x86) folder, the configuration file cannot be saved unless
	you run the program as an administrator, so place it in another folder. 

	When you start Clock4Win.exe for the first time, a configuration file named
	Clock4Win.ini is created in the same folder as Clock4Win.exe.

	All settings of this program are set in the context menu (pop-up menu). 

[Uninstall]

	To uninstall, just delete the executable Clock4Win.exe and Clock4Win.ini
	created in the same folder. 

	If you have added it to the startup, uncheck "Add to startup" in the 
	"Settings" menu in the program menu before deleting it.

	The "Add to Startup" feature only creates a shortcut for his Clock4Win.exe
	in the Startup folder in the user's Start menu, so you can also remove it
	by deleting the shortcut. 

[How to use]

	Start Clock4Win.exe that you copied to any folder.

	To use the functions of this program, use the context menu displayed by
	clicking the right mouse button on the window of this program. 

[Startup parameters ]

	You can specify the file name of the configuration file as an argument of
	the command.

	By specifying the configuration file name, the same program can be started
	with different settings.

	In that case, the setting changes during startup are saved in the specified
	setting file.

	If you specify the setting file after the link destination in the property
	of the shortcut, you can start and use the timer and stopwatch while
	displaying the clock on the desktop.

	The configuration file extension must be .ini.

	If the specified file name is not the full path, the file in the same
	folder as the executable file will be used. 

[Explanation of screen]

	When this program is started for the first time, a circular analog clock
	screen is displayed.

	When you move the mouse cursor over the displayed analog clock window and
	click the right button, the following context menu will be displayed. 
	You can execute the program functions by selecting an item in that menu.

	The functions of the context menu are explained below. 

[Context menu]

	This menu is displayed by clicking the right mouse button.
	The context menu has the following items: 

	[Mode]
		Select the following modes.

		[Clock]
			Set to clock mode.

		[Timer]
			Set to timer mode.

		[Stopwatch]
			Set to stopwatch mode.

	[View]
		Displays a submenu related to display.

		[Color settings]
			Displays a submenu for basic color settings.

			[Text color ...]
				Display the color setting dialog and set the text color.
				The characters of the digital clock and analog clock are
				displayed in the set color. 

			[Background color ...]
				Display the color setting dialog and set the background color.
				The background of the digital clock and analog clock is
				displayed in the set color. 

			[Alarm background color ...]
				Display the color setting dialog and set the alarm background
				color.
				The blinking background for digital and analog clock alarms is
				displayed in the set color.
				For analog clocks, it is displayed in a translucent color.

		[Font ...]
			Displays a dialog for selecting a font.

			In the selected font, the date and time, timer time, elapsed time
			of the stopwatch, etc. are displayed, and the characters on the 
			dial of the analog clock are displayed.

			For digital clocks, the selected font size is used as is, but for
			analog clocks, the font size is adjusted according to the screen
			size. 

		[Analog clock settings]
			Displays a submenu related to analog clock settings. 

			[Frame color ...]
				Display the color setting dialog and set the color of the frame
				of the analog clock. 

			[Frame edge color ...]
				Display the color setting dialog and set the border color of
				the analog clock frame.

			[Tick scale color ...]
				Display the color setting dialog and set the color of the tick
				scale of the analog clock. 

			[Clock hand color ...]
				Display the color setting dialog and set the color of the hour
				and minute hands of the analog clock. 

			[Clock hand edge color ...]
				Display the color setting dialog and set the border color of
				the hour and minute hands of the analog clock.
				This is effective when it is difficult to see when the hour and
				minute hands overlap. 

			[Second hand color ...]
				Displays the color setting dialog and sets the color of the
				second hand of the analog clock. 

			[Clock hand type]
				Displays a submenu for selecting the type of hands of an analog
				clock. 

				[Sword (Thick)]
					Set the shape of the hands of the analog clock to be
					displayed as a sword.
					Even if the border color of the needle is the same as the
					background color, draw a little thicker so that the hands
					does not collapse.

				[Sword (Thin)]
					Set the shape of the hands of the analog clock to be
					displayed as a sword.
					If the color of the needle border is the same as the color
					of the needle, draw a little thinner so that the hands does
					not become too thick.

				[Squre (Thick)]
					Set the shape of the hands of the analog clock to be
					displayed as an elongated rectangle.
					Even if the border color of the needle is the same as the
					background color, draw a little thicker so that the hands
					does not collapse.

				[Squre (Thin)]
					Set the shape of the hands of the analog clock to be
					displayed as an elongated rectangle.
					If the color of the needle border is the same as the color
					of the needle, draw a little thinner so that the hands does
					not become too thick.

			[Dial type]
				Set the scale and character placement of the analog clock.

				[Inner tick scale]
					Draw so that the time numbers are on the outside and the
					tick scale is on the inside.
					The tick scale is displayed in 1-minute increments, and is
					displayed slightly longer every 5 minutes.

				[Outer tick scale]
					Draw so that the time numbers are on the inside and the
					tick scale is on the outside.
					The tick scale is displayed in 1-minute increments, and is
					displayed larger every 5 minutes.

				[No tick scale]
					It does not display the tick scale, only the time numbers.

				[No numbers]
					The tick scale is displayed in 1-minute increments without
					displaying the time numbers.
					The tick scale is displayed larger every 5 minutes.

				[No numbers (Simple)]
					The tick scale is displayed in 5 minute increments without
					displaying the time number.

				[With numbers (Simple)]
					Only 12, 3, 6 and 9 are displayed for the time numbers, 
					and the tick scale is displayed in 5 minute increments for
					the others.

			[Display AM/PM]
				The dial displays AM in the morning and PM in the afternoon.

			[Display date]
				The date is displayed on the dial in the "month / day" format.

			[Circle window]
				Sets the window shape of the analog clock to a circular window.
				When set to a circular window, the title bar and toolbar are
				hidden.

		[Analog clock]
			Switch the application screen to analog clock format or digital
			clock format.
			For the analog clock format, a check mark is added to the menu.

		[Tool bar]
			Show or hide the toolbar.
			When in the display state, a check mark is added to the menu item.
			The toolbar has the following buttons:

			[Start button]
				The button with the triangle mark pointing to the right starts
				the measurement of the stopwatch and timer.
				If you press this button after starting and stopping the
				stopwatch or timer, the measurement will resume from the
				displayed value. 

			[Stop button]
				The button marked with two vertically long rectangles stops the
				stopwatch and timer measurement.
				The displayed value is the state when it was stopped.
				If it is in the alarm state, cancel the alarm state.

			[Reset button]
				The button with the square mark stops the stopwatch and timer
				measurement and returns the displayed value to the initial
				value.
				If it is in the alarm state, cancel the alarm state. 

		[Title bar]
			Show or hide the title bar.
			When in the display state, a check mark is added to the menu item.

		[Minimize]
			Minimize the program window. 

	[Time precision]
		Displays a submenu for selecting the display precision for digital
		display. 

		[hh:mm:ss.ss]
			Displays up to the unit of "hour:minute:second:10 milliseconds".
			Since the display in units of 10 milliseconds has a heavy load, it
			may not operate normally depending on the performance of the PC. 

		[hh:mm:ss.s]
			Displays up to the unit of "hour:minute:second:100 milliseconds".
			Even if the display is in units of 100 milliseconds, it may not
			work properly depending on the performance of the PC. 

		[hh:mm:ss]
			Displays up to the unit of "hour:minute:second".
			This is the default setting. 

		[hh:mm]
			Displays up to the unit of "hour:minute".

		[MM/DD hh:mm]
			"Month / day" is displayed in the upper row, and "hour:minute" is
			displayed in the lower row. 

		[YY/MM/DD hh:mm]
			"Year / month / day" is displayed in the upper row, and
			"hour:minute" is displayed in the lower row.
			The year displays the last two digits of the Christian era.

		[YYYY/MM/DD hh:mm]
			"Year / month / day" is displayed in the upper row, and
			"hour:minute" is displayed in the lower row.
			The year displays 4 digits in the Christian era. 

		[MM/DD hh:mm:ss]
			"Month / day" is displayed in the upper row, and
			"hour:minute:second" is displayed in the lower row.

		[YY/MM/DD hh:mm:ss]
			"Year / Month / Day" is displayed in the upper row, and
			"hour:minute:second" is displayed in the lower row.
			The year displays the last two digits of the Christian era.

		[YYYY/MM/DD hh:mm:ss]
			"Year / Month / Day" is displayed in the upper row, and
			"hour:minute:second" is displayed in the lower row.
			The year displays 4 digits in the Christian era.

	[Timer]
		Displays a submenu related to timer settings.

		[Timer setting ...]
			Display the timer setting dialog and set the timer.
			Up to 10 frequently used timer settings can be registered as
			preset timers, and can be easily set by selecting them from the
			preset timer menu.

		[Preset timer]
			Displays the preset timer selection menu registered in the timer
			setting dialog.
			Up to 10 preset timer times can be registered. 

	[Alarm]
		Displays a submenu related to alarm settings.

		[Alarm setting ...]
			Display the alarm time setting dialog and set the alarm time.
			Up to 10 frequently used alarm settings can be registered as
			preset alarms, and can be easily set by selecting from the
			preset alarm menu.
			
		[Preset alarm]
			Displays the preset alarm selection menu set in the alarm time
			setting dialog.
			Up to 10 preset alarm times can be registered.

	[Sound]
		Displays the alarm sound related settings submenu.

		[Alarm sound file ...]
			Display the file selection dialog and select the WAV file to use
			for the timer and time alarm sound.

		[Alarm sound beep]
			Use intermittent beeps for timer and time alarm sounds.

		[Alarm sound OFF]
			Set so that the timer and time alarm do not sound.

	[Start]
		Start the timer or stopwatch.
		In the case of a stopwatch, if it is "stopped", it will resume.

	[Stop]
		Stop the timer or stopwatch.

	[Reset]
		Resets the timer and stopwatch to return to the initial state.

	[Settings]
		Displays a submenu of various settings.

		[Update interval ...]
			Displays the update interval setting dialog and sets the cycle of
			the time display timer.
			The setting is specified in milliseconds.

		[Add to startup]
			Register the program with the startup.
			If registered, a check mark will be added to the menu.

		[Put in task tray]
			Put the program in the task tray and set it not to be displayed on
			the taskbar.
			If set, the menu will be checked. 

	[Version information ...]
		Displays program version information. 

	[Exit Application]
		Exit the program. 

[Task tray context menu]
	When "Add to task tray" is selected, click the right mouse button on the
	task tray icon to display the following context menu.

	[Stop]
		Stop the alarm.

	[Minimize]
		If it is not minimized, it is operational and you can click it to
		minimize the program.

	[Restore to normal size]
		When it is in the minimized state, it is operational, so clicking it
		will restore it to its original size.

	[Version information ...]
		Displays program version information.

	[Exit Application]
		Exit the program. 

[Toolbar]
	Check the toolbar in the View menu to display the toolbar.
	The toolbar has the following buttons:

	[Start button]
		The button with the triangle mark pointing to the right starts the
		measurement of the stopwatch and timer.
		If you press this button after starting and stopping the stopwatch or
		timer, the measurement will resume from the displayed value.

	[Stop button]
		The button marked with two vertically long rectangles stops the
		stopwatch and timer measurement.
		The displayed value is the state when it was stopped.
		If it is in the alarm state, cancel the alarm state.

	[Reset button]
		The button with the square mark stops the stopwatch and timer
		measurement and returns the displayed value to the initial value.
		If it is in the alarm state, cancel the alarm state.

[Mouse operation]
	The mouse operation on the window of this program is as follows.

	[Right button click]
		Display the context menu.

	[Left button click]
		When in the alarm state, the alarm is stopped.

	[Double click on the left button]
		In timer or stopwatch mode, measurement starts.
		If measurement is in progress, stop measurement.

	[Press the left button]
		If you hold it down for more than 100 milliseconds, it will be in a
		dragged state.

	[Drag with the left button]
		Depending on the position of the mouse cursor when the button is
		pressed, the drag function is divided into the following two types
		of operations.

		[Resize]
			If the position of the mouse cursor when the left button is
			pressed is the edge of the rectangular area of the window, change
			the window size.
			The window size changes as you move the mouse. 

			If your analog clock is set to a circular window, you can only
			drag the edges of the circle that touches the rectangle.

		[Move]
			If the position of the mouse cursor when the left button is
			pressed is inside the edge of the rectangular area of the window,
			the window is moved.
			The window moves as you move the mouse. 

[Key operation]
	When the window of this program has focus, the following key operations
	are effective.

	[Enter key]
		In timer or stopwatch mode, start / restart measurement.
		If measurement is in progress, stop measurement.
		If the alarm is ringing, the alarm will be stopped.

		If you are in clock mode and the alarm is sounding, the alarm will be
		stopped.

	[Escape (Esc) key]
		In timer or stopwatch mode, it resets the measurement status.
		If measurement is in progress, stop measurement and reset.
		If the alarm is ringing, the alarm will be stopped.

		If you are in clock mode and the alarm is sounding, the alarm will be
		stopped. 

[Configuration file] Clock4Win.ini
	The configuration file is in the same folder as Clock4Win.exe and is named
	Clock4Win.ini.
    It is automatically generated

------------------------------------------------------------------------------
[Update History]
    Ver.1.01  2021/10/10
		Changed to keep the update interval and display precision settings
		for each mode.

		The window size changed every time the program was started, so I fixed
		it so that it wouldn't change.

		The window size sometimes changed after changing the setting, so I
		fixed it so that it does not change.

    Ver.1.00  2021/10/09
        Initial release

[Terms of Use]

Terms of Use
     There are no special conditions. Please use freely.
     However, unless we are to be used for that crime or harm to others.

For distribution
     Redistribution in the state that has not been edited or modifications 
     (source code) is free.

     (If the source code) for editing and modification
     Changes or modifications can be carried out freely, but, if you want to 
     redistribute those changes, you need to include in the distribution 
     document that clearly states the changes.

     If you want to use other software part of the source code for this 
     software is that it does not apply.

And Disclaimer
     I have been caused by the use of this software, and what the author is not
     responsible for any failure, for whatever damages.

     The authors assumed that even in the case of this software bug is found,
     correct them and not assume the obligation of version up

For requests Bug
     For bugs and requests, please email.
     However, this does not necessarily mean a guaranteed bug fixes, is 
     reflected in the demand.

Information Copyright:
     The copyright of this software is owned by the author is GUSUKU there.
     This software is protected by international copyright laws and treaties.
     The grant to be used within the scope of the Acceptable Use Policy, use in
     violation of the Acceptable Use Policy, and make and distribute, please 
     note it will be copyright infringement.

[Contact]
     GUSUKU
     root@gusuku.org

------------------------------------------------------------------------------
