#define DALI_INTERNAL_WINDOWSYSTEM_COMMON_WINDOW_BASE_H
/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
// EXTERNAL INCLUDES
#include <dali/integration-api/events/key-event-integ.h>
#include <dali/integration-api/events/point.h>
-#include <dali/public-api/events/wheel-event.h>
+#include <dali/integration-api/events/wheel-event-integ.h>
#include <string>
#include <vector>
#include <cstdint>
typedef Signal< void ( const DamageArea& ) > DamageSignalType;
typedef Signal< void ( const RotationEvent& ) > RotationSignalType;
typedef Signal< void ( DevelWindow::EffectState, DevelWindow::EffectType ) > TransitionEffectEventSignalType;
+ typedef Signal< void ( ) > KeyboardRepeatSettingsChangedSignalType;
// Input events
typedef Signal< void ( Integration::Point&, uint32_t ) > TouchEventSignalType;
- typedef Signal< void ( WheelEvent& ) > WheelEventSignalType;
+ typedef Signal< void ( Integration::WheelEvent& ) > WheelEventSignalType;
typedef Signal< void( Integration::KeyEvent& ) > KeyEventSignalType;
// Clipboard
virtual void GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiVertical ) = 0;
/**
- * @brief Return the orientation of the surface.
- * @return The orientation
- */
- virtual int GetOrientation() const = 0;
-
- /**
* @brief Get the screen rotation angle of the window
*/
virtual int GetScreenRotationAngle() = 0;
*/
virtual void SetWindowRotationAngle( int degree ) = 0;
- /**
- * @brief Get the rotation angle of the window
- */
- virtual int GetWindowRotationAngle() = 0;
-
/**
* @brief Inform the window rotation is completed
*/
*/
virtual void SetParent( WindowBase* parentWinBase ) = 0;
+ /**
+ * @brief Create a sync fence that can tell the frame is rendered by the graphics driver.
+ * @return The file descriptor that tells when it is rendered.
+ */
+ virtual int CreateFrameRenderedSyncFence() = 0;
+
+ /**
+ * @brief Create a sync fence that can tell the frame is presented by the display server.
+ * @return The file descriptor that tells when it is presented.
+ */
+ virtual int CreateFramePresentedSyncFence() = 0;
+
// Signals
/**
*/
TransitionEffectEventSignalType& TransitionEffectEventSignal();
+ /**
+ * @brief This signal is emitted when the keyboard repeat is changed.
+ */
+ KeyboardRepeatSettingsChangedSignalType& KeyboardRepeatSettingsChangedSignal();
+
protected:
// Undefined
protected:
- IconifySignalType mIconifyChangedSignal;
- FocusSignalType mFocusChangedSignal;
- OutputSignalType mOutputTransformedSignal;
- DeleteSignalType mDeleteRequestSignal;
- DamageSignalType mWindowDamagedSignal;
- RotationSignalType mRotationSignal;
- TouchEventSignalType mTouchEventSignal;
- WheelEventSignalType mWheelEventSignal;
- KeyEventSignalType mKeyEventSignal;
- SelectionSignalType mSelectionDataSendSignal;
- SelectionSignalType mSelectionDataReceivedSignal;
- StyleSignalType mStyleChangedSignal;
- AccessibilitySignalType mAccessibilitySignal;
- TransitionEffectEventSignalType mTransitionEffectEventSignal;
+ IconifySignalType mIconifyChangedSignal;
+ FocusSignalType mFocusChangedSignal;
+ OutputSignalType mOutputTransformedSignal;
+ DeleteSignalType mDeleteRequestSignal;
+ DamageSignalType mWindowDamagedSignal;
+ RotationSignalType mRotationSignal;
+ TouchEventSignalType mTouchEventSignal;
+ WheelEventSignalType mWheelEventSignal;
+ KeyEventSignalType mKeyEventSignal;
+ SelectionSignalType mSelectionDataSendSignal;
+ SelectionSignalType mSelectionDataReceivedSignal;
+ StyleSignalType mStyleChangedSignal;
+ AccessibilitySignalType mAccessibilitySignal;
+ TransitionEffectEventSignalType mTransitionEffectEventSignal;
+ KeyboardRepeatSettingsChangedSignalType mKeyboardRepeatSettingsChangedSignal;
};
} // namespace Adaptor