1 00:00:01,200 --> 00:00:02,930 Hello and welcome. 2 00:00:03,000 --> 00:00:11,880 Now I will show you how to create good this kitchen so going down on this far from the recession for 3 00:00:11,880 --> 00:00:15,650 this lesson and extract it and put it here. 4 00:00:16,290 --> 00:00:20,210 Inside you find two files we keep you in template. 5 00:00:20,450 --> 00:00:25,020 And an icon file ask me a copy of this file. 6 00:00:26,400 --> 00:00:28,090 Hey as anemic 7 00:00:30,920 --> 00:00:36,030 as geeky Jin. 8 00:00:36,330 --> 00:00:41,060 And then you work on this while retaining the original template. 9 00:00:41,220 --> 00:00:45,490 So let's open this now and run it see what he does. 10 00:00:45,520 --> 00:00:50,400 And so you get a kitchen so you can enter any name line 11 00:00:53,370 --> 00:01:01,590 and click on January and you January could see Ricky for you. 12 00:01:01,590 --> 00:01:12,620 Similar to the command line based Hiroki so in order to create this kitchen you can download any icon 13 00:01:12,620 --> 00:01:17,920 file and put it in the same folder as has the far. 14 00:01:19,070 --> 00:01:24,440 And you can head over to this website to download icons. 15 00:01:26,660 --> 00:01:34,310 So here you can choose here icons fast with under which one you prefer. 16 00:01:34,310 --> 00:01:35,630 Now let's see how it works. 17 00:01:40,230 --> 00:01:47,330 So here you see the format is different pacing we and styles is him. 18 00:01:47,340 --> 00:02:00,810 He Anthony the station or here and then over here you include in group file for the we this program. 19 00:02:00,810 --> 00:02:03,030 Here you declare some constants. 20 00:02:03,130 --> 00:02:05,820 These are useful in creating the dialog box 21 00:02:09,250 --> 00:02:18,430 and here you have your data station where you have a string with empty content industry and you have 22 00:02:18,430 --> 00:02:21,210 a string format to create this same format. 23 00:02:22,760 --> 00:02:29,750 Over here you create a string for getting input from the user and you create system time. 24 00:02:29,790 --> 00:02:37,130 Did I start to store the local time in the final zero key string to store the generators. 25 00:02:37,190 --> 00:02:47,090 Hiroki many programs start you end the court session and start label and invoke the more you handle 26 00:02:47,120 --> 00:02:48,680 function. 27 00:02:48,680 --> 00:02:51,290 This is a new syntax. 28 00:02:51,290 --> 00:02:58,310 Let me introduce you to the previous evening we wanted to create a call to a function. 29 00:02:58,410 --> 00:03:09,850 They will push something like this and then call get you the handle. 30 00:03:09,890 --> 00:03:16,330 So another way to do it is that is used to invoke function semantics. 31 00:03:16,390 --> 00:03:18,780 It will function if we did it the long way. 32 00:03:18,790 --> 00:03:29,740 It will be Bush 0 push dialogue from Bush 0 Bush. 33 00:03:29,900 --> 00:03:35,340 He can dial Bush. 34 00:03:35,770 --> 00:03:37,780 He acts. 35 00:03:37,990 --> 00:03:44,810 Then finally call your dial up knocks. 36 00:03:45,820 --> 00:03:50,110 If I see the way we did in the past. 37 00:03:50,110 --> 00:03:52,050 Now if you want wanted to be shot in your code. 38 00:03:52,050 --> 00:03:54,910 Even doing one line like this. 39 00:03:54,910 --> 00:03:56,470 So this is the meaning of Handbook. 40 00:03:56,530 --> 00:04:02,840 Similarly this here is similar to this right evil. 41 00:04:03,030 --> 00:04:09,110 Here also to see the program now in the green base in this program. 42 00:04:09,160 --> 00:04:15,020 It is even driven even being driven means that it is not linear. 43 00:04:15,220 --> 00:04:22,200 It means that he will generate even when the user interacts with the window by either clicking on it. 44 00:04:22,430 --> 00:04:32,730 Oh typing something then January Steven and every event it is generated to be handled by the event handler. 45 00:04:32,740 --> 00:04:41,080 So in this case the dollar looks param function creates these talent works and also supplies ne event 46 00:04:41,080 --> 00:04:43,630 handler for the Delta box. 47 00:04:43,750 --> 00:04:45,450 Nadella looks even handler. 48 00:04:45,460 --> 00:04:46,660 He's going down. 49 00:04:47,820 --> 00:04:51,130 Indiana proper is a kind of human handler. 50 00:04:51,190 --> 00:04:54,720 He starts from here and goes all the way to here. 51 00:04:55,000 --> 00:05:01,310 And from Brock Sasha promise was and in here. 52 00:05:01,470 --> 00:05:06,990 So this one is only triggered when even some event happens. 53 00:05:07,020 --> 00:05:13,240 So in this case the event handling that handles these kind of events. 54 00:05:13,260 --> 00:05:20,720 You can specify what you and you went to track to track any event means to receive the event and handle 55 00:05:20,720 --> 00:05:21,470 it. 56 00:05:21,630 --> 00:05:31,170 So in this case you can handle the dialogue any event command event closing event and many more so we 57 00:05:31,200 --> 00:05:39,420 own interests at industry events so that any event is triggered when the window for a script is first 58 00:05:39,420 --> 00:05:39,930 created. 59 00:05:40,830 --> 00:05:44,160 So this is how you check with event is being created. 60 00:05:44,970 --> 00:05:55,930 So in this case you compared the NSG variable which is coming from here and see with any data it is 61 00:05:55,930 --> 00:06:02,930 any that are huge jump to the hanging down on labor which is don't here and then call these two functions 62 00:06:02,960 --> 00:06:13,440 send out item text on the handle for the dial up handle Miss IP so hastily and DLJ is referring to this 63 00:06:13,900 --> 00:06:15,180 which is referring to this. 64 00:06:15,930 --> 00:06:24,090 So it is setting the idea name I.D. idea new ideas referring to this this voice input. 65 00:06:24,090 --> 00:06:24,860 How do I know that. 66 00:06:24,860 --> 00:06:34,530 Because from here you create a name and the name is used to create these and all these constants useful 67 00:06:34,530 --> 00:06:36,840 creating the dynamics. 68 00:06:36,840 --> 00:06:48,530 OK how is spinning later a regionalization in the resource section so over here you set the tax to sizing. 69 00:06:48,540 --> 00:06:49,070 Thanks. 70 00:06:49,140 --> 00:06:50,300 Satomi taxes. 71 00:06:50,340 --> 00:06:58,200 Empty string which is here in DC so any program for starts you'll be a blank far l mean it was a blank 72 00:06:58,200 --> 00:06:58,770 input. 73 00:06:59,020 --> 00:07:00,480 He didn't see anything. 74 00:07:00,480 --> 00:07:01,660 That's why we're doing here. 75 00:07:01,660 --> 00:07:06,560 Here we are setting blank input for this as well as this. 76 00:07:06,570 --> 00:07:09,740 So the second one is referring to an idea referring to this. 77 00:07:10,200 --> 00:07:14,700 So both will be blank when we start Denison meaning of these two lines. 78 00:07:14,700 --> 00:07:15,060 All right. 79 00:07:15,060 --> 00:07:16,190 And then we jumped in. 80 00:07:16,210 --> 00:07:22,920 And when you finish so that he will not fall through any execute holidays then jump down they will ease 81 00:07:22,920 --> 00:07:24,230 down here. 82 00:07:24,340 --> 00:07:31,230 He needs to see the procedure when the even has me hand. 83 00:07:31,560 --> 00:07:33,250 So this is a new dialogue. 84 00:07:33,630 --> 00:07:42,870 And then the common he then is catching when they use a click on January and then you capture it here 85 00:07:43,110 --> 00:07:49,160 and then you jump to the table w common to handle the click click event. 86 00:07:49,560 --> 00:07:52,410 So the daily and common label is here. 87 00:07:52,560 --> 00:08:00,270 So we're here you compare the patient button was a click and this is the syntax for letting the mouse 88 00:08:00,270 --> 00:08:05,720 button it was clicked and then hear here regenerate and then the left mouse click. 89 00:08:05,820 --> 00:08:11,070 Then he will jump to this January key label. 90 00:08:11,070 --> 00:08:15,440 So an injunction generic label it will do the same thing. 91 00:08:15,670 --> 00:08:19,790 What we did in the Com online version for this program. 92 00:08:19,890 --> 00:08:23,190 So this is the same no difference. 93 00:08:23,190 --> 00:08:23,460 All right. 94 00:08:23,790 --> 00:08:28,280 And then when you finish is a generic key in this case here. 95 00:08:28,290 --> 00:08:31,740 He will use a new function instead of printing it to the screen. 96 00:08:31,750 --> 00:08:40,090 You will print to another file that is in Mineo as print it previously was printed but now use aspirin. 97 00:08:40,430 --> 00:08:49,100 Aspirin means you are printing all this using this mystery format theory to do another strain called 98 00:08:49,300 --> 00:08:58,230 Zero keys ring true for it will contain news from it as DDD and then he will substitute all these as 99 00:08:58,230 --> 00:08:59,120 needed. 100 00:08:59,420 --> 00:09:09,290 We the various partner of the day from here is his will be month ECB or year and ECB on him. 101 00:09:09,330 --> 00:09:16,620 He should tell you and they hear you use the format to replace all this and create a new string and 102 00:09:16,620 --> 00:09:24,670 save the result in serious illness Hiroki string so serial killer to contain the result of all this 103 00:09:24,690 --> 00:09:29,570 operation all these parameters and then once you get a Hiroki. 104 00:09:30,750 --> 00:09:33,450 We can invoke the sender. 105 00:09:33,630 --> 00:09:38,910 I don't like to show this Iraqi insight here. 106 00:09:38,910 --> 00:09:45,540 That's why the last perimeter is tricky so whenever you put in the last perimeter shot inside the next 107 00:09:45,540 --> 00:09:54,000 month when you finish you have to clean the stakes you show that 6 perimeter 1 2 3 4 5 6 3 10 6 and 108 00:09:54,000 --> 00:09:57,970 then you jump down come out here so this is how it works. 109 00:09:58,120 --> 00:10:03,050 So the rest of you say she's the same you and you are trying to create your own customized skin. 110 00:10:03,190 --> 00:10:06,210 You may need to change a few things like base. 111 00:10:06,220 --> 00:10:15,610 This could replace this could if the quote you used from the ICC for the ABC using the plugin copy tracing 112 00:10:16,180 --> 00:10:20,370 and you might need to change the form a string as well. 113 00:10:20,560 --> 00:10:23,290 So your Cherokee. 114 00:10:23,650 --> 00:10:29,590 And if you want to choose the icon easy to take on here key icon. 115 00:10:29,950 --> 00:10:34,260 So now let me explain why so many of this new session is in session. 116 00:10:34,320 --> 00:10:39,790 His specification for the design of the user interface. 117 00:10:39,820 --> 00:10:44,410 So here you have a directory territory statement. 118 00:10:44,440 --> 00:10:49,540 It specifies what type of user interface already Darla. 119 00:10:50,190 --> 00:10:55,970 And then here you have party icon and you want to specify that as well. 120 00:10:56,930 --> 00:10:59,360 So here you have idea Icon Group. 121 00:10:59,410 --> 00:11:09,090 So these two are for a specified icon and then over here you set a resource icon type and over here 122 00:11:09,120 --> 00:11:11,300 you specify the group icon device. 123 00:11:11,940 --> 00:11:13,740 And over here you specify the icon. 124 00:11:13,770 --> 00:11:15,930 So the only thing you need to change is here. 125 00:11:16,050 --> 00:11:18,930 You don't have a touch any of the thing up here. 126 00:11:18,930 --> 00:11:23,730 So if you have your different icon you give a name based on the icon. 127 00:11:24,390 --> 00:11:31,520 So my icon is called Icon ICU yes I call it key ICU here here. 128 00:11:31,560 --> 00:11:31,870 All right. 129 00:11:32,190 --> 00:11:40,800 So whatever icon you put when you run compile it he will create executable file containing icon. 130 00:11:40,830 --> 00:11:45,030 So if you double click this now you will run like this. 131 00:11:45,660 --> 00:11:54,500 So this is how you choose the icon for your easy EFC file and then and button for here is the into the 132 00:11:54,510 --> 00:11:54,810 set. 133 00:11:54,810 --> 00:12:01,950 Other parts of he have configured the pass on the user interface for example this is a title. 134 00:12:01,950 --> 00:12:03,870 You are free to change this. 135 00:12:03,930 --> 00:12:07,150 He will show up here whatever name you want to put in here. 136 00:12:07,770 --> 00:12:12,470 And this one here is a group Group box blue box. 137 00:12:12,510 --> 00:12:13,130 OK. 138 00:12:13,140 --> 00:12:23,040 So over here is your group box on one and then group boxes to outline here inside the group box you 139 00:12:23,040 --> 00:12:30,420 can put out a component and then this is a second group box come here which is and it Thanks You can 140 00:12:30,420 --> 00:12:31,330 change you. 141 00:12:31,440 --> 00:12:37,310 These text intending to appear here output here. 142 00:12:37,340 --> 00:12:38,600 So you are free to change this. 143 00:12:39,650 --> 00:12:40,020 OK. 144 00:12:40,090 --> 00:12:48,300 On this on these numbers you are referring to the uh dimension location and size which you can tinker 145 00:12:48,310 --> 00:12:53,570 with and experiment to change to the location the site of even the hide. 146 00:12:53,770 --> 00:12:55,460 All those are refunded. 147 00:12:55,790 --> 00:12:57,370 To this. 148 00:12:58,130 --> 00:13:04,990 So this this only refers to the group Box dimension location high for the first group box. 149 00:13:05,180 --> 00:13:09,300 This one contains the location dimension. 150 00:13:09,350 --> 00:13:14,120 The second group also feel free to play the numbers to see what happens. 151 00:13:14,870 --> 00:13:20,630 And this one and it refers to this input. 152 00:13:20,630 --> 00:13:30,380 So this input is called Eddie and you can change the the the location and the width and height by playing 153 00:13:30,380 --> 00:13:31,630 with these numbers. 154 00:13:31,910 --> 00:13:34,320 And then this only refers to this button. 155 00:13:34,490 --> 00:13:37,420 And this last one refers to listen. 156 00:13:37,580 --> 00:13:47,840 So he can add additional components and also customize your your location position giving height as 157 00:13:47,840 --> 00:13:48,550 you like. 158 00:13:48,560 --> 00:13:51,290 By playing with all these parameters here. 159 00:13:52,160 --> 00:13:55,920 So that's all for this lesson. 160 00:13:56,420 --> 00:13:57,230 Thank you for watching.