Module qlibs.gui.widgets.renderers.v1

class qlibs.gui.widgets.renderers.v1.QueuedBG(pos: qlibs.math.vec.Vec2, size: qlibs.math.vec.Vec2, color: Tuple[float, float, float] = (1.0, 1.0, 1.0))
color: Tuple[float, float, float] = (1.0, 1.0, 1.0)
pos: qlibs.math.vec.Vec2
size: qlibs.math.vec.Vec2
type = 'background'
class qlibs.gui.widgets.renderers.v1.QueuedCustom(func: Callable, viewport: tuple, args: tuple = ())
args: tuple = ()
func: Callable
type = 'custom'
viewport: tuple
class qlibs.gui.widgets.renderers.v1.QueuedFGLine(p0: qlibs.math.vec.Vec2, p1: qlibs.math.vec.Vec2, color: Tuple[float, float, float] = (1.0, 1.0, 1.0), width: float = 1)
color: Tuple[float, float, float] = (1.0, 1.0, 1.0)
p0: qlibs.math.vec.Vec2
p1: qlibs.math.vec.Vec2
type = 'foreground_line'
width: float = 1
class qlibs.gui.widgets.renderers.v1.QueuedFGOutline(pos: qlibs.math.vec.Vec2, size: qlibs.math.vec.Vec2, color: Tuple[float, float, float] = (1.0, 1.0, 1.0), width: float = 2)
color: Tuple[float, float, float] = (1.0, 1.0, 1.0)
pos: qlibs.math.vec.Vec2
size: qlibs.math.vec.Vec2
type = 'foreground_outline'
width: float = 2
class qlibs.gui.widgets.renderers.v1.QueuedText(text: str, pos: qlibs.math.vec.Vec2, color: Tuple[float, float, float] = (1.0, 1.0, 1.0), scale: float = 1, scissor: Optional[Tuple[qlibs.math.vec.Vec2, qlibs.math.vec.Vec2]] = None, multiline: Optional[int] = None)
color: Tuple[float, float, float] = (1.0, 1.0, 1.0)
multiline: Union[None, int] = None
pos: qlibs.math.vec.Vec2
scale: float = 1
scissor: Union[None, Tuple[qlibs.math.vec.Vec2, qlibs.math.vec.Vec2]] = None
text: str
type = 'text'
class qlibs.gui.widgets.renderers.v1.QueuedType(value)

An enumeration.

BG = 'background'
CUSTOM = 'custom'
FGLINE = 'foreground_line'
FGOUTLINE = 'foreground_outline'
TEXT = 'text'
class qlibs.gui.widgets.renderers.v1.V1Generator(window=None, font_renderer=None)
generate(node)
property param_bg_color
property param_bg_color_sel
property param_fg_color
property param_fg_color_sel
render_node(node: qlibs.gui.widgets.behaviors.NodeB)
class qlibs.gui.widgets.renderers.v1.V1Renderer(window=None, is_selected_cb=None)
render(node)