Friday, April 10, 2009

Engineering Root folder customization

ZScreen root folder is the main folder that provides room for Images, Text, Settings, Cache and Temp folders.

Initialization sequence

Soon after ZScreen is loaded, the following order is the loading sequence. Program.cs:

  1. Initializes DefaultRootAppFolder path to be Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), Application.ProductName);
  2. Accesses XMLSettings.Read().
    1. The XMLSettingsFile property initializes the sub-folder paths inside Root folder.
    2. The location of the Root folder is set here inside InitializeDefaultFolderPaths().
      1. If there is a ZScreen folder located in the same directory as the ZScreen.exe Root folder will be this folder
      2. Otherwise ZScreen folder will be the DefaultRootAppFolder
    3. Finally it creates the Settings directory if it doesn’t exist based on the Root folder.
  3. Loads ZScreen GUI. ZScreen calls ConfigureDirs() which creates subfolders inside the DefaultRootAppFolder

Improved Portable Configuration detection

image

Sunday, April 5, 2009

Dynamic Region Border and Ruler

Dynamic Crosshair used within a Dynamic Region Border

Dynamic Crosshair used within a Dynamic Region Border with a Ruler

Friday, April 3, 2009

Dynamic Crosshair

Once enabled from Capture tab, dynamic crosshair will increase the visibility of the crosshair by animation.

'