Coding a Graphical User Interface from scratch in C

preview_player
Показать описание
In this new self-contained project we'll be coding our own Windows system! We'll write a 2D graphics engine, we'll design a GUI and then we'll use our library to show real windows on the screen, control them with the mouse etc.

This project will run in a virtualized environment (easy to set up, I will show you) so the code runs equally well on top of Windows, Linux or Mac OS X.

PLEASE NOTE: You need to know the basics of C to follow along this project, but nothing else. We'll use additional components but that's 5% and you can just copy that stuff if you'd like. The code is freely available at the repo (watch below) and it will stay there for 4 days as usual.

Let us get going :)
JB

#gui #graphical #user #interface #CodingAgui #programming #coders #CLanguage #OSdev

References

1. Stanislav's BIOS interrupts page

2. Buy my book about computer networking:

3. Become a channel member and get several benefits, check out:

4. Source code from the repo

Table of Contents

00:00:00 Introduction
00:02:52 Project setup
00:32:48 Creating color palettes
00:48:13 Designing our interface
01:47:51 Handling text
02:22:38 Drawing a point 🍒
03:14:40 Drawing a line 🍒
03:57:38 Drawing a rectangle 🍒
04:38:58 Drawing 2D graphics 🍒
04:48:02 Troubleshooting memory
05:06:09 Success 🍒
Рекомендации по теме
Комментарии
Автор

Waiting for coding a Nuclear weapon from scratch in C

ruthless.irl
Автор

This is the Graphics programming stuff that I've been searching for so long

craftrumzen
Автор

rarely do we find someone who is interested in creating a graphical interface in C, often the tutorials talk about consoles, then they use C# or Javafx to create a graphical interface, you are truly a legend in C Dr Jonas and one of the best youtubers who gives the honey of programming in C

mohamemdtalbi
Автор

Thanks a lot sir! Will be forever grateful for these great videos :)

Aparna_Gaur
Автор

The one and only best golden channel on youtube

karlo_siric
Автор

This is exactly what I wanted Dr Jonas!!!!❤

markzappa
Автор

Never thought coding a GUI would result in such a dramatic presentation, high level production and fireworks...

FrankBudino
Автор

I wish I could follow this right now but I am trapped to study this whole year to get a good college
but I will definitely do this in college!!

ShivanshGupta
Автор

I really enjoy when I see your videos it's benefit me a lot. thanks for all the efforts man

محمدالنصيرات-سد
Автор

I m awestruck, now bcoz of this i will get answers to some of questions, like how these graphic things work, thanks prof

Shubh-dlio
Автор

I had coded 3d engine from scratch, just out of curiosity. Happy to see I am not alone. 😂😂

ADARSHYODHA
Автор

Exteremely interesting content, this is very awesome and cool, thank you Doctor :)

CodeLangtonsEntropy
Автор

Never expected something like this but let‘s go 😂

zubiarfan
Автор

Waiting to code whole programming language in c 😅
Thanks a lot for this amazing video lets go

pxlmusicby
Автор

Excellent 👌🏼 My God! Your dedication 💪🏼

mehrabhossain
Автор

I am still waiting for my Assembly course from 0 to hero...
I will only learn when you do.

Mykmy
Автор

Thank you!!! 😂 Oh my god, nostalgy 😂😂, I did that things in 12 years, in pure assembly under MS-DOS with tasm compiler.

Who need this in nowadays ? 😊

Show people how to write simple MS-DOS virus 😂😂😂 they will be shocked 😂😂 21 byte COM virus 😂😂

HelloWorld-
Автор

Yey! Im excited! Wait..I dont know how to code😂

monkeyman
Автор

thank zou veerz much! veerz inteereesting conteent!

SomeOne-mwzl
Автор

man great video, I'm lost in your channel, can you tell me, in which order I should watch your videos to learn and build projects like this

Algorithmswithsubham
join shbcf.ru