1
00:00:01,600 --> 00:00:07,510
OK, so our safe thing works, but we need something to sort of pop up and say this has been saved correctly.

2
00:00:07,510 --> 00:00:08,860
So that's what we're going to do in this video.

3
00:00:09,010 --> 00:00:11,290
And we can actually use something called a message box.

4
00:00:11,500 --> 00:00:13,540
And this comes in Kintner, but we have to import it.

5
00:00:13,540 --> 00:00:17,290
So let's go from T Cantera, from Quinter Import.

6
00:00:17,440 --> 00:00:20,170
And this is just message box.

7
00:00:20,740 --> 00:00:24,450
And now we can use the message box widget and our function down here.

8
00:00:24,460 --> 00:00:33,340
So let's come to our service function and let's just go pop up success message.

9
00:00:33,820 --> 00:00:34,200
Right.

10
00:00:34,540 --> 00:00:38,290
And this is going to be a message box.

11
00:00:38,690 --> 00:00:39,720
And what do we want to do?

12
00:00:39,730 --> 00:00:40,950
We want to show some info.

13
00:00:40,990 --> 00:00:45,850
There's lots of different message box widgets you can use, but show info for work and for the title

14
00:00:45,850 --> 00:00:47,950
of this, let's call it image saved.

15
00:00:48,580 --> 00:00:51,760
And then what little message do we want to pop up on the screen?

16
00:00:52,060 --> 00:00:58,790
Let's say your image has been saved, right?

17
00:00:58,930 --> 00:00:59,890
So go and save this.

18
00:01:00,190 --> 00:01:02,500
Now, let's come back over here and run it.

19
00:01:04,700 --> 00:01:09,950
And instead of drawing another beautiful picture, I'm just going to do that and let's save this and

20
00:01:09,950 --> 00:01:11,870
let's call this infinity.

21
00:01:14,460 --> 00:01:21,210
I totally didn't spot right infinity, there we go, and if we save this now, boom, your image has

22
00:01:21,210 --> 00:01:21,720
been saved.

23
00:01:21,720 --> 00:01:24,960
We get a little box, we click, OK, and we're going to go now.

24
00:01:24,960 --> 00:01:28,890
You could even clear the screen after that if you wanted to, but I wouldn't suggest doing that.

25
00:01:29,700 --> 00:01:30,810
But that's all there is to it.

26
00:01:30,810 --> 00:01:39,060
So if we head back over here just to make sure we can double click infinity and there it is and it's

27
00:01:39,060 --> 00:01:41,040
been saved correctly and we're we're good to go.

28
00:01:41,040 --> 00:01:44,050
So that's pretty much all there is to it.

29
00:01:44,430 --> 00:01:50,190
So we did a lot of stuff really quickly and OK, everything seems to be working.

30
00:01:50,190 --> 00:01:54,240
We can change our brush size, we can change our brush type.

31
00:01:54,240 --> 00:01:56,340
We can change our color and our canvas color.

32
00:01:58,700 --> 00:02:05,820
We can clear the screen, we could save our file and do all the different things, and I think, yeah,

33
00:02:05,840 --> 00:02:06,950
it's pretty easy, right?

34
00:02:06,980 --> 00:02:11,740
I mean, this wasn't that complicated of a project, but we could do some really cool stuff, you know,

35
00:02:11,760 --> 00:02:18,530
the mouse binding that allows us to draw very cool and a lot of fun.

36
00:02:18,950 --> 00:02:25,070
OK, so that's it for this video in the next video will turn this whole thing into an executable file.
