mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-15 03:25:01 -05:00
add info level to notification
This commit is contained in:
parent
89ed81ac62
commit
5ca4b571c7
2 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,7 @@ namespace geode {
|
|||
Success,
|
||||
Warning,
|
||||
Error,
|
||||
Info,
|
||||
};
|
||||
|
||||
class GEODE_DLL Notification : public cocos2d::CCNodeRGBA {
|
||||
|
|
|
@ -92,6 +92,10 @@ CCSprite* Notification::createIcon(NotificationIcon icon) {
|
|||
case NotificationIcon::Error: {
|
||||
return CCSprite::createWithSpriteFrameName("GJ_deleteIcon_001.png");
|
||||
} break;
|
||||
|
||||
case NotificationIcon::Info: {
|
||||
return CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png");
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue