GlistEngine
Loading...
Searching...
No Matches
gGUIGrid Class Reference

#include <gGUIGrid.h>

Inheritance diagram for gGUIGrid:
Collaboration diagram for gGUIGrid:

Classes

struct  Cell

Public Types

enum  { TEXTLINE_NONE , TEXTLINE_UNDER , TEXTLINE_DOUBLEUNDER , TEXTLINE_STRIKE }
enum  {
  FUNCTIONTYPE_NONE , FUNCTIONTYPE_COPY , FUNCTIONTYPE_SUM , FUNCTIONTYPE_ADD ,
  FUNCTIONTYPE_SUB , FUNCTIONTYPE_DIVIDE , FUNCTIONTYPE_MULTIPLY
}
enum  { FUNCTION_TYPE , FUNCTION_SENDER , FUNCTION_FIRSTINDEX }
enum  {
  PROCESS_TEXT , PROCESS_FONT , PROCESS_FONTSTATE , PROCESS_FONTSIZE ,
  PROCESS_ALIGNMENT , PROCESS_COLOR , PROCESS_LINE , PROCESS_ALL
}
enum  { ENTERDIRECTION_DOWN , ENTERDIRECTION_RIGHT }
Public Types inherited from gBaseGUIObject
enum  { TEXTALIGNMENT_LEFT , TEXTALIGNMENT_MIDDLE , TEXTALIGNMENT_RIGHT }

Public Member Functions

 gGUIGrid ()
