Search found 94 matches

by vladimir777
Sep 05, 2011 16:00
Forum: Libraries Questions
Topic: GTK DRAWING
Replies: 19
Views: 5283

How do I insert circle drawnig here: #INCLUDE ONCE "gtk/gtk.bi" #define NULL 0 #define IMAGE_WIDTH 800 #define IMAGE_HEIGHT 600 'Define some color constants (for gdk red and blue are transposed) Const white = RGB(255,255,255) Const red = RGB(0,0,255) Const maroon = RGB(0,0,128) Const green...
by vladimir777
Aug 22, 2011 15:34
Forum: Libraries Questions
Topic: GTK DRAWING
Replies: 19
Views: 5283

THX

Yhank you
by vladimir777
Aug 19, 2011 18:44
Forum: Libraries Questions
Topic: GTK DRAWING
Replies: 19
Views: 5283

or this

Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) Picture1.Circle (X, Y), 110, vbRed End Sub Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Picture1.Circle (X, Y), 100, vbGreen End Sub Private Sub Picture1_Mo...
by vladimir777
Aug 19, 2011 18:32
Forum: Libraries Questions
Topic: GTK DRAWING
Replies: 19
Views: 5283

GTK DRAWING

What is equivalent in FB and GTK for this code written in VB6?

Code: Select all

Private Sub Command1_Click()
Picture1.Line (1, 1)-(100, 100), vbRed, B
End Sub


THX IN ADVANCE

VLAD