Search found 78 matches

by Gildas Menier
18 Mar 2006 10:53
Forum: Visual Prolog Tips & Samples
Topic: (Howto) define a color : Menu, RGB and HSV
Replies: 0
Views: 5383

(Howto) define a color : Menu, RGB and HSV

1. MENU : A very simple way to insert a color is the use of the VP menu item Insert->Insert RGB value : it opens a Color Dialog and let you insert the right color value. This is an easy way, since you see/choose the color to insert. 2. RGB : Second is the use of Res = vpi::composeRGB(R,G,B) : this p...
by Gildas Menier
16 Mar 2006 9:57
Forum: Visual Prolog Tips & Samples
Topic: Custom control + Zoom & Panning + DBuffering
Replies: 0
Views: 5021

Custom control + Zoom & Panning + DBuffering

A (fast and) tiny example of custom control for the viewing of a set of labels+texts.

Drag+Right button to pan, CTRL-Right button or middle button to zoom, space to reset a view.

Click on a frame to focus on it.

Best regards

Gildas
by Gildas Menier
9 Jan 2006 22:04
Forum: Visual Prolog Tips & Samples
Topic: Opengl in Visual Prolog 6.3x (V0.7) and updated for VIP 7ce
Replies: 4
Views: 8368

Opengl in Visual Prolog 6.3x (V0.7) and updated for VIP 7ce

The prj is located in VProlog/ogl. v0.1 : first attempt to add opengl to Visual Prolog v0.2 : Yuri fixed the drawing issue and the opengl control can now draw in its own area. v0.3 : fixed the refresh bug + removed the close context problem v0.4 : - added draw list support - added texture support - ...