1
00:00:01,590 --> 00:00:05,640
OK, so we've created a frame underneath our canvas now we would need to start putting in different

2
00:00:05,640 --> 00:00:10,800
controls that we can fiddle with in our program to change the different parameters of our brush, the

3
00:00:10,800 --> 00:00:12,640
size, the color, the type.

4
00:00:12,930 --> 00:00:15,270
And basically all of these things here.

5
00:00:15,270 --> 00:00:17,930
And I did actually misspell parameters earlier.

6
00:00:17,940 --> 00:00:20,130
So change that parameters doesn't matter.

7
00:00:20,130 --> 00:00:21,120
Just comment anyway.

8
00:00:21,120 --> 00:00:22,700
But you get the idea.

9
00:00:22,710 --> 00:00:28,590
So let's head down here and let's create our first our first control thing that we want to play with.

10
00:00:28,800 --> 00:00:31,820
And let's say let's do the brush with one first.

11
00:00:31,830 --> 00:00:39,690
So let's head down here and let's create another comment and let's call this brush size and.

12
00:00:40,750 --> 00:00:44,200
There's something in counter called a label frame, this was a frame.

13
00:00:45,150 --> 00:00:51,030
Right here, there's actually a label frame and a label frame has a box around it with words at the

14
00:00:51,030 --> 00:00:53,890
top so we can label each of these much easier.

15
00:00:53,910 --> 00:00:54,890
So that's we're going to use here.

16
00:00:54,900 --> 00:01:00,150
So let's call this brush underscore size, underscore frame.

17
00:01:00,390 --> 00:01:02,570
And that's going to be a label frame.

18
00:01:03,900 --> 00:01:08,880
And where do we want to put this now, we've been putting things in route, but now we want to put all

19
00:01:08,880 --> 00:01:14,910
of these controls that we're creating here in this frame that we created in the last video so we can

20
00:01:14,910 --> 00:01:17,670
actually just pace that and brush options frame.

21
00:01:18,000 --> 00:01:18,370
Right.

22
00:01:19,020 --> 00:01:20,880
And here we can give it a text.

23
00:01:21,990 --> 00:01:25,380
And some quotation marks and what do we want this to say?

24
00:01:25,620 --> 00:01:27,120
We wanted to say brush.

25
00:01:27,600 --> 00:01:31,790
Well, let's capitalize this brush size, right?

26
00:01:31,890 --> 00:01:32,940
So we've created it.

27
00:01:32,940 --> 00:01:37,350
Any time you create things and it's always a two step process, you create the thing and then you put

28
00:01:37,350 --> 00:01:38,040
it on the screen.

29
00:01:38,280 --> 00:01:39,540
So let's put this on the screen.

30
00:01:39,540 --> 00:01:43,840
So let's go brush size frame, dot grid.

31
00:01:44,130 --> 00:01:50,430
Now, earlier, we packed things, but in this case, I want to use the grid system because it allows

32
00:01:50,430 --> 00:01:51,450
us to position things.

33
00:01:51,450 --> 00:01:51,990
Exactly.

34
00:01:51,990 --> 00:01:54,870
And we want to put each of these controls right next to each other.

35
00:01:55,080 --> 00:01:56,610
And so grid works better for that.

36
00:01:56,620 --> 00:02:00,960
So for I'm going to call RO equals zero column.

37
00:02:02,210 --> 00:02:03,140
Equals zero.

38
00:02:03,350 --> 00:02:07,060
So the first row and column in the grid system is zero, right?

39
00:02:07,460 --> 00:02:12,890
And let's give this a pad X of 50 just to push it over to the left a little bit.

40
00:02:13,370 --> 00:02:16,220
So let's go ahead and save this and see what this is.

41
00:02:16,220 --> 00:02:19,450
And there's not going to be much to see just yet.

42
00:02:21,840 --> 00:02:26,280
You can see there's nothing in there, but you can start to see the green line, at least from the other

43
00:02:26,970 --> 00:02:29,400
frame, so that's interesting.

44
00:02:29,550 --> 00:02:36,420
Now, inside of this frame, this label frame, we want to put a little slider and the slider will allow

45
00:02:36,420 --> 00:02:42,390
us to change the brush size dynamically just by dragging and dropping that slider bigger or smaller.

46
00:02:42,570 --> 00:02:44,940
And I think actually we're going to do that in the next video.

47
00:02:44,970 --> 00:02:48,630
This one's getting a little bit long, so we'll go ahead and build that slider in the next video.
