View Single Post
Old 08 July 2017, 01:22   #31
edmayn
Registered User

 
Join Date: May 2017
Location: Silkeborg/Denmark
Posts: 14
The last couple of weeks I have dived deeper in to C on the Amiga and it has been fun!

As a way to get more familiar with intuition and how windows are handled within this framework I have expanded the window lister program quite a bit and refactored it.

It now includes a check for (IMO relevant) intuition window flags and automatic padding and sizing, based on the console width, for the output table.



Code:
https://github.com/RasmusEdgar/amiga.../wlist/wlist.c

(I tried to post the code here with code tags, but it somehow gets mangled up)

The code compiles cleanly with both SAS/C
Code:
mkmk
smake
and GCC
Code:
gcc wlist.c -o wlist -Werror -Wall -s -noixemul
I hope some of you find it interesting.

Critical feedback is welcome.

Br,
edmayn
edmayn is offline  
 
Page generated in 0.03982 seconds with 11 queries