• Scrollers
  • Buttons
  • Filer
  • Tools
  • TextEdit

  • Menus
  • Windows
  • Fields
  • Documents
  • Appearance



Appearance

The TGhStatics and TGhUI classes are repositories for static methods that return logical information regarding Guildhall's standard appearance. For example, TGhUI contains methods that return colors used in specific instances, for example field background colors, highlight colors, and colors used for inactive controls. It also contains a series of public member variables that specify the size of various UI elements. These were more useful when plans for Guildhall included multiple UI sizes, and pointing at a particular instance of TGhUI would provide a collection of all the values needed to implement the UI for that size. Since Guildhall's user community has reduced to just its author, one UI size is sufficient. At some point these values will go to constants and remainder of the class will merge with TGhStatics.

TGhStatics provides access to strings, for example the names of standard commands used by event handlers. A good example would be the commands to zoom_in, zoom_out, zoom_maximum, zoom_minimum, and zoom_normal. These commands are used by all applets that allow multiple levels of zoom, examples being Paint, Draw, and Atlas. The class also has static methods to locate images and icons commonly used on the desktop.

TCursor is grouped here because it has no purpose other than appearance. It maps onto the host cursor facilities to allow commonly used cursors to be activated as a function of the contents of the desktop, usually within the context of the field over which the cursor is hovering.

Static Classes

  • TGhStatics
  • TGhUI

Constructible Classes

  • TCursor

 

Copyright © 1981-2021 Arthur W Cabral. All Rights Reserved. All referenced trademarks are the property of their respective owners. This site does not use cookies. This site does not collect visitor information. The ISP hosting this site collects statistics regarding visitors to this site as part of the normal operation of the website. We do not currently examine those statistics. If that changes, this notice will change.