khval / NallePuh

Paula audio and CIAA/CIAB emulation for AmigaOS
GNU General Public License v2.0
4 stars 0 forks source link

Create a nice reaction GUI #6

Closed khval closed 1 year ago

khval commented 1 year ago

Recreating the GUI, is the easiest path, as a lot event loop is already written, we have the .cd file etc.

khval commented 1 year ago

NallePUH.res file gives some hints, how to design the GUI as it was. NallePUH.h (contains the GUI defines) this file should be generated. NallePUH.cd should be moved under a sub directory. (see Basilisk)

I think NallePUHstr.s gives some hints too why the gui was not made for PPC.

khval commented 1 year ago

GUI uses lots of WriteLong/WriteWord, we should replace that.

Hypexed commented 1 year ago

In NallePUH.res what is REDC?

I wonder how this file was built? It looks like a layout text file. Possibly this could be built from the components of the resource.library that didn't make it into OS4. I recall the resource.library was useful for building a GUI in OS3.5+. Unfortunately such a generically named.. err... OS resource was also confusing, since the OS had resources and it perhaps wasn't the best play on words. :-)

Hypexed commented 1 year ago

Also NallePUHstr.s is built by CatComp. A sign of the times it's in 68K ASM. Most of it is fine as it's just creating a binary file, similar to how a font was constructed, which was common. Problem is the ASM snippet on the end though it is small.

Could be ported to PPC ASM or C but then how is the binary integrated?

Obviously what's needed is what file is given to CatComp to build the locale, an OS4 native CatComp or newer replacement.

khval commented 1 year ago

@Hypexed

NallePUH.res reminds me of some macos binary gui, thing.

but then how is the binary integrated?

I think it was simply linked in.

Could be ported to PPC ASM or C

Easier to simply recreate the GUI part, some of the stuff does make sense anyway.

Hypexed commented 1 year ago

NallePUH.res reminds me of some macos binary gui, thing.

It looks auto generated but useful,

I think it was simply linked in.

Strange way to include a static structure.

Easier to simply recreate the GUI part, some of the stuff does make sense anyway.

Or use CatComp again to produce a normal file like portable C source.

https://wiki.amigaos.net/wiki/SDK_Developer_Tools#CatComp

khval commented 1 year ago

I do use CatComp to generate .h and .c files, but this are only for the translation, not the GUI elements.

The thing missing is iconify, needs a bit of fixing, maybe the gui can need some redesign, feel free to change it.

man. 14. nov. 2022 kl. 12:39 skrev Hypexed @.***>:

NallePUH.res reminds me of some macos binary gui, thing.

It looks auto generated but useful,

I think it was simply linked in.

Strange way to include a static structure.

Easier to simply recreate the GUI part, some of the stuff does make sense anyway.

Or use CatComp again to produce a normal file like portable C source.

https://wiki.amigaos.net/wiki/SDK_Developer_Tools#CatComp

— Reply to this email directly, view it on GitHub https://github.com/khval/NallePuh/issues/6#issuecomment-1313546964, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIDFDOJBVBWABLNP4YFXD3WIIQF3ANCNFSM6AAAAAAR3YEPOU . You are receiving this because you authored the thread.Message ID: @.***>

khval commented 1 year ago

It’s like 10 hours difference between Australia and Norway, it's almost impossible to get an merge conflict ;-)

man. 14. nov. 2022 kl. 13:11 skrev Kjetil Hvalstrand < @.***>:

I do use CatComp to generate .h and .c files, but this are only for the translation, not the GUI elements.

The thing missing is iconify, needs a bit of fixing, maybe the gui can need some redesign, feel free to change it.

man. 14. nov. 2022 kl. 12:39 skrev Hypexed @.***>:

NallePUH.res reminds me of some macos binary gui, thing.

It looks auto generated but useful,

I think it was simply linked in.

Strange way to include a static structure.

Easier to simply recreate the GUI part, some of the stuff does make sense anyway.

Or use CatComp again to produce a normal file like portable C source.

https://wiki.amigaos.net/wiki/SDK_Developer_Tools#CatComp

— Reply to this email directly, view it on GitHub https://github.com/khval/NallePuh/issues/6#issuecomment-1313546964, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIDFDOJBVBWABLNP4YFXD3WIIQF3ANCNFSM6AAAAAAR3YEPOU . You are receiving this because you authored the thread.Message ID: @.***>

khval commented 1 year ago

I have redesigned the GUI, (too many buttons)..