, _isShow(false)
, _isVisibilityChangeInProgress(false)
, _needAsyncVisibilityChangeRequest(true)
+ , _isMainType(true)
{
_countOfLayer++;
}
+_EflLayer::_EflLayer(bool isMainType)
+ : _pRootVisualElement(null)
+ , _pEvas(null)
+ , _pEcoreEvas(null)
+ , _pWindow(null)
+ , _pOnWindowDamagedHandler(null)
+ , _pOnWindowConfiguredHandler(null)
+ , _pOnWindowHideHandler(null)
+ , _pOnWindowShowHandler(null)
+ , _needEvasRender(0)
+ , _needShowStateChangeRequest(false)
+ , _isShow(false)
+ , _isVisibilityChangeInProgress(false)
+ , _needAsyncVisibilityChangeRequest(true)
+ , _isMainType(isMainType)
+{
+ _countOfLayer++;
+}
_EflLayer::~_EflLayer(void)
{
return E_OBJ_ALREADY_EXIST;
}
- _pWindow = elm_win_add(NULL, NULL, ELM_WIN_BASIC);
+ if(_isMainType)
+ {
+ _pWindow = elm_win_add(NULL, NULL, ELM_WIN_BASIC);
+ }
+ else
+ {
+ _pWindow = elm_win_add(NULL, NULL, ELM_WIN_UTILITY);
+ }
SysTryReturnResult(NID_UI, _pWindow, E_SYSTEM, "A system error has been occurred.");
{
public:
_EflLayer(void);
+ _EflLayer(bool isMainType);
virtual ~_EflLayer(void);
virtual result OnConstructed(void);
bool _isShow;
bool _isVisibilityChangeInProgress;
bool _needAsyncVisibilityChangeRequest;
+ bool _isMainType;
static int _countOfLayer;
};
*/
static _NativeLayer* CreateInstanceN(void);
+ /**
+ * Factory method of the native layer.
+ *
+ * @since 2.0
+ * @return instance of the native layer.
+ * @remarks This method make a instance of native layer by configuration.And call the Construct() method.
+ */
+ static _NativeLayer* CreateInstanceN(bool isMainType);
public:
/**
* Initializes the native layer. It is designed with 2 phase-construction.