ewol::compositing::TextBase Class Referenceabstract
Inheritance diagram for ewol::compositing::TextBase:
ewol::Compositing ewol::compositing::Text ewol::compositing::TextDF

Public Member Functions

virtual ewol::compositing::DrawinggetDrawing ()
 
virtual void loadProgram (const std::string &_shaderName)
 
 TextBase (const std::string &_shaderName="{ewol}DATA:text.prog", bool _loadProgram=true)
 
virtual ~TextBase ()
 
void translate (const vec3 &_vect)
 
void rotate (const vec3 &_vect, float _angle)
 
void scale (const vec3 &_vect)
 
void draw (bool _disableDepthTest=true)
 
void draw (const mat4 &_transformationMatrix, bool _enableDepthTest=false)
 
virtual void drawD (bool _disableDepthTest)=0
 
virtual void drawMT (const mat4 &_transformationMatrix, bool _enableDepthTest)=0
 
virtual void clear ()
 
virtual void reset ()
 
const vec3getPos ()
 
void setPos (const vec3 &_pos)
 
void setPos (const vec2 &_pos)
 
void setRelPos (const vec3 &_pos)
 
void setRelPos (const vec2 &_pos)
 
void setDefaultColorBg (const etk::Color<> &_color)
 
void setDefaultColorFg (const etk::Color<> &_color)
 
void setColor (const etk::Color<> &_color)
 
void setColorBg (const etk::Color<> &_color)
 
void setClippingWidth (const vec3 &_pos, const vec3 &_width)
 
void setClippingWidth (const vec2 &_pos, const vec2 &_width)
 
void setClipping (const vec3 &_pos, const vec3 &_posEnd)
 
void setClipping (const vec2 &_pos, const vec2 &_posEnd)
 
void setClippingMode (bool _newMode)
 
virtual void setFontSize (int32_t _fontSize)=0
 
virtual void setFontName (const std::string &_fontName)=0
 
virtual void setFont (std::string _fontName, int32_t _fontSize)=0
 
virtual void setFontMode (enum ewol::font::mode _mode)=0
 
enum ewol::font::mode getFontMode ()
 
virtual float getHeight ()=0
 
virtual float getSize ()=0
 
virtual ewol::GlyphPropertygetGlyphPointer (char32_t _charcode)=0
 
void setFontBold (bool _status)
 
void setFontItalic (bool _status)
 
void setKerningMode (bool _newMode)
 
void print (const std::string &_text)
 
void print (const std::u32string &_text)
 
void printDecorated (const std::string &_text)
 
void printDecorated (const std::u32string &_text)
 
void printHTML (const std::string &_text)
 
void printHTML (const std::u32string &_text)
 
void print (const std::string &_text, const std::vector< TextDecoration > &_decoration)
 
void print (const std::u32string &_text, const std::vector< TextDecoration > &_decoration)
 
virtual void printChar (const char32_t &_charcode)=0
 
void forceLineReturn ()
 
void setTextAlignement (float _startTextpos, float _stopTextPos, enum ewol::compositing::aligneMode _alignement=ewol::compositing::alignDisable)
 
void disableAlignement ()
 
enum ewol::compositing::aligneMode getAlignement ()
 
vec3 calculateSizeHTML (const std::string &_text)
 
vec3 calculateSizeHTML (const std::u32string &_text)
 
vec3 calculateSizeDecorated (const std::string &_text)
 
vec3 calculateSizeDecorated (const std::u32string &_text)
 
vec3 calculateSize (const std::string &_text)
 
vec3 calculateSize (const std::u32string &_text)
 
vec3 calculateSize (const char32_t &_charcode)
 
void printCursor (bool _isInsertMode, float _cursorSize=20.0f)
 
void disableCursor ()
 
void setCursorPos (int32_t _cursorPos)
 
void setCursorSelection (int32_t _cursorPos, int32_t _selectionStartPos)
 
void setSelectionColor (const etk::Color<> &_color)
 
void setCursorColor (const etk::Color<> &_color)
 
- Public Member Functions inherited from ewol::Compositing
 Compositing ()
 
virtual ~Compositing ()
 
virtual void resetMatrix ()
 
virtual void setMatrix (const mat4 &_mat)
 

Protected Member Functions

void parseHtmlNode (const exml::Element &_element)
 
virtual vec3 calculateSizeChar (const char32_t &_charcode)=0
 
bool extrapolateLastId (const std::string &_text, const int32_t _start, int32_t &_stop, int32_t &_space, int32_t &_freeSpace)
 
