• Moderator
    Kronos
    Posts: 2451 from 2003/2/24
    2nd alpha:
    http://www.steamdraw.homepage.t-online.de/PanelApp.lha

    This one "only" added support for Glow and non-Glow Amiga as well as SVG icons.

    Only as in:
    - created a custom Ambient build with a PanelTestButtonClass (1:1 copy of PanelBaseButtonClass at this point)
    - placed a bar of those with problematic Icons in the Panels prefs area (so it won't get autotriggered on every Ambient restart)
    - added another source file with a copy of the icon_read() function
    - trimmed that function down form almost 1000 to just 180 lines (lots of stuff not needed for panels)
    - pulled in all Ambient functions called from there (with a slight rename to avoid linker issues)
    - pruned those functions
    - pulled in more functions and defines used in the 1st set of functions
    - rinse&repeat (x5)
    - made sure all the renamed stuff that needs initializing gets that
    - transferred the source file to the PanelApp project
    - did some adjustments to other sources in PanelApp
    - still got a few "undefined reference" errors
    - went back to Ambient build to hunt down some more stuff
    - rinse&repeat (only x1)
    - compile PanelApp
    - panic attack all old icons just a black square
    - realized that I had forgotten to init the colormap needed for remapping


    So what still isn't fixed:
    - non square icon may get scaled wrong
    - zipping is faster but extra wonky


    Next version should get proper scaling and zipping plus support for multiple panels.
    Afterwards I will start on the prefsApp/Group/MCC which might not get public alphas depending on wether it requires a special Ambient build.
  • »06.01.24 - 12:25
    Profile