virtual ~gGUIGrid ()
void set (gBaseApp *root, gBaseGUIObject *topParentGUIObject, gBaseGUIObject *parentGUIObject, int parentSlotLineNo, int parentSlotColumnNo, int x, int y, int w, int h)
void setGrid (int rowNum, int columnNum)
void setRowNum (int rowNum)
int getRowNum ()
void setColumnNum (int columnNum)
int getColumnNum ()
void setCellFont (int fontNo)
void setCellFont (Cell *cell, int fontNo)
void setCellFont (const std::string &cell, int fontNo)
void setCellsFont (std::deque< Cell * > cells, int fontNo)
void setCellsFont (Cell *cell1, Cell *cell2, int fontNo)
void setCellsFont (const std::string &cell1, const std::string &cell2, int fontNo)
void setCellFontBold ()
void setCellFontBold (Cell *cell)
void setCellFontBold (const std::string &cell)
void setCellsFontBold (std::deque< Cell * > cells)
void setCellsFontBold (Cell *cell1, Cell *cell2)
void setCellsFontBold (const std::string &cell1, const std::string &cell2)
void setCellFontItalic ()
void setCellFontItalic (Cell *cell)
void setCellFontItalic (const std::string &cell)
void setCellsFontItalic (std::deque< Cell * > cells)
void setCellsFontItalic (Cell *cell1, Cell *cell2)
void setCellsFontItalic (const std::string &cell1, const std::string &cell2)
void setCellFontSize (int fontSize)
void setCellFontSize (Cell *cell, int fontSize)
void setCellFontSize (const std::string &cell, int fontSize)
void setCellsFontSize (std::deque< Cell * > cells, int fontSize)
void setCellsFontSize (Cell *cell1, Cell *cell2, int fontSize)
void setCellsFontSize (const std::string &cell1, const std::string &cell2, int fontSize)
void setCellFontColor (gColor *fontColor=fontcolor)
void setCellFontColor (Cell *cell, gColor *fontColor=fontcolor)
void setCellFontColor (const std::string &cell, gColor *fontColor=fontcolor)
void setCellsFontColor (std::deque< Cell * > cells, gColor *fontColor=fontcolor)
void setCellsFontColor (Cell *cell1, Cell *cell2, gColor *fontColor=fontcolor)
void setCellsFontColor (const std::string &cell1, const std::string &cell2, gColor *fontColor=fontcolor)
void setCellLine (int lineNo, bool clicked=true)
void setCellLine (Cell *cell, int lineNo, bool clicked=true)
void setCellLine (const std::string &cell, int lineNo, bool clicked=true)
void setCellsLine (std::deque< Cell * > cells, int lineNo, bool clicked=true)
void setCellsLine (Cell *cell1, Cell *cell2, int lineNo, bool clicked=true)
void setCellsLine (const std::string &cell1, const std::string &cell2, int lineNo, bool clicked=true)
void setCellContent (Cell *cell, const std::string &cellContent)
void setCellContent (int rowNo, int columnNo, const std::string &cellContent)
void setCellContent (const std::string &cell, const std::string &cellContent)
void setCellsContent (std::deque< Cell * > cells, std::vector< std::string > contents)
void setCellsContent (Cell *cell1, Cell *cell2, std::vector< std::string > contents)
void setCellsContent (const std::string &cell1, const std::string &cell2, std::vector< std::string > contents)
void setCellAlignment (int cellAlignment, bool clicked=true)
void setCellAlignment (Cell *cell, int cellAlignment)
void setCellAlignment (const std::string &cell, int cellAlignment)
void setCellsAlignment (std::deque< Cell * > cells, int cellAlignment)
void setCellsAlignment (Cell *cell1, Cell *cell2, int cellAlignment)
void setCellsAlignment (const std::string &cell1, const std::string &cell2, int cellAlignment)
void setCellReadOnly (Cell *cell, bool readonly)
void setCellReadOnly (int rowNo, int columnNo, bool readonly)
void setCellReadOnly (const std::string &cell, bool readonly)
void setRowReadOnly (int rowNo, bool readonly)
void setColumnReadOnly (int columnNo, bool readonly)
void setSelectedFrameColor (gColor *selectedFrameColor)
void setSelectedAreaColor (gColor *selectedAreaColor)
void setColumnWidth (int columnNo, float width)
void setRowHeight (int rowNo, float height)
void selectCell (Cell *cell)
void selectCell (int rowNo, int columnNo)
void selectCell (Cell *cell1, Cell *cell2)
void selectCell (const std::string &cell)
void selectCell (const std::string &cell1, const std::string &cell2)
Cell * getCell (const std::string &cellID)
Cell * getCell (int rowNo, int columnNo)
gColor * getSelectedFrameColor ()
gColor * getSelectedAreaColor ()
std::deque< Cell * > getSelectedCells ()
std::string getColumnName (int columnNo)
int getColumnNo (const std::string &columnName)
float getColumnWidth (int columnNo)
float getRowHeight (int rowNo)
void digitToString ()
void drawContent ()
void drawCellBackground ()
void drawRowHeader ()
void drawRowLines ()
void drawColumnHeader ()
void drawColumnLines ()
void drawCellContents ()
void drawSelectedArea ()
void update ()
void keyPressed (int key)
void keyReleased (int key)
void charPressed (unsigned int codepoint)
void mousePressed (int x, int y, int button)
void mouseReleased (int x, int y, int button)
void mouseDragged (int x, int y, int button)
void mouseScrolled (int x, int y)
int getCursor (int x, int y)
void setEnterDirection (int enterDirection)
int getEnterDirection ()
void clear ()
Public Member Functions inherited from gGUIScrollable
 gGUIScrollable ()
virtual ~gGUIScrollable () override
void enableScrollbars (bool isVerticalEnabled, bool isHorizontalEnabled)
void updateScrollbar ()
void draw () override
virtual void drawScrollbars ()
void windowResized (int w, int h) override
void mouseMoved (int x, int y) override
void mousePressed (int x, int y, int button) override
void mouseDragged (int x, int y, int button) override
void mouseReleased (int x, int y, int button) override
void mouseScrolled (int x, int y) override
int getVerticalScroll ()
gFbo * getFbo ()
int getTitleTop ()
void setToolbarSpace (int toolbarW, int toolbarH)
Public Member Functions inherited from gGUIControl
 gGUIControl ()
virtual ~gGUIControl () override
virtual int calculateContentHeight ()
virtual bool countAsSpace ()
void setCountAsSpace (bool isSpace)
void setFont (gFont *font)
gFont * getFont ()
Public Member Functions inherited from gBaseGUIObject
 gBaseGUIObject ()
