#ifndef __DALI_TOOLKIT_TEST_DUMMY_CONTROL_H__
#define __DALI_TOOLKIT_TEST_DUMMY_CONTROL_H__
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// Licensed under the Flora License, Version 1.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://floralicense.org/license/
-//
-// 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.
-//
+/*
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ *
+ * 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.
+ *
+ */
// INTERNAL INCLUDES
#include <dali-toolkit/dali-toolkit.h>
DummyControlImplOverride()
: DummyControlImpl(),
initializeCalled(false),
- styleChangeCalled(false),
+ themeChangeCalled(false),
+ fontChangeCalled( false ),
pinchCalled(false),
panCalled(false),
tapCalled(false),
private: // From ControlImpl
virtual void OnInitialize() { initializeCalled = true; }
- virtual void OnStyleChange(StyleChange change) { styleChangeCalled = true;}
+ virtual void OnThemeChange( StyleManager styleManager ) { themeChangeCalled = true }
+ virtual void OnFontChange( bool defaultFontChange, bool defaultFontSizeChange ) { fontChangeCalled = true;}
virtual void OnPinch(PinchGesture pinch) { pinchCalled = true; }
virtual void OnPan(PanGesture pan) { panCalled = true; }
virtual void OnTap(TapGesture tap) { tapCalled = true; }
public:
bool initializeCalled;
- bool styleChangeCalled;
+ bool themeChangeCalled;
+ bool fontChangeCalled;
bool pinchCalled;
bool panCalled;
bool tapCalled;