KSM edits to RA8875
Diff: GraphicsDisplay.cpp
- Revision:
- 152:a013ac0133e4
- Parent:
- 146:373d59f08357
- Child:
- 153:8a85efb3eb71
diff -r 35a4db3081c1 -r a013ac0133e4 GraphicsDisplay.cpp --- a/GraphicsDisplay.cpp Sun Sep 24 02:09:57 2017 +0000 +++ b/GraphicsDisplay.cpp Mon Nov 06 01:41:55 2017 +0000 @@ -89,6 +89,9 @@ : TextDisplay(name) { font = NULL; + global_color_table = NULL; + local_color_table = NULL; + screen_descriptor_isvalid = false; } //GraphicsDisplay::~GraphicsDisplay() @@ -406,6 +409,8 @@ return RenderJpegFile(x,y,FileName); } else if (mystrnicmp(FileName + strlen(FileName) - 4, ".ico", 4) == 0) { return RenderIconFile(x,y,FileName); + } else if (mystrnicmp(FileName + strlen(FileName) - 4, ".gif", 4) == 0) { + return RenderGIFFile(x,y,FileName); } else { return not_supported_format; }