virtual ~gBaseGUIObject ()
int getId ()
int getType ()
void setEnabled (bool isEnabled)
bool isEnabled ()
void setVisible (bool isVisible)
bool isVisible ()
void setTitleOn (bool isTitleOn)
bool isTitleOn ()
virtual void setTopParent (gBaseGUIObject *parentGUIObject)
gBaseGUIObject * getTopParent ()
virtual void setParent (gBaseGUIObject *parentGUIObject)
gBaseGUIObject * getParent ()
void setParentSlotNo (int parentSlotLineNo, int parentSlotColumnNo)
int getParentSlotLineNo ()
int getParentSlotColumnNo ()
void setTitle (std::string title)
std::string getTitle ()
virtual void mouseEntered ()
virtual void mouseExited ()
virtual void onGUIEvent (int guiObjectId, int eventType, int sourceEventType, std::string value1="", std::string value2="")
void setRootApp (gBaseApp *root)
virtual void setCursorOn (bool isOn)
virtual void unfocus ()
Public Member Functions inherited from gRenderObject
 gRenderObject ()
int getScreenWidth ()
int getScreenHeight ()
void pushMatrix ()
void popMatrix ()
Public Member Functions inherited from gObject
 gObject ()
void logi (std::string message)
void logd (std::string message)
void logw (std::string message)
void loge (std::string message)
void logi (std::string tag, std::string message)
void logd (std::string tag, std::string message)
void logw (std::string tag, std::string message)
void loge (std::string tag, std::string message)

Public Attributes

const int maxcolumnnum = 16384
const int maxrownum = 131071
Public Attributes inherited from gBaseGUIObject
int id
int type
int left
int top
int right
int bottom
int width
int height
int titlex
int titley
int titleheight
bool isfocused
bool iscursoron
bool issizer
bool iscontainer
bool isresizable

Additional Inherited Members

