mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 23:48:08 -05:00
rename string headers
This commit is contained in:
parent
41a08e32a1
commit
a82ba30a70
7 changed files with 12 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <Geode/platform/platform.hpp>
|
||||
|
||||
#include "string-base.hpp"
|
||||
#include "string.hpp"
|
||||
|
||||
#if defined(GEODE_IS_WINDOWS)
|
||||
#include "msvcstl.hpp"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <Geode/c++stl/gdstdlib.hpp>
|
||||
#include "string-adapter.hpp"
|
||||
#include "string-impl.hpp"
|
||||
#include <string_view>
|
||||
#include <string>
|
||||
#include <compare>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <Geode/c++stl/gdstdlib.hpp>
|
||||
#include "../../c++stl/string-adapter.hpp"
|
||||
#include "../../c++stl/string-impl.hpp"
|
||||
|
||||
#ifdef GEODE_IS_ANDROID
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "../../c++stl/string-adapter.hpp"
|
||||
#include "../../c++stl/string-impl.hpp"
|
||||
|
||||
#ifdef GEODE_IS_WINDOWS
|
||||
|
||||
|
|
|
@ -238,6 +238,13 @@ CCArray* ModListLayer::createModCells(ModListType type, ModListQuery const& quer
|
|||
bool ModListLayer::init() {
|
||||
if (!CCLayer::init()) return false;
|
||||
|
||||
{
|
||||
gd::string hi = "hello";
|
||||
gd::string hi2 = "hello";
|
||||
gd::string hi3 = "hella";
|
||||
log::info("{} {} {} {}", hi == hi2, hi == hi3, hi < hi3, hi > hi3);
|
||||
}
|
||||
|
||||
m_indexListener.bind(this, &ModListLayer::onIndexUpdate);
|
||||
|
||||
auto winSize = CCDirector::sharedDirector()->getWinSize();
|
||||
|
@ -504,6 +511,7 @@ void ModListLayer::reloadList(bool keepScroll, std::optional<ModListQuery> const
|
|||
m_listLabel->setVisible(true);
|
||||
m_listLabel->setString("Updating index...");
|
||||
if (!m_loadingCircle) {
|
||||
// TODO: mat
|
||||
m_loadingCircle = LoadingCircle::create();
|
||||
|
||||
m_loadingCircle->setPosition(.0f, -40.f);
|
||||
|
|
Loading…
Reference in a new issue