diff --git a/assets/Popup_TagReference.png b/assets/Popup_TagReference.png new file mode 100755 index 0000000..ed3e367 Binary files /dev/null and b/assets/Popup_TagReference.png differ diff --git a/tutorials/popup.md b/tutorials/popup.md index eb19ce5..b3c7726 100644 --- a/tutorials/popup.md +++ b/tutorials/popup.md @@ -71,16 +71,9 @@ public: `FLAlertLayer` supports colored text in the content field by default. You can add colors with **color tags**, for example `Hi mom!` will produce yellow text. The built-in color tags in GD are: -| Tag | Color | -|-----|-------------------------------------| -| cb | Blue | -| cg | Green | -| cl | Aqua | -| cj | Cyan | -| cy | Yellow | -| co | Orange | -| cr | Red | -| cp | Pink | +[Image showing all different color tags with additional tags](/assets/Popup_TagReference.png) + +> The other tags (Fade, Shake, Delay) only work for DialogLayer. ```cpp FLAlertLayer::create( @@ -90,8 +83,6 @@ FLAlertLayer::create( )->show(); ``` -Note that the closing tag **must be `` only without the color specified again**. Doing otherwise will likely result in a crash. - > You might wonder about how to use other colors than the ones listed; there are currently no plans in Geode to add that, but one could easily make a mod that adds support for arbitary color tags. ## Disabling the popup animation