Static Public Member Functions inherited from gBaseGUIObject
static void setBackgroundColor (gColor *backgroundColor)
static gColor * getBackgroundColor ()
static void setMiddlegroundColor (gColor *middlegroundColor)
static gColor * getMiddlegroundColor ()
static void setForegroundColor (gColor *foregroundColor)
static gColor * getForegroundColor ()
static void setTextBackgroundColor (gColor *textBackgroundColor)
static gColor * getTextBackgroundColor ()
static void setNavigationBackgroundColor (gColor *navigationBackgroundColor)
static gColor * getNavigationBackgroundColor ()
static void setFont (gFont *font)
static gFont * getFont ()
static void setFontColor (gColor *fontColor)
static gColor * getFontColor ()
static void setNavigationFontColor (gColor *navigationFontColor)
static gColor * getNavigationFontColor ()
static void setButtonColor (gColor *color)
static gColor * getButtonColor ()
static void setPressedButtonColor (gColor *color)
static gColor * getPressedButtonColor ()
static void setDisabledButtonColor (gColor *color)
static gColor * getDisabledButtonColor ()
static void setButtonFontColor (gColor *color)
static gColor * getButtonFontColor ()
static void setPressedButtonFontColor (gColor *color)
static gColor * getPressedButtonFontColor ()
static void setDisabledButtonFontColor (gColor *color)
static gColor * getDisabledButtonFontColor ()
Static Public Member Functions inherited from gRenderObject
static void setScreenSize (int screenWidth, int screenHeight)
static void setUnitScreenSize (int unitWidth, int unitHeight)
static void setScreenScaling (int screenScaling)
static void enableShadowMapping ()
static void disableShadowMapping ()
static bool isShadowMappingEnabled ()
static void enableExtraShaders (bool isEnabled=true)
static void disableExtraShaders ()
static bool isExtraShadersEnabled ()
static gRenderer * getRenderer ()
static void destroyRenderer ()
static void createRenderer (int renderEngine=G_RENDERER_GL)
Static Public Member Functions inherited from gObject
static std::string gGetAppDir ()
static std::string gGetAssetsDir ()
static void gSetAssetsDir (std::string assetsDir)
static std::string gGetFilesDir ()
static std::string gGetImagesDir ()
static std::string gGetFontsDir ()
static std::string gGetModelsDir ()
static std::string gGetTexturesDir ()
static std::string gGetShadersDir ()
static std::string gGetSoundsDir ()
static std::string gGetDatabasesDir ()
static std::string gGetVideosDir ()
static void setCurrentResolution (int scalingNo, int currentResolutionNo)
Static Public Attributes inherited from gBaseGUIObject
static const int GUIEVENT_FOCUSED = -1
static const int GUIEVENT_UNFOCUSED = -2
static const int CURSOR_ARROW = 0
static const int CURSOR_IBEAM = 1
static const int CURSOR_CROSSHAIR = 2
static const int CURSOR_HAND = 3
static const int CURSOR_HRESIZE = 4
static const int CURSOR_VRESIZE = 5
static int focusid
static int previousfocusid
Static Public Attributes inherited from gObject
static const int LOGLEVEL_SILENT
static const int LOGLEVEL_DEBUG
static const int LOGLEVEL_INFO
static const int LOGLEVEL_WARNING
static const int LOGLEVEL_ERROR
Protected Member Functions inherited from gGUIScrollable
bool isVerticalScrollEnabled () const
bool isHorizontalScrollEnabled () const
bool hasVerticalOverflow () const
bool hasHorizontalOverflow () const
bool isPointInsideVerticalScrollbar (int x, int y, bool checkFullSize=false)
bool isPointInsideHorizontalScrollbar (int x, int y, bool checkFullSize=false)
void setDimensions (int width, int height)
Protected Attributes inherited from gGUIScrollable
const int barsize = 12
int scrollamount = 8
int boxw = 0
int boxh = 0
int totalw = 0
int totalh = 0
int verticalscroll = 0
int horizontalscroll = 0
int verticalscrollbarpos = 0
int horizontalscrollbarpos = 0
int scrollbarverticalsize = 0
int scrollbarhorizontalsize = 0
bool isdraggingverticalscroll = false
int verticalscrolldragstart = 0
float verticalscrollclickedtime = 0.0f
bool isdragginghorizontalscroll = false
int horizontalscrolldragstart = 0
float horizontalscrollclickedtime = 0.0f
Protected Attributes inherited from gGUIControl
bool countasspace
int oldwidth
int oldheight
gFont * localfont
Protected Attributes inherited from gBaseGUIObject
std::string title
gBaseApp * root
gBaseGUIObject * topparent
gBaseGUIObject * parent
bool isenabled
bool isvisible
bool istitleon
int parentslotlineno
int parentslotcolumnno
Static Protected Attributes inherited from gBaseGUIObject
static gColor * backgroundcolor
static gColor * middlegroundcolor
static gColor * foregroundcolor
static gColor * textbackgroundcolor
static gColor * navigationbackgroundcolor
static gFont * font
static gColor * fontcolor
static gColor * navigationfontcolor
static gColor * buttoncolor
static gColor * pressedbuttoncolor
static gColor * disabledbuttoncolor
static gColor * buttonfontcolor
static gColor * pressedbuttonfontcolor
static gColor * disabledbuttonfontcolor
static gGUIActionManager actionmanager
static gGUIResources res
Static Protected Attributes inherited from gRenderObject
static bool isshadowmappingenabled
static bool isextrashadersenabled
Static Protected Attributes inherited from gObject
static int renderpassnum
static int renderpassno
static int releasescaling
static int releaseresolution

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ENTERDIRECTION_DOWN 
ENTERDIRECTION_RIGHT 

◆ anonymous enum

anonymous enum
Enumerator
FUNCTION_TYPE 
FUNCTION_SENDER 
FUNCTION_FIRSTINDEX 

◆ anonymous enum

anonymous enum
Enumerator
PROCESS_TEXT 
PROCESS_FONT 
PROCESS_FONTSTATE 
PROCESS_FONTSIZE 
PROCESS_ALIGNMENT 
PROCESS_COLOR 
PROCESS_LINE 
PROCESS_ALL 

◆ anonymous enum

anonymous enum
Enumerator
FUNCTIONTYPE_NONE 
FUNCTIONTYPE_COPY 
FUNCTIONTYPE_SUM 
FUNCTIONTYPE_ADD 
FUNCTIONTYPE_SUB 
FUNCTIONTYPE_DIVIDE 
FUNCTIONTYPE_MULTIPLY 

◆ anonymous enum

anonymous enum
Enumerator
TEXTLINE_NONE 
TEXTLINE_UNDER 
TEXTLINE_DOUBLEUNDER 
TEXTLINE_STRIKE 

