[DEV] rework android Context
This commit is contained in:
parent
d5d2297e7f
commit
8fd060fd03
2
build
2
build
@ -1 +1 @@
|
|||||||
Subproject commit 8fd16ebb053e581abae3d839b06bce63ffa69ab3
|
Subproject commit 4d31bbfa3d7918ff38cc721da3267519e3b21c91
|
File diff suppressed because it is too large
Load Diff
@ -40,7 +40,7 @@ int64_t ewol::GetTime(void)
|
|||||||
#define __class__ "ContextWindows"
|
#define __class__ "ContextWindows"
|
||||||
|
|
||||||
|
|
||||||
class WindowsContext : public eContext
|
class WindowsContext : public ewol::eContext
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
int32_t m_currentHeight = 0;
|
int32_t m_currentHeight = 0;
|
||||||
|
@ -133,25 +133,25 @@ namespace ewol
|
|||||||
void ProcessEvents(void);
|
void ProcessEvents(void);
|
||||||
public:
|
public:
|
||||||
|
|
||||||
void SetArchiveDir(int _mode, const char* _str);
|
virtual void SetArchiveDir(int _mode, const char* _str);
|
||||||
|
|
||||||
|
|
||||||
void OS_SetInputMotion(int _pointerID, const vec2& _pos);
|
virtual void OS_SetInputMotion(int _pointerID, const vec2& _pos);
|
||||||
void OS_SetInputState(int _pointerID, bool _isDown, const vec2& _pos);
|
virtual void OS_SetInputState(int _pointerID, bool _isDown, const vec2& _pos);
|
||||||
|
|
||||||
void OS_SetMouseMotion(int _pointerID, const vec2& _pos);
|
virtual void OS_SetMouseMotion(int _pointerID, const vec2& _pos);
|
||||||
void OS_SetMouseState(int _pointerID, bool _isDown, const vec2& _pos);
|
virtual void OS_SetMouseState(int _pointerID, bool _isDown, const vec2& _pos);
|
||||||
|
|
||||||
void OS_SetKeyboard(ewol::SpecialKey& _special,
|
virtual void OS_SetKeyboard(ewol::SpecialKey& _special,
|
||||||
uniChar_t _myChar,
|
uniChar_t _myChar,
|
||||||
bool _isDown,
|
bool _isDown,
|
||||||
bool _isARepeateKey=false);
|
bool _isARepeateKey=false);
|
||||||
void OS_SetKeyboardMove(ewol::SpecialKey& _special,
|
virtual void OS_SetKeyboardMove(ewol::SpecialKey& _special,
|
||||||
ewol::keyEvent::keyboard_te _move,
|
ewol::keyEvent::keyboard_te _move,
|
||||||
bool _isDown,
|
bool _isDown,
|
||||||
bool _isARepeateKey=false);
|
bool _isARepeateKey=false);
|
||||||
|
|
||||||
void OS_SetClipBoard(ewol::clipBoard::clipboardListe_te _clipboardID);
|
virtual void OS_SetClipBoard(ewol::clipBoard::clipboardListe_te _clipboardID);
|
||||||
|
|
||||||
void RequestUpdateSize(void);
|
void RequestUpdateSize(void);
|
||||||
|
|
||||||
@ -204,7 +204,7 @@ namespace ewol
|
|||||||
* @brief The OS inform that the current windows has change his size.
|
* @brief The OS inform that the current windows has change his size.
|
||||||
* @param[in] _size new size of the windows.
|
* @param[in] _size new size of the windows.
|
||||||
*/
|
*/
|
||||||
void OS_Resize(const vec2& _size);
|
virtual void OS_Resize(const vec2& _size);
|
||||||
/**
|
/**
|
||||||
* @brief The application request a change of his curent size.
|
* @brief The application request a change of his curent size.
|
||||||
* @param[in] _size new Requested size of the windows.
|
* @param[in] _size new Requested size of the windows.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user