geode/loader/include/Geode/ui/General.hpp

23 lines
602 B
C++
Raw Normal View History

2022-10-16 21:37:18 +03:00
#pragma once
#include <Geode/DefaultInclude.hpp>
#include <cocos2d.h>
namespace geode {
/**
2022-10-30 21:59:20 +03:00
* Creates the usual blue gradient BG for a layer. You should use this over
* creating the sprite manually, as in the future we may provide texture
2022-10-16 21:37:18 +03:00
* packs the ability to override this function.
*/
GEODE_DLL cocos2d::CCSprite* createLayerBG();
/**
* Add the rounded comment borders to a node
*/
GEODE_DLL void addListBorders(
cocos2d::CCNode* to,
cocos2d::CCPoint const& center,
cocos2d::CCSize const& size
);
2022-10-16 21:37:18 +03:00
}