bool extrapolateLastId (const std::u32string &_text, const int32_t _start, int32_t &_stop, int32_t &_space, int32_t &_freeSpace)
 
void htmlAddData (const std::u32string &_data)
 
void htmlFlush ()
 

Protected Attributes

ewol::compositing::Drawing m_vectorialDraw
 
int32_t m_nbCharDisplayed
 
vec3 m_sizeDisplayStart
 
vec3 m_sizeDisplayStop
 
bool m_needDisplay
 
vec3 m_position
 
vec3 m_clippingPosStart
 
vec3 m_clippingPosStop
 
bool m_clippingEnable
 
etk::Color m_defaultColorFg
 
etk::Color m_defaultColorBg
 
etk::Color m_color
 
etk::Color m_colorBg
 
etk::Color m_colorCursor
 
etk::Color m_colorSelection
 
enum ewol::font::mode m_mode
 
bool m_kerning
 
char32_t m_previousCharcode
 
float m_startTextpos
 
float m_stopTextPos
 
enum aligneMode m_alignement
 
ememory::SharedPtr< gale::resource::Program > m_GLprogram
 
int32_t m_GLPosition
 
int32_t m_GLMatrix
 
int32_t m_GLColor
 
int32_t m_GLtexture
 
int32_t m_GLtexID
 
int32_t m_GLtextWidth
 
int32_t m_GLtextHeight
 
int32_t m_selectionStartPos
 
int32_t m_cursorPos
 
std::vector< vec3m_coord
 
std::vector< vec2m_coordTex
 
std::vector< etk::Color< float > > m_coordColor
 
std::u32string m_htmlCurrrentLine
 
std::vector< TextDecorationm_htmlDecoration
 
TextDecoration m_htmlDecoTmp
 
- Protected Attributes inherited from ewol::Compositing
mat4 m_matrixApply
 

Constructor & Destructor Documentation

§ TextBase()

ewol::compositing::TextBase::TextBase ( const std::string &  _shaderName = "{ewol}DATA:text.prog",
bool  _loadProgram = true 
)

generic constructor

§ ~TextBase()

virtual ewol::compositing::TextBase::~TextBase ( )
virtual

generic destructor

Member Function Documentation

§ calculateSize() [1/3]

vec3 ewol::compositing::TextBase::calculateSize ( const std::string &  _text)

calculate a theoric text size

Parameters
[in]_textThe string to calculate dimention.
Returns
The theoric size used.

§ calculateSize() [2/3]

vec3 ewol::compositing::TextBase::calculateSize ( const std::u32string &  _text)

§ calculateSize() [3/3]

vec3 ewol::compositing::TextBase::calculateSize ( const char32_t &  _charcode)
inline

calculate a theoric charcode size

Parameters
[in]_charcodeThe µUnicode value to calculate dimention.
Returns
The theoric size used.

§ calculateSizeChar()

virtual vec3 ewol::compositing::TextBase::calculateSizeChar ( const char32_t &  _charcode)
protectedpure virtual

§ calculateSizeDecorated() [1/2]

vec3 ewol::compositing::TextBase::calculateSizeDecorated ( const std::string &  _text)

calculate a theoric text size

Parameters
[in]_textThe string to calculate dimention.
Returns
The theoric size used.

§ calculateSizeDecorated() [2/2]

vec3 ewol::compositing::TextBase::calculateSizeDecorated ( const std::u32string &  _text)

§ calculateSizeHTML() [1/2]

vec3 ewol::compositing::TextBase::calculateSizeHTML ( const std::string &  _text)

calculate a theoric text size

Parameters
[in]_textThe string to calculate dimention.
Returns
The theoric size used.

§ calculateSizeHTML() [2/2]

vec3 ewol::compositing::TextBase::calculateSizeHTML ( const std::u32string &  _text)

§ clear()

virtual void ewol::compositing::TextBase::clear ( )
virtual

clear all the registered element in the current element

Reimplemented from ewol::Compositing.

Reimplemented in ewol::compositing::TextDF.

§ disableAlignement()

void ewol::compositing::TextBase::disableAlignement ( )

disable the alignement system

§ disableCursor()

void ewol::compositing::TextBase::disableCursor ( )

remove the cursor display

§ draw() [1/2]

void ewol::compositing::TextBase::draw ( bool  _disableDepthTest = true)
inlinevirtual

draw All the refistered text in the current element on openGL

