+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
#include "main.h"
Elm_Toolbar*
*
*/
-/** This page implements on_rotate() method to create portarit, landscape content.
+/** This page implements on_rotate() method to create portrait, landscape content.
* This page will be created suitable content in on_rotate() method.
*/
class page10: public ui_standard_view
{
UI_VIEWMGR->push_view(new page11());
});
+
this->set_content(content, "Page 10");
this->set_indicator(UI_VIEW_INDICATOR_DEFAULT);
}
{
UI_VIEWMGR->push_view(new page11());
});
+
this->set_content(content, "Page 10");
this->set_indicator(UI_VIEW_INDICATOR_OPTIMAL);
}
view->create_popup();
},
this);
+
this->set_title_right_btn(right_btn);
}
elm_popup_dismiss(obj);
},
NULL);
+
popup->set_content(obj);
popup->activate();
}
*
*/
-/** This example create a simple view which is inheritance ui_standard_view.
- * Then push in viewmgr.
+/** This page inherit ui_ui_standard_view
+ * And make a view transition style as fade.
+ * The fade effect will be shown when view appear or disappear.
+ * The default of transition style of view was slide in/out.
*/
class page13: public ui_standard_view
{
*
*/
-/** This example create a simple view which is inheritance ui_standard_view.
- * Then push in viewmgr.
+/** This page inherit ui_ui_standard_view
+ * And make a view transition style as none.
+ * There will be no effect when view appear or disappear.
+ * The default of transition style of view was slide in/out.
*/
class page14: public ui_standard_view
{
*
*/
-/** This example create a simple view which is inheritance ui_standard_view.
- * Then push in viewmgr.
+/** This page inherit ui_ui_standard_view
+ * This create a content that has same size of screen.
+ * When this view has rotated viewmgr's internal scroller will be enabled automatically.
*/
class page15: public ui_standard_view
{
UI_VIEWMGR->push_view(new page16());
},
this);
+
this->set_title_right_btn(right_btn);
}
};
*
*/
-/** This example create a simple view which is inheritance ui_standard_view.
- * Then push in viewmgr.
+/** This page inherit ui_ui_standard_view
+ * This view create a lot of buttons to show how to handle title area visible state with animation or no effect.
*/
class page16: public ui_standard_view
{
*/
/** This example create a simple view which is inheritance ui_standard_view.
- * And add two buttons in view title area. hen push in viewmgr.
+ * And add two buttons in view title area. then push in viewmgr.
*/
class page2: public ui_standard_view
{
*
*/
-/** This page inherit ui_standard_view to show title with toolbar sample.
+/** This page inherit ui_standard_view to show title with toolbar(toolbar_with_title) example.
*/
class page6: public ui_standard_view
{
*
*/
-/** This page inherit ui_standard_view to show title with toolbar sample.
- * And this page make a content in page constructor time.
+/** This page inherit ui_standard_view to show title with toolbar(navigationbar) example.
*/
class page7: public ui_standard_view
{
UI_VIEWMGR->push_view(new page8());
});
- //FIXME: Don't delete view's content when this view poped.
- this->set_removable_content(false);
+ //Arguments: content, title
this->set_content(content, "Page7");
Elm_Toolbar *toolbar = create_toolbar(this->get_base(), "navigationbar");
this->set_toolbar(toolbar);
*/
/** This page inherit ui_standard_view.
- * And implement on_portait(), on_landscape() method to create portarit, landscape content.
+ * And implement on_portait(), on_landscape() method to create portrait, landscape content.
* This page will be created suitable content in on_portrait(), on_landscape() method.
*/
class page9: public ui_standard_view
{
UI_VIEWMGR->push_view(new page10());
});
+
this->set_content(content, "Page 9");
this->set_indicator(UI_VIEW_INDICATOR_DEFAULT);
}
{
UI_VIEWMGR->push_view(new page10());
});
+
this->set_content(content, "Page 9");
this->set_indicator(UI_VIEW_INDICATOR_OPTIMAL);
}