Constructor & Destructor Documentation

◆ gGUIGrid()

gGUIGrid::gGUIGrid ( )

◆ ~gGUIGrid()

virtual gGUIGrid::~gGUIGrid ( )
virtual

Member Function Documentation

◆ charPressed()

void gGUIGrid::charPressed ( unsigned int codepoint)
virtual

Reimplemented from gBaseGUIObject.

◆ clear()

void gGUIGrid::clear ( )

◆ digitToString()

void gGUIGrid::digitToString ( )

◆ drawCellBackground()

void gGUIGrid::drawCellBackground ( )

◆ drawCellContents()

void gGUIGrid::drawCellContents ( )

◆ drawColumnHeader()

void gGUIGrid::drawColumnHeader ( )

◆ drawColumnLines()

void gGUIGrid::drawColumnLines ( )

◆ drawContent()

void gGUIGrid::drawContent ( )
virtual

Reimplemented from gGUIScrollable.

◆ drawRowHeader()

void gGUIGrid::drawRowHeader ( )

◆ drawRowLines()

void gGUIGrid::drawRowLines ( )

◆ drawSelectedArea()

void gGUIGrid::drawSelectedArea ( )

◆ getCell() [1/2]

Cell * gGUIGrid::getCell ( const std::string & cellID)

◆ getCell() [2/2]

Cell * gGUIGrid::getCell ( int rowNo,
int columnNo )

◆ getColumnName()

std::string gGUIGrid::getColumnName ( int columnNo)

◆ getColumnNo()

int gGUIGrid::getColumnNo ( const std::string & columnName)

◆ getColumnNum()

int gGUIGrid::getColumnNum ( )

◆ getColumnWidth()

float gGUIGrid::getColumnWidth ( int columnNo)

◆ getCursor()

int gGUIGrid::getCursor ( int x,
int y )
virtual

Reimplemented from gGUIControl.

◆ getEnterDirection()

int gGUIGrid::getEnterDirection ( )

◆ getRowHeight()

float gGUIGrid::getRowHeight ( int rowNo)

◆ getRowNum()

int gGUIGrid::getRowNum ( )

◆ getSelectedAreaColor()

gColor * gGUIGrid::getSelectedAreaColor ( )

◆ getSelectedCells()

std::deque< Cell * > gGUIGrid::getSelectedCells ( )

◆ getSelectedFrameColor()

gColor * gGUIGrid::getSelectedFrameColor ( )

◆ keyPressed()

void gGUIGrid::keyPressed ( int key)
virtual

Reimplemented from gBaseGUIObject.

◆ keyReleased()

void gGUIGrid::keyReleased ( int key)
virtual

Reimplemented from gBaseGUIObject.

◆ mouseDragged()

void gGUIGrid::mouseDragged ( int x,
int y,
int button )
virtual

Reimplemented from gBaseGUIObject.

◆ mousePressed()

void gGUIGrid::mousePressed ( int x,
int y,
int button )
virtual

Reimplemented from gBaseGUIObject.

◆ mouseReleased()

void gGUIGrid::mouseReleased ( int x,
int y,
int button )
virtual

Reimplemented from gBaseGUIObject.

◆ mouseScrolled()

void gGUIGrid::mouseScrolled ( int x,
int y )
virtual

Reimplemented from gBaseGUIObject.

◆ selectCell() [1/5]

void gGUIGrid::selectCell ( Cell * cell)

◆ selectCell() [2/5]

void gGUIGrid::selectCell ( Cell * cell1,
Cell * cell2 )

◆ selectCell() [3/5]

void gGUIGrid::selectCell ( const std::string & cell)

◆ selectCell() [4/5]

void gGUIGrid::selectCell ( const std::string & cell1,
const std::string & cell2 )

◆ selectCell() [5/5]

void gGUIGrid::selectCell ( int rowNo,
int columnNo )

◆ set()

void gGUIGrid::set ( gBaseApp * root,
gBaseGUIObject * topParentGUIObject,
gBaseGUIObject * parentGUIObject,
int parentSlotLineNo,
int parentSlotColumnNo,
int x,
int y,
int w,
int h )
virtual

Reimplemented from gGUIControl.