Implements ewol::Compositing.

§ draw() [2/2]

void ewol::compositing::TextBase::draw ( const mat4 _transformationMatrix,
bool  _enableDepthTest = false 
)
inline

§ drawD()

virtual void ewol::compositing::TextBase::drawD ( bool  _disableDepthTest)
pure virtual

draw All the refistered text in the current element on openGL

Implemented in ewol::compositing::TextDF, and ewol::compositing::Text.

§ drawMT()

virtual void ewol::compositing::TextBase::drawMT ( const mat4 _transformationMatrix,
bool  _enableDepthTest 
)
pure virtual

§ extrapolateLastId() [1/2]

bool ewol::compositing::TextBase::extrapolateLastId ( const std::string &  _text,
const int32_t  _start,
int32_t &  _stop,
int32_t &  _space,
int32_t &  _freeSpace 
)
protected

calculate the element number that is the first out the alignement range (start at the specify ID, and use start pos with current one)

Parameters
[in]_textThe string that might be parsed.
[in]_startThe first elemnt that might be used to calculate.
[out]_stopThe last Id availlable in the current string.
[out]_spaceNumber of space in the string.
[out]_freespaceThis represent the number of pixel present in the right white space.
Returns
true if the rifht has free space that can be use for jystify.
false if we find '
'

§ extrapolateLastId() [2/2]

bool ewol::compositing::TextBase::extrapolateLastId ( const std::u32string &  _text,
const int32_t  _start,
int32_t &  _stop,
int32_t &  _space,
int32_t &  _freeSpace 
)
protected

§ forceLineReturn()

void ewol::compositing::TextBase::forceLineReturn ( )

This generate the line return == > it return to the alignement position start and at the correct line position ==> it might be use to not know the line height.

§ getAlignement()

enum ewol::compositing::aligneMode ewol::compositing::TextBase::getAlignement ( )

get the current alignement property

Returns
the curent alignement type

§ getFontMode()

enum ewol::font::mode ewol::compositing::TextBase::getFontMode ( )
inline

get the current font mode

Returns
The font mode applied

§ getPos()

const vec3& ewol::compositing::TextBase::getPos ( )
inline

get the current display position (sometime needed in the gui control)

Returns
the current position.

§ htmlAddData()

void ewol::compositing::TextBase::htmlAddData ( const std::u32string &  _data)
protected

add a line with the current m_htmlDecoTmp decoration

Parameters
[in]_dataThe cuurent data to add.

§ htmlFlush()

void ewol::compositing::TextBase::htmlFlush ( )
protected

draw the current line

§ loadProgram()

virtual void ewol::compositing::TextBase::loadProgram ( const std::string &  _shaderName)
virtual

load the openGL program and get all the ID needed

Reimplemented in ewol::compositing::TextDF.

§ parseHtmlNode()

void ewol::compositing::TextBase::parseHtmlNode ( const exml::Element _element)
protected

This parse a tinyXML node (void pointer to permit to hide tiny XML in include).

Parameters
[in]_elementthe exml element.

§ print() [1/4]

void ewol::compositing::TextBase::print ( const std::string &  _text)

display a compleat string in the current element.

Parameters
[in]_textThe string to display.

§ print() [2/4]

void ewol::compositing::TextBase::print ( const std::u32string &  _text)

§ print() [3/4]

void ewol::compositing::TextBase::print ( const std::string &  _text,
const std::vector< TextDecoration > &  _decoration 
)

display a compleat string in the current element whith specific decorations (advence mode).

Parameters
[in]_textThe string to display.
[in]_decorationThe text decoration for the text that might be display (if the vector is smaller, the last parameter is get)

§ print() [4/4]

void ewol::compositing::TextBase::print ( const std::u32string &  _text,
const std::vector< TextDecoration > &  _decoration 
)

§ printChar()

virtual void ewol::compositing::TextBase::printChar ( const char32_t &  _charcode)
pure virtual

display the current char in the current element (note that the kerning is availlable if the position is not changed)

Parameters
[in]_charcodeChar that might be dispalyed

Implemented in ewol::compositing::TextDF, and ewol::compositing::Text.

§ printCursor()

void ewol::compositing::TextBase::printCursor ( bool  _isInsertMode,
float  _cursorSize = 20.0f 
)

draw a cursor at the specify position

Parameters
[in]_isInsertModeTrue if the insert mode is activated
[in]_cursorSizeThe sizae of the cursor that might be set when insert mode is set [default 20]

