Search
WISK Examples Page



col256

This program displays the full Winteracter 256-colour palette on suitable displays. To view the full palette a Windows video driver with more than 256 colours is required. Under a 256 colour video driver 128 colours will be used by the colour chart. Only 8 colours will be seen on a 16-colour display. This program also demonstrates how the palette can be remapped by filling the screen with a graded grey scale pattern.


See Source - Download Executable
combine

This program shows how a window and dialog can be combined into a single entity providing the user interface facilities of windows, such as a main menu and those of dialogs, i.e. enterable fields.


See Source - Download Executable
dlgdraw

This program shows how to redirect Winteracter graphics output to a dialog field. As the user alters the dialog fields the graphics display is updated automatically.


See Source - Download Executable
dlgmenu

This programs illustrates the various menu field types currently supported by the WiSK Dialog Manager.


See Source - Download Executable
fracpat

This program generates random fractal patterns using the subroutine FRACT which repeatedly plots single points in various colours using the Winteracter routine IGrPoint. FRACPAT is derived from routines written by Norman Clerman of Opcon Associates, Ohio, USA. Norman's code was in turn based on a Pascal program written by Alan Meiss. Both sources are acknowledged.


See Source - Download Executable
gin

This program demonstrates the use of graphical input (GIN) with Winteracter. All input messages are returned by WMessage/WMessagePeek and processed by a CASE statement. GIN applications will mainly be concerned with mouse button up, down and movement events. By default button up and mouse movement events are disabled so WMessageEnable must be used to turn them on. In particular, this program demonstrates the use of the 'rubber banding' technique employed by numerous drawing packages. This is achieved by using exclusive-or plotting mode. By drawing an object twice we can remove it from the screen without distorting any other previously drawn objects.


See Source - Download Executable
graph

Graphs demo for WINTERACTER Starter Kit


See Source - Download Executable
hidden

WiSk allows the main root window to be hidden from view thus giving the impression that the dialog is the main input window. This is useful for writing simple dialog input applications. It is important to note that InsideRoot child windows will NOT work when the root window is hidden. Child dialogs will also be unavailable. Only POPUP dialogs can be used. This program shows how to use a hidden root window and a dialog to create other floating child windows


See Source - Download Executable
OpenGL


gears
molehill
olympic

See Source
Download Executable

See Source
Download Executable

See Source
Download Executable


select


teapot


wave

See Source
Download Executable

See Source
Download Executable

See Source
Download Executable

scube

See Source
Download Executable