mirror of
https://github.com/Ed94/Cog.git
synced 2026-08-05 07:08:46 +00:00
CogWindow: show menu by default
This commit is contained in:
@@ -76,12 +76,12 @@ public:
|
|||||||
UCogWindowManager* GetOwner() const { return Owner; }
|
UCogWindowManager* GetOwner() const { return Owner; }
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
T* GetConfig() { return Cast<T>(GetConfig(T::StaticClass())); }
|
T* GetConfig() const { return Cast<T>(GetConfig(T::StaticClass())); }
|
||||||
|
|
||||||
UCogCommonConfig* GetConfig(const TSubclassOf<UCogCommonConfig> ConfigClass) const;
|
UCogCommonConfig* GetConfig(const TSubclassOf<UCogCommonConfig> ConfigClass) const;
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
const T* GetAsset() { return Cast<T>(GetAsset(T::StaticClass())); }
|
const T* GetAsset() const { return Cast<T>(GetAsset(T::StaticClass())); }
|
||||||
|
|
||||||
const UObject* GetAsset(const TSubclassOf<UObject> AssetClass) const;
|
const UObject* GetAsset(const TSubclassOf<UObject> AssetClass) const;
|
||||||
|
|
||||||
@@ -115,7 +115,7 @@ protected:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
bool bShowMenu = false;
|
bool bShowMenu = true;
|
||||||
|
|
||||||
bool bNoPadding = false;
|
bool bNoPadding = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user