mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Some minor fixes in URI and http_request demo.
Fixed a crash in UIDropDownList. Some fixes in all UILayouts.
This commit is contained in:
@@ -122,7 +122,7 @@ class EE_API URI {
|
||||
const std::string& getHost() const;
|
||||
|
||||
/** Sets the host part of the URI. */
|
||||
void getHost( const std::string& host );
|
||||
void setHost( const std::string& host );
|
||||
|
||||
/** @returns the port number part of the URI.
|
||||
* If no port number (0) has been specified, the
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#ifndef EE_UI_UIGRIDLAYOUT
|
||||
#ifndef EE_UI_UIGRIDLAYOUT
|
||||
#define EE_UI_UIGRIDLAYOUT
|
||||
|
||||
#include <eepp/ui/uilayout.hpp>
|
||||
@@ -63,6 +63,8 @@ class EE_API UIGridLayout : public UILayout {
|
||||
|
||||
virtual Uint32 onMessage( const NodeMessage* Msg );
|
||||
|
||||
virtual void onParentSizeChange( const Vector2f& size );
|
||||
|
||||
Sizef getTargetElementSize() const;
|
||||
};
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ class EE_API UILayout : public UIWidget {
|
||||
|
||||
std::unordered_set<UILayout*> mLayouts;
|
||||
bool mDirtyLayout;
|
||||
bool mPacking;
|
||||
};
|
||||
|
||||
}} // namespace EE::UI
|
||||
|
||||
@@ -36,7 +36,6 @@ class EE_API UILinearLayout : public UILayout {
|
||||
|
||||
protected:
|
||||
UIOrientation mOrientation;
|
||||
bool mPacking;
|
||||
|
||||
virtual Uint32 onMessage( const NodeMessage* Msg );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user