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
}
 
- 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 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)
 
CellgetCell (const std::string &cellID)
 
CellgetCell (int rowNo, int columnNo)
 
gColorgetSelectedFrameColor ()
 
gColorgetSelectedAreaColor ()
 
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 clear ()
 
- Public Member Functions inherited from gGUIScrollable
 gGUIScrollable ()
 
virtual ~gGUIScrollable ()
 
void enableScrollbars (bool isVerticalEnabled, bool isHorizontalEnabled)
 
void updateScrollbar ()
 
void draw ()
 
virtual void drawScrollbars ()
 
virtual void windowResized (int w, int h)
 
virtual void mouseMoved (int x, int y)
 
int getVerticalScroll ()
 
gFbogetFbo ()
 
int getTitleTop ()
 
void setToolbarSpace (int toolbarW, int toolbarH)
 
- Public Member Functions inherited from gGUIControl
 gGUIControl ()
 
virtual ~gGUIControl ()
 
virtual int calculateContentHeight ()
 
virtual bool countAsSpace ()
 
void setCountAsSpace (bool isSpace)
 
- Public Member Functions inherited from gBaseGUIObject
 gBaseGUIObject ()
 
virtual ~gBaseGUIObject ()
 
int getId ()
 
int getType ()
 
void setEnabled (bool isEnabled)
 
bool isEnabled ()
 
void setTitleOn (bool isTitleOn)
 
bool isTitleOn ()
 
virtual void setTopParent (gBaseGUIObject *parentGUIObject)
 
gBaseGUIObjectgetTopParent ()
 
virtual void setParent (gBaseGUIObject *parentGUIObject)
 
gBaseGUIObjectgetParent ()
 
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)
 
- 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 gColorgetBackgroundColor ()
 
static void setMiddlegroundColor (gColor *middlegroundColor)
 
static gColorgetMiddlegroundColor ()
 
static void setForegroundColor (gColor *foregroundColor)
 
static gColorgetForegroundColor ()
 
static void setTextBackgroundColor (gColor *textBackgroundColor)
 
static gColorgetTextBackgroundColor ()
 
static void setNavigationBackgroundColor (gColor *navigationBackgroundColor)
 
static gColorgetNavigationBackgroundColor ()
 
static void setFont (gFont *font)
 
static gFontgetFont ()
 
static void setFontColor (gColor *fontColor)
 
static gColorgetFontColor ()
 
static void setNavigationFontColor (gColor *navigationFontColor)
 
static gColorgetNavigationFontColor ()
 
static void setButtonColor (gColor *color)
 
static gColorgetButtonColor ()
 
static void setPressedButtonColor (gColor *color)
 
static gColorgetPressedButtonColor ()
 
static void setDisabledButtonColor (gColor *color)
 
static gColorgetDisabledButtonColor ()
 
static void setButtonFontColor (gColor *color)
 
static gColorgetButtonFontColor ()
 
static void setPressedButtonFontColor (gColor *color)
 
static gColorgetPressedButtonFontColor ()
 
static void setDisabledButtonFontColor (gColor *color)
 
static gColorgetDisabledButtonFontColor ()
 
- 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 gRenderergetRenderer ()
 
static void destroyRenderer ()
 
static void createRenderer ()
 
- 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 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
 
- Protected Attributes inherited from gBaseGUIObject
std::string title
 
gBaseApproot
 
gBaseGUIObjecttopparent
 
gBaseGUIObjectparent
 
bool isenabled
 
bool istitleon
 
int parentslotlineno
 
int parentslotcolumnno
 
- Static Protected Attributes inherited from gBaseGUIObject
static gColorbackgroundcolor
 
static gColormiddlegroundcolor
 
static gColorforegroundcolor
 
static gColortextbackgroundcolor
 
static gColornavigationbackgroundcolor
 
static gFontfont
 
static gColorfontcolor
 
static gColornavigationfontcolor
 
static gColorbuttoncolor
 
static gColorpressedbuttoncolor
 
static gColordisabledbuttoncolor
 
static gColorbuttonfontcolor
 
static gColorpressedbuttonfontcolor
 
static gColordisabledbuttonfontcolor
 
static gGUIActionManager actionmanager
 
static gGUIResources res
 
- Static Protected Attributes inherited from gRenderObject
static bool isshadowmappingenabled
 
- 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
FUNCTIONTYPE_NONE 
FUNCTIONTYPE_COPY 
FUNCTIONTYPE_SUM 
FUNCTIONTYPE_ADD 
FUNCTIONTYPE_SUB 
FUNCTIONTYPE_DIVIDE 
FUNCTIONTYPE_MULTIPLY 

◆ 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
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.

◆ 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 gGUIScrollable.

◆ mousePressed()

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

Reimplemented from gGUIScrollable.

◆ mouseReleased()

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

Reimplemented from gGUIScrollable.

◆ mouseScrolled()

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

Reimplemented from gGUIScrollable.

◆ 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)

◆ setColumnWidth()

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

◆ setGrid()

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

◆ setRowHeight()

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

◆ setRowNum()

void gGUIGrid::setRowNum ( int  rowNum)

◆ 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: