igiBeginChild

A scrolling region inside a window - for a log, a long list and so on. Takes id (A name for the region, unique within its window), w (Width (0 = fill the space left)), h (Height (0 = fill the space left)), border (1 to draw a border round it). Returns: 1 if the region is visible.

IGI

Parameters & Returns

Parameters

id String
w Int
h Int
border Int

Returns

Int

Quick Summary

A scrolling region inside a window - for a log, a long list and so on. Takes id (A name for the region, unique within its window), w (Width (0 = fill the space left)), h (Height (0 = fill the space left)), border (1 to draw a border round it). Returns: 1 if the region is visible.

Technical Exegesis...

A scrolling region inside a window - for a log, a long list and so on. Call igiEndChild afterwards either way.

Call it every frame, between drawing your game and b2dFlip. See the IGI guide.

Returns: 1 if the region is visible.

Example

Example.bam
igiBeginChild("log", 0, 120, True)
For i = 0 To 9
    igiText(logLines[i])
Next
igiEndChild()