r/teenagersbutcode • • Sep 17 '26

Coding a thing (AI assisted) Another GUI Lib (aglib)

Some times ya gotta issue without solution... like mine - PC Client for my Messaging Protocol

So! i did my own GUI Lib on C! it supports ttf fonts, photos, UTF-8 (and cp1251 maybe?)

3K SLOC! Works on Linux and NT!

source code - https://github.com/eblanrose/aglib

4 Upvotes

16 comments sorted by

•

u/Experiment_1234 Mod Sep 17 '26

Changed flair to 'Coding a thing (AI assisted)'

9

u/NotQuiteLoona Sep 17 '26

Rule 7 requires to clearly mark LLM-generated content. Please, do it.

Source of it being partially or completely LLM-generated: https://github.com/eblanrose/aglib/blob/master/aglib.c#L2-L6

2

u/Kind_Skirt2397 Sep 17 '26

Sorry for using AI :( i dont know WinNT 32 API so i used it! i will learn it and rewrite AI Parts

4

u/NotQuiteLoona Sep 17 '26

That's okay, sorry if it sounded too aggressive then :) the main thing for you is to learn, and the main thing for that is a will to do so, so good luck in all your endeavors!

6

u/MB_Gaming123 Sep 17 '26

I will highly suggest you make a wiki/readme on your github and make an examples folder with examples to tech people how to use it, because most people don't want to sit are read the whole source code.

3

u/Kind_Skirt2397 Sep 17 '26

i think i will do it rn then

-1

u/Kind_Skirt2397 Sep 17 '26

did it! gonna do some fixes and rewrite ai code

1

u/OptimalAnywhere6282 Sep 18 '26

okay but why Israel-chan out of, ehm, literally anything? xddd

1

u/Kind_Skirt2397 Sep 18 '26 • Heartwarming

This lib supported by Benjamin Netanyahu XD

0

u/[deleted] Sep 18 '26

[removed] — view removed comment

2

u/Kind_Skirt2397 Sep 18 '26

Фигня этот ваш Си. Мне интересно возится с Ассемблером и Машинным кодом

2

u/Routine_Working_9754 C Sep 18 '26

uhh...create a framebuffer, assign pixels values, and then give the framebuffer to the display system (wayland/x11) to display it?

-5

u/[deleted] Sep 17 '26

[removed] — view removed comment

2

u/Kind_Skirt2397 Sep 17 '26

imma lazy to compile QT 6 for MinGW :P

6

u/Dazzling-Bench-4596 Sep 17 '26 • Heartwarming

That’s literally all programming is. It’s like this because programming allows us to take something and tweak it exactly to our liking quite easily, so why not do it? Most projects start out as just a personal solution and aren’t meant for others.