mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-24 00:17:52 -05:00
189040ac78
- 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
22 lines
602 B
C++
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
|
|
);
|
|
}
|