mirror of
https://github.com/AntonioND/nitro-engine.git
synced 2025-06-18 16:45:33 -04:00
![]() This switches the rich text library from using a constant for the max number of fonts to allowing the user to specify how many fonts should be used dynamically. To accomplish this, a new method is introduced to the rich text system: `NE_RichTextStartSystem`, which accepts the number of slots to allocate. Those slots are allocated and then freed when `NE_RichTextResetSystem` is called. To maintain compatibility, I have not removed `NE_MAX_RICH_TEXT_FONTS` (instead opting to mark it as deprecated), and have added functionality to automatically call `NE_RichTextStartSystem` with that old value (8) if the user decides to init a rich text slot before calling `NE_RichTextStartSystem` (which would likely be the previous default behavior). |
||
---|---|---|
.. | ||
NE2D.h | ||
NEAlloc.h | ||
NEAnimation.h | ||
NECamera.h | ||
NEDisplayList.h | ||
NEFAT.h | ||
NEFormats.h | ||
NEGeneral.h | ||
NEGUI.h | ||
NEMain.h | ||
NEModel.h | ||
NEPalette.h | ||
NEPhysics.h | ||
NEPolygon.h | ||
NERichText.h | ||
NEText.h | ||
NETexture.h |