◆ setCellAlignment() [1/3]

void gGUIGrid::setCellAlignment ( Cell * cell,
int cellAlignment )

◆ setCellAlignment() [2/3]

void gGUIGrid::setCellAlignment ( const std::string & cell,
int cellAlignment )

◆ setCellAlignment() [3/3]

void gGUIGrid::setCellAlignment ( int cellAlignment,
bool clicked = true )

◆ setCellContent() [1/3]

void gGUIGrid::setCellContent ( Cell * cell,
const std::string & cellContent )

◆ setCellContent() [2/3]

void gGUIGrid::setCellContent ( const std::string & cell,
const std::string & cellContent )

◆ setCellContent() [3/3]

void gGUIGrid::setCellContent ( int rowNo,
int columnNo,
const std::string & cellContent )

◆ setCellFont() [1/3]

void gGUIGrid::setCellFont ( Cell * cell,
int fontNo )

◆ setCellFont() [2/3]

void gGUIGrid::setCellFont ( const std::string & cell,
int fontNo )

◆ setCellFont() [3/3]

void gGUIGrid::setCellFont ( int fontNo)

◆ setCellFontBold() [1/3]

void gGUIGrid::setCellFontBold ( )

◆ setCellFontBold() [2/3]

void gGUIGrid::setCellFontBold ( Cell * cell)

◆ setCellFontBold() [3/3]

void gGUIGrid::setCellFontBold ( const std::string & cell)

◆ setCellFontColor() [1/3]

void gGUIGrid::setCellFontColor ( Cell * cell,
gColor * fontColor = fontcolor )

◆ setCellFontColor() [2/3]

void gGUIGrid::setCellFontColor ( const std::string & cell,
gColor * fontColor = fontcolor )

◆ setCellFontColor() [3/3]

void gGUIGrid::setCellFontColor ( gColor * fontColor = fontcolor)

◆ setCellFontItalic() [1/3]

void gGUIGrid::setCellFontItalic ( )

◆ setCellFontItalic() [2/3]

void gGUIGrid::setCellFontItalic ( Cell * cell)

◆ setCellFontItalic() [3/3]

void gGUIGrid::setCellFontItalic ( const std::string & cell)

◆ setCellFontSize() [1/3]

void gGUIGrid::setCellFontSize ( Cell * cell,
int fontSize )

◆ setCellFontSize() [2/3]

void gGUIGrid::setCellFontSize ( const std::string & cell,
int fontSize )

◆ setCellFontSize() [3/3]

void gGUIGrid::setCellFontSize ( int fontSize)

◆ setCellLine() [1/3]

void gGUIGrid::setCellLine ( Cell * cell,
int lineNo,
bool clicked = true )

◆ setCellLine() [2/3]

void gGUIGrid::setCellLine ( const std::string & cell,
int lineNo,
bool clicked = true )

◆ setCellLine() [3/3]

void gGUIGrid::setCellLine ( int lineNo,
bool clicked = true )

◆ setCellReadOnly() [1/3]

void gGUIGrid::setCellReadOnly ( Cell * cell,
bool readonly )

◆ setCellReadOnly() [2/3]

void gGUIGrid::setCellReadOnly ( const std::string & cell,
bool readonly )

◆ setCellReadOnly() [3/3]

void gGUIGrid::setCellReadOnly ( int rowNo,
int columnNo,
bool readonly )

◆ setCellsAlignment() [1/3]

void gGUIGrid::setCellsAlignment ( Cell * cell1,
Cell * cell2,
int cellAlignment )

◆ setCellsAlignment() [2/3]

void gGUIGrid::setCellsAlignment ( const std::string & cell1,
const std::string & cell2,
int cellAlignment )

◆ setCellsAlignment() [3/3]

void gGUIGrid::setCellsAlignment ( std::deque< Cell * > cells,
int cellAlignment )

◆ setCellsContent() [1/3]

void gGUIGrid::setCellsContent ( Cell * cell1,
Cell * cell2,
std::vector< std::string > contents )

◆ setCellsContent() [2/3]

void gGUIGrid::setCellsContent ( const std::string & cell1,
const std::string & cell2,
std::vector< std::string > contents )

◆ setCellsContent() [3/3]

