vortidvd.blogg.se

Purebasic gadgets
Purebasic gadgets








(uncludes getAngle.pbi)Ĭalculates the frames per seconds from the elapsed milliseconds (call it once per frame).Ī multiline drawtext. Get the angle of a line from one point to another Get a color where R = G = B with gray(), or change brightness of a color with fade(). _README.TXT contains further informationsĪn includefile for text-editing under (full)screen. a smaller reference (sgxDoc\sgxDoc.html) without sgx internals (some links to sgx internals may not work in that document thought!)

#PUREBASIC GADGETS FULL#

a full reference (sgxDoc\sgxDocFull.html) option gadgets / radio buttons are available through grouping sgxButton (including toggle buttons and buttons with a user sprite) currently there is no event queue, you will recognize events by checking for fields of your sgx elements. the appearance is defined by designs, whereas you can create own designs with sets of images (there is also an instant design "lowbudget" which does not need any image files). sgx elements are accessed by ID (index-like, starting with index 1). With this library you can create simple GUI objects statically or dynamically of different type and appearance, modify them, display them easily, examine user actions and process events.

purebasic gadgets

there are two versions: a single-file version that only contains the necessary files to just use sgx and a multi-file version in case you want to make changes to the sgx code, including the gimp files for the image files and some tools to build a single-file version from that. it's currently only available for Windows Operating Systems (though the code is pretty straight PB code). It's available as sourcecode to be included in your projects. Sgx is a screen-gadget library for PureBasic programmers to create and manage simple GUI-elements in a fullscreen or windowed screen.








Purebasic gadgets