Sign in Join
Wiki copytemporary

ATGauge: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11## About
22
33*ATGauge* is OS-independant progress indicator component. It's like Delphi TGauge. The same properties (with some additions) but totally new code (it's smaller than Delphi 7 code). It has class name and properties compatible with the Delphi 7 version, but different unit name.
44
5-<figure>
6-<img src="atgauge.png" title="atgauge.png" />
7-<figcaption>atgauge.png</figcaption>
8-</figure>
5+![](/wiki-images/5/59/Atgauge.png)
96
107"Kind" property supports same kinds as D7:
118
129- only text
1310- horiz bar
1411- vert bar
1512- needle (half-circle)
1613- pie (full circle)
1714
1815Author: Alexey Torgashin (Russia)
1916
2017License: MPL 2.0 or LGPL.
2118
2219## Download
2320
2421Homepage at github: <https://github.com/Alexey-T/ATFlatControls>
2522
2623## Property ShowTextInverted
2724
2825This property is to look like Delphi's component.
2926
3027- Off: text (e.g. "20%") is painted with color Font.Color at all places. This is fast.
3128- On: text is painted with inverted color regarding image under it. Font.Color is ignored. Temp bitmap is created (with a size of text), then this bitmap is copied over image-bitmap with Canvas.CopyMode=cmSrcInvert. This is slower and don't work on GTK2 (I see pixelated text over green bar). This is OK on Windows and QT.
3229
3330---
3431*From the Free Pascal wiki, page "ATGauge", as it stood on 2021-12-16 after a change by Alextp, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
3532Category: Components
3633Category: Lazarus

Back to history