JX Application Framework
Loading...
Searching...
No Matches
Functions
jXPainterUtil.h File Reference
#include <jx-af/jcore/JPainter.h>
#include <jx-af/jcore/JFontStyle.h>
#include "jXConstants.h"
Include dependency graph for jXPainterUtil.h:
This graph shows which files directly or indirectly include this file:

Functions

void JXDrawUpFrame (JPainter &p, const JRect &rect, const JCoordinate width, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXDrawDownFrame (JPainter &p, const JRect &rect, const JCoordinate width, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXDrawEngravedFrame (JPainter &p, const JRect &rect, const JCoordinate downWidth, const JCoordinate betweenWidth, const JCoordinate upWidth, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXDrawEmbossedFrame (JPainter &p, const JRect &rect, const JCoordinate upWidth, const JCoordinate betweenWidth, const JCoordinate downWidth, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXDrawFlatDiamond (JPainter &p, const JRect &rect, const JCoordinate width, const JColorID borderColor, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXDrawUpDiamond (JPainter &p, const JRect &rect, const JCoordinate width, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXDrawDownDiamond (JPainter &p, const JRect &rect, const JCoordinate width, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXFillDiamond (JPainter &p, const JRect &rect, const JColorID fillColor)
 
void JXDrawUpArrowLeft (JPainter &p, const JRect &rect, const JCoordinate width, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXDrawDownArrowLeft (JPainter &p, const JRect &rect, const JCoordinate width, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXFillArrowLeft (JPainter &p, const JRect &rect, const JColorID fillColor)
 
void JXDrawUpArrowRight (JPainter &p, const JRect &rect, const JCoordinate width, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXDrawDownArrowRight (JPainter &p, const JRect &rect, const JCoordinate width, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXFillArrowRight (JPainter &p, const JRect &rect, const JColorID fillColor)
 
void JXDrawUpArrowUp (JPainter &p, const JRect &rect, const JCoordinate width, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXDrawDownArrowUp (JPainter &p, const JRect &rect, const JCoordinate width, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXFillArrowUp (JPainter &p, const JRect &rect, const JColorID fillColor)
 
void JXDrawUpArrowDown (JPainter &p, const JRect &rect, const JCoordinate width, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXDrawDownArrowDown (JPainter &p, const JRect &rect, const JCoordinate width, const bool fill=false, const JColorID fillColor=kJXTransparentColor)
 
void JXFillArrowDown (JPainter &p, const JRect &rect, const JColorID fillColor)
 
void JXDrawDNDBorder (JPainter &p, const JRect &rect, const JCoordinate width)
 

Function Documentation

◆ JXDrawDNDBorder()

void JXDrawDNDBorder ( JPainter p,
const JRect rect,
const JCoordinate  width 
)

Use this to draw a blue border around a widget when a drop will be accepted.

◆ JXDrawDownArrowDown()

void JXDrawDownArrowDown ( JPainter p,
const JRect rect,
const JCoordinate  width,
const bool  fill = false,
const JColorID  fillColor = kJXTransparentColor 
)

◆ JXDrawDownArrowLeft()

void JXDrawDownArrowLeft ( JPainter p,
const JRect rect,
const JCoordinate  width,
const bool  fill = false,
const JColorID  fillColor = kJXTransparentColor 
)

◆ JXDrawDownArrowRight()

void JXDrawDownArrowRight ( JPainter p,
const JRect rect,
const JCoordinate  width,
const bool  fill = false,
const JColorID  fillColor = kJXTransparentColor 
)

◆ JXDrawDownArrowUp()

void JXDrawDownArrowUp ( JPainter p,
const JRect rect,
const JCoordinate  width,
const bool  fill = false,
const JColorID  fillColor = kJXTransparentColor 
)

◆ JXDrawDownDiamond()

void JXDrawDownDiamond ( JPainter p,
const JRect rect,
const JCoordinate  width,
const bool  fill = false,
const JColorID  fillColor = kJXTransparentColor 
)

◆ JXDrawDownFrame()

void JXDrawDownFrame ( JPainter p,
const JRect rect,
const JCoordinate  width,
const bool  fill = false,
const JColorID  fillColor = kJXTransparentColor 
)

◆ JXDrawEmbossedFrame()

void JXDrawEmbossedFrame ( JPainter p,
const JRect origRect,
const JCoordinate  upWidth,
const JCoordinate  betweenWidth,
const JCoordinate  downWidth,
const bool  fill,
const JColorID  fillColor 
)

Draw a frame that appears to be embossed (raised) above the background. The height up and the depth back down can be different.

◆ JXDrawEngravedFrame()

void JXDrawEngravedFrame ( JPainter p,
const JRect origRect,
const JCoordinate  downWidth,
const JCoordinate  betweenWidth,
const JCoordinate  upWidth,
const bool  fill,
const JColorID  fillColor 
)

Draw a frame that appears to be engraved (chiseled) into the background. The depth down and the height back up can be different.

◆ JXDrawFlatDiamond()

void JXDrawFlatDiamond ( JPainter p,
const JRect rect,
const JCoordinate  width,
const JColorID  borderColor,
const bool  fill = false,
const JColorID  fillColor = kJXTransparentColor 
)

◆ JXDrawUpArrowDown()

void JXDrawUpArrowDown ( JPainter p,
const JRect rect,
const JCoordinate  width,
const bool  fill = false,
const JColorID  fillColor = kJXTransparentColor 
)

◆ JXDrawUpArrowLeft()

void JXDrawUpArrowLeft ( JPainter p,
const JRect rect,
const JCoordinate  width,
const bool  fill = false,
const JColorID  fillColor = kJXTransparentColor 
)

◆ JXDrawUpArrowRight()

void JXDrawUpArrowRight ( JPainter p,
const JRect rect,
const JCoordinate  width,
const bool  fill = false,
const JColorID  fillColor = kJXTransparentColor 
)

◆ JXDrawUpArrowUp()

void JXDrawUpArrowUp ( JPainter p,
const JRect rect,
const JCoordinate  width,
const bool  fill = false,
const JColorID  fillColor = kJXTransparentColor 
)

◆ JXDrawUpDiamond()

void JXDrawUpDiamond ( JPainter p,
const JRect rect,
const JCoordinate  width,
const bool  fill = false,
const JColorID  fillColor = kJXTransparentColor 
)

◆ JXDrawUpFrame()

void JXDrawUpFrame ( JPainter p,
const JRect rect,
const JCoordinate  width,
const bool  fill = false,
const JColorID  fillColor = kJXTransparentColor 
)

◆ JXFillArrowDown()

void JXFillArrowDown ( JPainter p,
const JRect rect,
const JColorID  fillColor 
)

◆ JXFillArrowLeft()

void JXFillArrowLeft ( JPainter p,
const JRect rect,
const JColorID  fillColor 
)

◆ JXFillArrowRight()

void JXFillArrowRight ( JPainter p,
const JRect rect,
const JColorID  fillColor 
)

◆ JXFillArrowUp()

void JXFillArrowUp ( JPainter p,
const JRect rect,
const JColorID  fillColor 
)

◆ JXFillDiamond()

void JXFillDiamond ( JPainter p,
const JRect rect,
const JColorID  fillColor 
)