ATGauge: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: ATGauge
| Old | New | Line | |
|---|---|---|---|
| 1 | + | ## About | |
| 2 | + | ||
| 3 | + | *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. | |
| 4 | + | ||
| 5 | + | <figure> | |
| 6 | + | <img src="atgauge.png" title="atgauge.png" /> | |
| 7 | + | <figcaption>atgauge.png</figcaption> | |
| 8 | + | </figure> | |
| 9 | + | ||
| 10 | + | "Kind" property supports same kinds as D7: | |
| 11 | + | ||
| 12 | + | - only text | |
| 13 | + | - horiz bar | |
| 14 | + | - vert bar | |
| 15 | + | - needle (half-circle) | |
| 16 | + | - pie (full circle) | |
| 17 | + | ||
| 18 | + | Author: Alexey Torgashin (Russia) | |
| 19 | + | ||
| 20 | + | License: MPL 2.0 or LGPL. | |
| 21 | + | ||
| 22 | + | ## Download | |
| 23 | + | ||
| 24 | + | Homepage at github: <https://github.com/Alexey-T/ATFlatControls> | |
| 25 | + | ||
| 26 | + | ## Property ShowTextInverted | |
| 27 | + | ||
| 28 | + | This property is to look like Delphi's component. | |
| 29 | + | ||
| 30 | + | - Off: text (e.g. "20%") is painted with color Font.Color at all places. This is fast. | |
| 31 | + | - 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. | |
| 32 | + | ||
| 33 | + | --- | |
| 34 | + | *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).* | |
| 35 | + | Category: Components | |
| 36 | + | Category: Lazarus |
