diff options
Diffstat (limited to 'services/ZoomUI')
-rwxr-xr-x[-rw-r--r--] | services/ZoomUI/ZoomUI.cpp | 6 | ||||
-rwxr-xr-x[-rw-r--r--] | services/ZoomUI/ZoomUI.h | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/services/ZoomUI/ZoomUI.cpp b/services/ZoomUI/ZoomUI.cpp index 76827deb..71804e26 100644..100755 --- a/services/ZoomUI/ZoomUI.cpp +++ b/services/ZoomUI/ZoomUI.cpp @@ -59,7 +59,7 @@ Evas_Object* ZoomUI::getContent() { BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__); M_ASSERT(m_parent); - if(!m_layout) + if (!m_layout) createLayout(m_parent); return m_layout; } @@ -143,9 +143,9 @@ void ZoomUI::clearItems() void ZoomUI::_zoom_slider_changed(void *data, Evas_Object *obj, void*) { BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__); - if(data && obj) { + if (data && obj) { int val = elm_slider_value_get(obj); - int zoomLevel = ZOOM_DEFAULT; + int zoomLevel = ZOOM_DEFAULT; ZoomUI *zoomUI = static_cast<ZoomUI*>(data); switch (val) { diff --git a/services/ZoomUI/ZoomUI.h b/services/ZoomUI/ZoomUI.h index 63c451f0..eebd8c64 100644..100755 --- a/services/ZoomUI/ZoomUI.h +++ b/services/ZoomUI/ZoomUI.h @@ -48,10 +48,10 @@ public: bool isVisible(); void escapeZoom(); - boost::signals2::signal<void ()> closeZoomUI; - boost::signals2::signal<void (int)> setZoom; - boost::signals2::signal<int ()> getZoom; - boost::signals2::signal<void (const int&, const int&)> scrollView; + boost::signals2::signal<void()> closeZoomUI; + boost::signals2::signal<void(int)> setZoom; + boost::signals2::signal<int()> getZoom; + boost::signals2::signal<void(const int&, const int&)> scrollView; private: void createLayout(Evas_Object* parent); void createZoomSlider(); @@ -75,7 +75,7 @@ private: ZOOM_100 = 100, ZOOM_150 = 150, ZOOM_200 = 200, - ZOOM_300 = 300, + ZOOM_300 = 300, ZOOM_MIN = ZOOM_50, ZOOM_DEFAULT = ZOOM_100, |