summaryrefslogtreecommitdiff
path: root/src/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics')
-rw-r--r--src/graphics/Graphics.cpp16
-rw-r--r--src/graphics/Graphics.h1
2 files changed, 15 insertions, 2 deletions
diff --git a/src/graphics/Graphics.cpp b/src/graphics/Graphics.cpp
index c4c0d31..73a6e7b 100644
--- a/src/graphics/Graphics.cpp
+++ b/src/graphics/Graphics.cpp
@@ -874,15 +874,27 @@ void Graphics::draw_icon(int x, int y, Icon icon, unsigned char alpha, bool inve
case IconDelete:
if(invert)
{
- drawchar(x, y, 0x86, 255, 55, 55, alpha);
+ drawchar(x, y, 0x86, 159, 47, 31, alpha);
drawchar(x, y, 0x85, 0, 0, 0, alpha);
}
else
{
- drawchar(x, y, 0x86, 255, 55, 55, alpha);
+ drawchar(x, y, 0x86, 159, 47, 31, alpha);
drawchar(x, y, 0x85, 255, 255, 255, alpha);
}
break;
+ case IconAdd:
+ if(invert)
+ {
+ drawchar(x, y, 0x86, 32, 144, 32, alpha);
+ drawchar(x, y, 0x89, 0, 0, 0, alpha);
+ }
+ else
+ {
+ drawchar(x, y, 0x86, 32, 144, 32, alpha);
+ drawchar(x, y, 0x89, 255, 255, 255, alpha);
+ }
+ break;
default:
if(invert)
drawchar(x, y, 't', 0, 0 ,0 ,alpha);
diff --git a/src/graphics/Graphics.h b/src/graphics/Graphics.h
index 46d28b4..a51ed02 100644
--- a/src/graphics/Graphics.h
+++ b/src/graphics/Graphics.h
@@ -78,6 +78,7 @@ enum Icon
IconFolder,
IconSearch,
IconDelete,
+ IconAdd,
IconReport,
IconUsername,
IconPassword,