void gGUIGrid::setCellsContent ( std::deque< Cell * > cells,
std::vector< std::string > contents )

◆ setCellsFont() [1/3]

void gGUIGrid::setCellsFont ( Cell * cell1,
Cell * cell2,
int fontNo )

◆ setCellsFont() [2/3]

void gGUIGrid::setCellsFont ( const std::string & cell1,
const std::string & cell2,
int fontNo )

◆ setCellsFont() [3/3]

void gGUIGrid::setCellsFont ( std::deque< Cell * > cells,
int fontNo )

◆ setCellsFontBold() [1/3]

void gGUIGrid::setCellsFontBold ( Cell * cell1,
Cell * cell2 )

◆ setCellsFontBold() [2/3]

void gGUIGrid::setCellsFontBold ( const std::string & cell1,
const std::string & cell2 )

◆ setCellsFontBold() [3/3]

void gGUIGrid::setCellsFontBold ( std::deque< Cell * > cells)

◆ setCellsFontColor() [1/3]

void gGUIGrid::setCellsFontColor ( Cell * cell1,
Cell * cell2,
gColor * fontColor = fontcolor )

◆ setCellsFontColor() [2/3]

void gGUIGrid::setCellsFontColor ( const std::string & cell1,
const std::string & cell2,
gColor * fontColor = fontcolor )

◆ setCellsFontColor() [3/3]

void gGUIGrid::setCellsFontColor ( std::deque< Cell * > cells,
gColor * fontColor = fontcolor )

◆ setCellsFontItalic() [1/3]

void gGUIGrid::setCellsFontItalic ( Cell * cell1,
Cell * cell2 )

◆ setCellsFontItalic() [2/3]

void gGUIGrid::setCellsFontItalic ( const std::string & cell1,
const std::string & cell2 )

◆ setCellsFontItalic() [3/3]

void gGUIGrid::setCellsFontItalic ( std::deque< Cell * > cells)

◆ setCellsFontSize() [1/3]

void gGUIGrid::setCellsFontSize ( Cell * cell1,
Cell * cell2,
int fontSize )

◆ setCellsFontSize() [2/3]

void gGUIGrid::setCellsFontSize ( const std::string & cell1,
const std::string & cell2,
int fontSize )

◆ setCellsFontSize() [3/3]

void gGUIGrid::setCellsFontSize ( std::deque< Cell * > cells,
int fontSize )

◆ setCellsLine() [1/3]

void gGUIGrid::setCellsLine ( Cell * cell1,
Cell * cell2,
int lineNo,
bool clicked = true )

◆ setCellsLine() [2/3]

void gGUIGrid::setCellsLine ( const std::string & cell1,
const std::string & cell2,
int lineNo,
bool clicked = true )

◆ setCellsLine() [3/3]

void gGUIGrid::setCellsLine ( std::deque< Cell * > cells,
int lineNo,
bool clicked = true )

◆ setColumnNum()

void gGUIGrid::setColumnNum ( int columnNum)

◆ setColumnReadOnly()

void gGUIGrid::setColumnReadOnly ( int columnNo,
bool readonly )

◆ setColumnWidth()

void gGUIGrid::setColumnWidth ( int columnNo,
float width )

◆ setEnterDirection()

void gGUIGrid::setEnterDirection ( int enterDirection)

◆ setGrid()

void gGUIGrid::setGrid ( int rowNum,
int columnNum )

◆ setRowHeight()

void gGUIGrid::setRowHeight ( int rowNo,
float height )

◆ setRowNum()

void gGUIGrid::setRowNum ( int rowNum)

◆ setRowReadOnly()

void gGUIGrid::setRowReadOnly ( int rowNo,
bool readonly )

◆ setSelectedAreaColor()

void gGUIGrid::setSelectedAreaColor ( gColor * selectedAreaColor)

◆ setSelectedFrameColor()

void gGUIGrid::setSelectedFrameColor ( gColor * selectedFrameColor)

◆ update()

void gGUIGrid::update ( )
virtual

Reimplemented from gGUIControl.

Member Data Documentation

◆ maxcolumnnum

const int gGUIGrid::maxcolumnnum = 16384

◆ maxrownum

const int gGUIGrid::maxrownum = 131071

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