§ printDecorated() [1/2]

void ewol::compositing::TextBase::printDecorated ( const std::string &  _text)

display a compleat string in the current element with the generic decoration specification. (basic html data)

[code style=xml]



text exemple in bold other text bold part boldItalic part an other thext <font color="#FF0000">colored text bold color text bold italic text normal color text</font> the end of the string
an an other thext




<left> plop 1 </left>


<right> plop 2 </right>


<justify> Un exemple de text </justify> [/code]

Note
This is parsed with tiny xml, then be carfull that the XML is correct, and all balises are closed ... otherwite the display can not be done
Parameters
[in]_textThe string to display. : implementation not done ....

§ printDecorated() [2/2]

void ewol::compositing::TextBase::printDecorated ( const std::u32string &  _text)

§ printHTML() [1/2]

void ewol::compositing::TextBase::printHTML ( const std::string &  _text)

display a compleat string in the current element with the generic decoration specification. (basic html data)

[code style=xml] <html> <body>



text exemple in bold other text bold part boldItalic part an other thext <font color="#FF0000">colored text bold color text bold italic text normal color text</font> the end of the string
an an other thext




<left> plop 1 </left>


<right> plop 2 </right>


<justify> Un exemple de text </justify> </body> </html> [/code]

Note
This is parsed with tiny xml, then be carfull that the XML is correct, and all balises are closed ... otherwite the display can not be done
Parameters
[in]_textThe string to display. : implementation not done ....

§ printHTML() [2/2]

void ewol::compositing::TextBase::printHTML ( const std::u32string &  _text)

§ reset()

virtual void ewol::compositing::TextBase::reset ( )
virtual

clear all the intermediate result detween 2 prints

§ rotate()

void ewol::compositing::TextBase::rotate ( const vec3 _vect,
float  _angle 
)
virtual

rotate the curent display of this element

Parameters
[in]_vectThe rotation vector to apply at the transformation matrix

Reimplemented from ewol::Compositing.

§ scale()

void ewol::compositing::TextBase::scale ( const vec3 _vect)
virtual

scale the current diaplsy of this element

Parameters
[in]_vectThe scaling vector to apply at the transformation matrix

Reimplemented from ewol::Compositing.

§ setClipping() [1/2]

void ewol::compositing::TextBase::setClipping ( const vec3 _pos,
const vec3 _posEnd 
)

Request a clipping area for the text (next draw only)

Parameters
[in]_posStart position of the clipping
[in]_posEndEnd position of the clipping

§ setClipping() [2/2]

void ewol::compositing::TextBase::setClipping ( const vec2 _pos,
const vec2 _posEnd 
)
inline

§ setClippingMode()

void ewol::compositing::TextBase::setClippingMode ( bool  _newMode)

enable/Disable the clipping (without lose the current clipping position)

_newMode The new status of the clipping

§ setClippingWidth() [1/2]

void ewol::compositing::TextBase::setClippingWidth ( const vec3 _pos,
const vec3 _width 
)
inline

Request a clipping area for the text (next draw only)

Parameters
[in]_posStart position of the clipping
[in]_widthWidth size of the clipping

§ setClippingWidth() [2/2]

void ewol::compositing::TextBase::setClippingWidth ( const vec2 _pos,
const vec2 _width 
)
inline

§ setColor()

void ewol::compositing::TextBase::setColor ( const etk::Color<> &  _color)
inline

set the Color of the current foreground font

Parameters
[in]_colorColor to set on foreground (for next print)

§ setColorBg()

void ewol::compositing::TextBase::setColorBg ( const etk::Color<> &  _color)

set the background color of the font (for selected Text (not the global BG))

Parameters
[in]_colorColor to set on background (for next print)

§ setCursorColor()

void ewol::compositing::TextBase::setCursorColor ( const etk::Color<> &  _color)

change the cursor color

Parameters
[in]_colorNew color for the Selection

§ setCursorPos()

void ewol::compositing::TextBase::setCursorPos ( int32_t  _cursorPos)

set a cursor at a specific position:

Parameters
[in]_cursorPosid of the cursor position

§ setCursorSelection()

void ewol::compositing::TextBase::setCursorSelection ( int32_t  _cursorPos,
int32_t  _selectionStartPos 
)

set a cursor at a specific position with his associated selection:

Parameters
[in]_cursorPosid of the cursor position
[in]_selectionStartPosid of the starting of the selection

§ setDefaultColorBg()

