geode/loader/include/Geode/ui/General.hpp
HJfod 189040ac78 thingies
- rename LayerBG.hpp to General.cpp
 - add addListBorders UI function for adding comment borders to a list
 - change VersionInfo parsing to use streams
 - remove VersionInfo::validate and instead just have VersionInfo::parse
 - remove scnlib
2022-12-12 18:44:17 +02:00

22 lines
602 B
C++

#pragma once
#include <Geode/DefaultInclude.hpp>
#include <cocos2d.h>
namespace geode {
/**
* 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
* 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
);
}