|
1 | 1 |  |
2 | 2 |
|
3 | | -The BasicRender Toolkit is a set of class libraries that make it easy to display graphics on a console screen. Three libraries are included, and can all be downloaded over at the release page. |
| 3 | +BasicRender is a graphics library that makes it easy to display graphics on a console screen. Four libraries are included, and can all be downloaded over at the release page. |
4 | 4 |
|
5 | 5 | This project also includes a small demo program. After a neat little BasicWindow, it tells the very very tiny 8 line story of a man who insulted an AI for the last time. It includes exactly one landscape I drew in [henja](https://github.com/igtampe/Henja3) that came out ~~horrible~~ great. |
6 | 6 |  |
@@ -78,19 +78,23 @@ A Static class that holds some utilities that are used by the graphic drawers, b |
78 | 78 | |F|Bright White| |
79 | 79 |
|
80 | 80 |
|
81 | | -### BasicGraphic (And FromFile, FromResource) |
82 | | -Abstract class that holds the way to process DF file data. Its extended by BasicGraphicFromFile and BasicGraphicFromResource, which read their contents from a file and from a resource respectively. |
| 81 | +### BasicGraphic |
| 82 | +Class that holds the way to process DF file data. It is **no longer extended** by BasicGraphicFromFile and BasicGraphicFromResource. Instead, use LoadFromFile() and LoadFromResource() in BasicGraphic |
83 | 83 |
|
84 | 84 | |Method|Result| |
85 | 85 | |-|-| |
86 | 86 | |DrawColorString()|This method is publicly accessible in case a user wants to access it directly to draw a single line of DF data.<br><br> A ColorString is a string made up of ColorChars. Take a look at GraphicUtils's ColorCharToConsoleColor() method for a more in depth explination.| |
| 87 | +|LoadFromFile()|Loads DF Data from a file and returns a BasicGraphic| |
| 88 | +|LoadFromResource()|Loads DF Data from a resource, and returns a BascGraphic| |
87 | 89 |
|
88 | | -### HiColorGraphic (And FromFile, FromResource) |
89 | | -Abstract class that holds the way to process HC file data. Its extended by HiColorGraphicFromFile and HiColorGraphicFromResource, which read their contents from a file and from a resource respectively. |
| 90 | +### HiColorGraphic |
| 91 | +Abstract class that holds the way to process HC file data. It is **no longer extended** by HiColorGraphicFromFile and HiColorGraphicFromResource. Instead use LoadFromFile() and LoadFromResource() in HiColorGraphic. |
90 | 92 |
|
91 | 93 | |Method|Result| |
92 | 94 | |-|-| |
93 | 95 | |HiColorDraw()|This method is also publicly accessible in case a user wants to access it directly to draw a single line of HC data. <br><br>A string of HiColor Data is comprised of multiple 3 character long strings, linked with hyphens. The first two characters are ColorChars (one for background and one for foreground), and the 3rd is a digit from 0 to 2, which indicates the gradient between the colorchars, with ░ as 0, ▒ as 1, ▓ as 2. <br><br> The following string holds a HiColor Rainbow `441-460-461-C61-CE0-CE1-CE2-EE2-E10-EA1-AE2-AE1-AA2-AB1-AB2-BB2-3B2-B31-3B2-3B1-3B0-331-932-392-992-192-912-190-110-512-152-551-D52-D51-D50-DD0-4D2-4D1-4D0-440`. This rainbow doesn't use dark yellow or dark green, along with a few shades of gray so there are a few colors that aren't visible here. According to this, there should be just about 55-60 _usable_ colors.| |
| 96 | +|LoadFromFile()|Loads HC Data from a file and returns a HiColorGraphic |
| 97 | +|LoadFromResource()|Loads HC Data from a resource, and returns a HiColorGraphic |
94 | 98 |
|
95 | 99 | ### Cloud |
96 | 100 | Cloud is a DF graphic class which holds its own data. Its contents are the cloud graphic from AirportBoard's weather information.<br> |
|
0 commit comments