[DEBUG] retrive clipboard

This commit is contained in:
Edouard DUPIN 2013-09-19 09:20:26 +02:00
parent a5f08902cf
commit 21f0a6856a
5 changed files with 15 additions and 13 deletions

2
build

@ -1 +1 @@
Subproject commit 4d31bbfa3d7918ff38cc721da3267519e3b21c91 Subproject commit f67512f49d91a95a30e60085a2bdc39b606c166c

2
external/ege vendored

@ -1 +1 @@
Subproject commit 901747263964d1330756ddebfbb9b3a4069dee78 Subproject commit c5b072f457d6c4fc7775fc0bd062e60ad37ef450

View File

@ -88,7 +88,7 @@ void ewol::clipBoard::Set(ewol::clipBoard::clipboardListe_te _clipboardID, const
if( ewol::clipBoard::clipboardStd == _clipboardID if( ewol::clipBoard::clipboardStd == _clipboardID
|| ewol::clipBoard::clipboardSelection == _clipboardID) { || ewol::clipBoard::clipboardSelection == _clipboardID) {
//guiInterface::ClipBoardSet(_clipboardID); ewol::GetContext().ClipBoardSet(_clipboardID);
EWOL_TODO("Set ClipBoard"); EWOL_TODO("Set ClipBoard");
} }
} }
@ -103,11 +103,11 @@ void ewol::clipBoard::Request(ewol::clipBoard::clipboardListe_te _clipboardID)
if( ewol::clipBoard::clipboardStd == _clipboardID if( ewol::clipBoard::clipboardStd == _clipboardID
|| ewol::clipBoard::clipboardSelection == _clipboardID) { || ewol::clipBoard::clipboardSelection == _clipboardID) {
//guiInterface::ClipBoardGet(_clipboardID); ewol::GetContext().ClipBoardGet(_clipboardID);
EWOL_TODO("Get ClipBoard"); EWOL_TODO("Get ClipBoard");
} else { } else {
// generate an event on the main thread ... // generate an event on the main thread ...
//eSystem::ClipBoardArrive(_clipboardID); ewol::GetContext().OS_ClipBoardArrive(_clipboardID);
EWOL_TODO("ClipBoard arrive"); EWOL_TODO("ClipBoard arrive");
} }
} }

View File

@ -49,6 +49,8 @@ namespace ewol
} aligneMode_te; } aligneMode_te;
private: private:
ewol::Drawing m_vectorialDraw; //!< This is used to draw background selection and other things ... ewol::Drawing m_vectorialDraw; //!< This is used to draw background selection and other things ...
public:
ewol::Drawing& GetDrawing(void) { return m_vectorialDraw; };
private: private:
int32_t m_nbCharDisplayed; //!< prevent some error in calculation size. int32_t m_nbCharDisplayed; //!< prevent some error in calculation size.
vec3 m_sizeDisplayStart; //!< The start windows of the display. vec3 m_sizeDisplayStart; //!< The start windows of the display.

View File

@ -158,7 +158,7 @@ namespace ewol {
*/ */
virtual vec2 RelativePosition(const vec2& _pos); virtual vec2 RelativePosition(const vec2& _pos);
/** /**
* @brief Parrent set the possible diplay size of the current widget whith his own possibilities * @brief Parent set the possible diplay size of the current widget whith his own possibilities
* By default this save the widget available size in the widget size * By default this save the widget available size in the widget size
* @param[in] _available Available x&y pixel size * @param[in] _available Available x&y pixel size
* @note : INTERNAL EWOL SYSTEM * @note : INTERNAL EWOL SYSTEM
@ -549,13 +549,13 @@ namespace ewol {
virtual void ShortCutClean(void); virtual void ShortCutClean(void);
public: public:
/** /**
* @brief Event on a short-cut of this Widget (in case of return false, the event on the keyevent will arrive in the function @ref OnEventKb) * @brief Event on a short-cut of this Widget (in case of return false, the event on the keyevent will arrive in the function @ref OnEventKb).
* @param[in] _special all the special kay pressed at this time * @param[in] _special All the special kay pressed at this time.
* @param[in] _unicodeValue key pressed by the user not used if the kbMove!=ewol::EVENT_KB_MOVE_TYPE_NONE * @param[in] _unicodeValue Key pressed by the user not used if the kbMove!=ewol::EVENT_KB_MOVE_TYPE_NONE.
* @param[in] _kbMove special key of the keyboard * @param[in] _kbMove Special key of the keyboard.
* @return true if the event has been used * @return true if the event has been used.
* @return false if the event has not been used * @return false if the event has not been used.
* @note To prevent some error when you get an event get it if it is down and Up ... ==> like this it could not generate some ununderstanding error * @note To prevent some error when you get an event get it if it is down and Up ... ==> like this it could not generate some ununderstanding error.
*/ */
virtual bool OnEventShortCut(ewol::SpecialKey& _special, uniChar_t _unicodeValue, ewol::keyEvent::keyboard_te _kbMove, bool _isDown); virtual bool OnEventShortCut(ewol::SpecialKey& _special, uniChar_t _unicodeValue, ewol::keyEvent::keyboard_te _kbMove, bool _isDown);
// ---------------------------------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------------------------------