[Glade-users] Drawing Area
- From: vavaux ulb ac be (Valéry Avaux)
- Subject: [Glade-users] Drawing Area
- Date: Thu, 05 Apr 2001 20:30:24 +0200
Hello,
I would like put use a drawing area in my program, so I add an drawing
area 400*400 with Glade in my project.
I would like to divise this drawing area into small squares of 4*4 and
each square will have one of these two colors: red or blue. To see, wich
square must be blue or must be red, I read into a variable called
matrice[i][j][k] where 1<i,j,k<100. This variable take two values +1
wich would appears in blue and -1 wich would appears in red. So if I
choose myself a value for k, I can go through the value of i and j to
see wich square is red or blue.
Could someone explain how to program this ?
Thanks you
Valery Avaux
NB I have only a few knowledge og programming in C and with Glade
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]