Reference Codebot.Render.Widgets.Custom.pas
Part of the Codebot Render package
The Codebot.Render.Widgets.Custom unit gives you widgets that draw themselves rather than being drawn by the theme, while still taking their colors and font from it.
TCustomGraph is a scrolling line graph with a label to its left. To graph a value of your own, descend from it and override DataPoint, DefaultMax, and InfoText. TPerformanceGraph graphs the number of frames drawn each second, and needs nothing more than adding it to a window and giving it a Width and Height. TMarkDownLabel is a label whose text is written in markdown.
Items 54 items
| Name | Kind | Line |
|---|---|---|
| AverageFrames | constant | 68 |
| TCustomGraph | class | 33 |
| Create | constructor | 52 |
| DataPoint | function | 47 |
| DefaultColor | function | 45 |
| DefaultMax | function | 46 |
| InfoText | function | 48 |
| Paint | procedure | 49 |
| Update | procedure | 55 |
| FrameMeasure | property | 57 |
| LabelMargin | property | 61 |
| Max | property | 50 |
| Step | property | 59 |
| TMarkDownBox | record | 137 |
| Name | field | 138 |
| Rect | field | 139 |
| TMarkDownBoxAlign | enum | 134 |
| boxLeft | enum value | 134 |
| boxCenter | enum value | 134 |
| boxRight | enum value | 134 |
| TMarkDownDecor | record | 151 |
| Kind | field | 152 |
| Rect | field | 153 |
| TMarkDownDecorKind | enum | 148 |
| decorCodeBlock | enum value | 148 |
| decorQuote | enum value | 148 |
| decorRule | enum value | 148 |
| decorBullet | enum value | 148 |
| TMarkDownFragment | record | 123 |
| Code | field | 129 |
| Faded | field | 130 |
| Link | field | 128 |
| Size | field | 127 |
| Style | field | 126 |
| Text | field | 125 |
| Width | field | 124 |
| X | field | 124 |
| Y | field | 124 |
| TMarkDownLabel | class | 156 |
| Create | constructor | 175 |
| Paint | procedure | 173 |
| Resize | procedure | 172 |
| FontSize | property | 177 |
| OnDrawRect | property | 181 |
| TMarkDownRectEvent | procedural | 144 |
| TMarkDownStyle | enum | 119 |
| mdRegular | enum value | 119 |
| mdBold | enum value | 119 |
| mdItalic | enum value | 119 |
| mdBoldItalic | enum value | 119 |
| mdCode | enum value | 119 |
| TPerformanceGraph | class | 72 |
| InfoText | function | 81 |
| Update | procedure | 83 |