Felix Palmen :freebsd: :c64: on Nostr: Building one #widget at a time: Here's a #Button 🙈 Based on the work already done ...
Building one #widget at a time: Here's a #Button 🙈
Based on the work already done (e.g. it just uses a #TextLabel widget), only 153 (edit: errr, 158 after fixing the handling of damage regions) loc of C 😎. Of course needs some configurable properties, so this will grow ...
#xcb #X11 #programming
Published at
2024-06-14 09:15:30Event JSON
{
"id": "cc5ec9c857f4de3f92b991ba2069be6f0aa3e3b85baebfba9ee7401e115f42d2",
"pubkey": "f256835736550a85428b988fdeb80b491534fe74fc6e7eea1701fc79e6642176",
"created_at": 1718356530,
"kind": 1,
"tags": [
[
"t",
"widget"
],
[
"t",
"button"
],
[
"t",
"textlabel"
],
[
"t",
"xcb"
],
[
"t",
"x11"
],
[
"t",
"programming"
],
[
"proxy",
"https://mastodon.bsd.cafe/users/zirias/statuses/112614213570096668",
"activitypub"
]
],
"content": "Building one #widget at a time: Here's a #Button 🙈\n\nBased on the work already done (e.g. it just uses a #TextLabel widget), only 153 (edit: errr, 158 after fixing the handling of damage regions) loc of C 😎. Of course needs some configurable properties, so this will grow ...\n\n#xcb #X11 #programming\n\nhttps://bsdcafemedia01.server-gestiti.it/bsdmmedia01/media_attachments/files/112/614/205/925/036/834/original/637e67e106cabd66.png",
"sig": "1fa7d9bd12c898389f734eb790ef233babac23165322146de01ed4bdd3f9c158d24b2b302d29224edff28ba670ee98f8547bd11da5cb7dd72f1d6497bdc080c1"
}