void ewol::compositing::TextBase::setDefaultColorBg ( const etk::Color<> &  _color)
inline

set the default background color of the font (when reset, set this value ...)

Parameters
[in]_colorColor to set on background

§ setDefaultColorFg()

void ewol::compositing::TextBase::setDefaultColorFg ( const etk::Color<> &  _color)
inline

set the default Foreground color of the font (when reset, set this value ...)

Parameters
[in]_colorColor to set on foreground

§ setFont()

virtual void ewol::compositing::TextBase::setFont ( std::string  _fontName,
int32_t  _fontSize 
)
pure virtual

Specify the font property (this reset the internal element of the current text (system requirement)

Parameters
[in]fontNameCurrent name of the selected font
[in]fontSizeNew font size

Implemented in ewol::compositing::TextDF, and ewol::compositing::Text.

§ setFontBold()

void ewol::compositing::TextBase::setFontBold ( bool  _status)

enable or disable the bold mode

Parameters
[in]_statusThe new status for this display property

§ setFontItalic()

void ewol::compositing::TextBase::setFontItalic ( bool  _status)

enable or disable the italic mode

Parameters
[in]_statusThe new status for this display property

§ setFontMode()

virtual void ewol::compositing::TextBase::setFontMode ( enum ewol::font::mode  _mode)
pure virtual

Specify the font mode for the next print.

Parameters
[in]modeThe font mode requested

Implemented in ewol::compositing::TextDF, and ewol::compositing::Text.

§ setFontName()

virtual void ewol::compositing::TextBase::setFontName ( const std::string &  _fontName)
pure virtual

Specify the font name (this reset the internal element of the current text (system requirement)

Parameters
[in]_fontNameCurrent name of the selected font

Implemented in ewol::compositing::TextDF, and ewol::compositing::Text.

§ setFontSize()

virtual void ewol::compositing::TextBase::setFontSize ( int32_t  _fontSize)
pure virtual

Specify the font size (this reset the internal element of the current text (system requirement)

Parameters
[in]_fontSizeNew font size

Implemented in ewol::compositing::TextDF, and ewol::compositing::Text.

§ setKerningMode()

void ewol::compositing::TextBase::setKerningMode ( bool  _newMode)

set the activation of the Kerning for the display (if it existed)

Parameters
[in]_newModeenable/Diasable the kerning on this font.

§ setPos() [1/2]

void ewol::compositing::TextBase::setPos ( const vec3 _pos)

set position for the next text writen

Parameters
[in]_posPosition of the text (in 3D)

§ setPos() [2/2]

void ewol::compositing::TextBase::setPos ( const vec2 _pos)
inline

§ setRelPos() [1/2]

void ewol::compositing::TextBase::setRelPos ( const vec3 _pos)

set relative position for the next text writen

Parameters
[in]_posofset apply of the text (in 3D)

§ setRelPos() [2/2]

void ewol::compositing::TextBase::setRelPos ( const vec2 _pos)
inline

§ setSelectionColor()

void ewol::compositing::TextBase::setSelectionColor ( const etk::Color<> &  _color)

change the selection color

Parameters
[in]_colorNew color for the Selection

§ setTextAlignement()

void ewol::compositing::TextBase::setTextAlignement ( float  _startTextpos,
float  _stopTextPos,
enum ewol::compositing::aligneMode  _alignement = ewol::compositing::alignDisable 
)

This generate the possibility to generate the big text property.

Parameters
[in]_startTextposThe x text start position of the display.
[in]_stopTextPosThe x text stop position of the display.
[in]_alignementmode of alignement for the Text.
Note
The text align in center change of line every display done (even if it was just a char)

§ translate()

void ewol::compositing::TextBase::translate ( const vec3 _vect)
virtual

translate the current display of this element

Parameters
[in]_vectThe translation vector to apply at the transformation matrix

Reimplemented from ewol::Compositing.

Member Data Documentation

§ m_alignement

enum aligneMode ewol::compositing::TextBase::m_alignement
protected

Current Alignement mode (justify/left/right ...)

§ m_clippingEnable

bool ewol::compositing::TextBase::m_clippingEnable
protected

true if the clipping must be activated

§ m_clippingPosStart

vec3 ewol::compositing::TextBase::m_clippingPosStart
protected

Clipping start position.

§ m_clippingPosStop

vec3 ewol::compositing::TextBase::m_clippingPosStop
protected

Clipping stop position.

§ m_color

etk::Color ewol::compositing::TextBase::m_color
protected

The text foreground color.

§ m_colorBg

etk::Color ewol::compositing::TextBase::m_colorBg
protected

The text background color.

§ m_colorCursor

etk::Color ewol::compositing::TextBase::m_colorCursor
protected

The text cursor color.

§ m_colorSelection

etk::Color ewol::compositing::TextBase::m_colorSelection
protected

The text Selection color.

§ m_coord

std::vector<vec3 > ewol::compositing::TextBase::m_coord
protected

internal coord of the object

§ m_coordColor

std::vector<etk::Color<float> > ewol::compositing::TextBase::m_coordColor
protected

internal color of the different point

§ m_coordTex

std::vector<vec2 > ewol::compositing::TextBase::m_coordTex
protected

internal texture coordinate for every point

§ m_cursorPos

int32_t ewol::compositing::TextBase::m_cursorPos
protected

Cursor position (default no cursor == > -100)

§ m_defaultColorBg

etk::Color ewol::compositing::TextBase::m_defaultColorBg
protected

The text background color.

§ m_defaultColorFg

etk::Color ewol::compositing::TextBase::m_defaultColorFg
protected

The text foreground color.

§ m_GLColor

int32_t ewol::compositing::TextBase::m_GLColor
protected

openGL id on the element (color buffer)

§ m_GLMatrix

int32_t ewol::compositing::TextBase::m_GLMatrix
protected

openGL id on the element (transformation matrix)

§ m_GLPosition

int32_t ewol::compositing::TextBase::m_GLPosition
protected

openGL id on the element (vertex buffer)

§ m_GLprogram

ememory::SharedPtr<gale::resource::Program> ewol::compositing::TextBase::m_GLprogram
protected

pointer on the opengl display program

§ m_GLtexID

int32_t ewol::compositing::TextBase::m_GLtexID
protected

openGL id on the element (texture ID)

§ m_GLtextHeight

int32_t ewol::compositing::TextBase::m_GLtextHeight
protected

openGL Id on the texture height

§ m_GLtexture

int32_t ewol::compositing::TextBase::m_GLtexture
protected

openGL id on the element (Texture position)

§ m_GLtextWidth

int32_t ewol::compositing::TextBase::m_GLtextWidth
protected

openGL Id on the texture width

§ m_htmlCurrrentLine

std::u32string ewol::compositing::TextBase::m_htmlCurrrentLine
protected

current line for HTML display

§ m_htmlDecoration

std::vector<TextDecoration> ewol::compositing::TextBase::m_htmlDecoration
protected

current decoration for the HTML display

§ m_htmlDecoTmp

TextDecoration ewol::compositing::TextBase::m_htmlDecoTmp
protected

current decoration

§ m_kerning

bool ewol::compositing::TextBase::m_kerning
protected

Kerning enable or disable on the next elements displayed.

§ m_mode

enum ewol::font::mode ewol::compositing::TextBase::m_mode
protected

font display property : Regular/Bold/Italic/BoldItalic

§ m_nbCharDisplayed

int32_t ewol::compositing::TextBase::m_nbCharDisplayed
protected

prevent some error in calculation size.

§ m_needDisplay

bool ewol::compositing::TextBase::m_needDisplay
protected

This just need the display and not the size rendering.

§ m_position

vec3 ewol::compositing::TextBase::m_position
protected

The current position to draw.

§ m_previousCharcode

char32_t ewol::compositing::TextBase::m_previousCharcode
protected

we remember the previous charcode to perform the kerning. Kerning

§ m_selectionStartPos

int32_t ewol::compositing::TextBase::m_selectionStartPos
protected

start position of the Selection (if == m_cursorPos ==> no selection)

§ m_sizeDisplayStart

vec3 ewol::compositing::TextBase::m_sizeDisplayStart
protected

The start windows of the display.

§ m_sizeDisplayStop

vec3 ewol::compositing::TextBase::m_sizeDisplayStop
protected

The end windows of the display.

§ m_startTextpos

float ewol::compositing::TextBase::m_startTextpos
protected

start position of the Alignement (when
the text return at this position)

§ m_stopTextPos

float ewol::compositing::TextBase::m_stopTextPos
protected

end of the alignement (when a string is too hight it cut at the word previously this virtual line and the center is perform with this one)

§ m_vectorialDraw

ewol::compositing::Drawing ewol::compositing::TextBase::m_vectorialDraw
protected

This is used to draw background selection and other things ...


The documentation for this class was generated from the following file: