• MorphOS Developer
    itix
    Posts: 1516 from 2003/2/24
    From: Finland
    Quote:


    Are the pen numbers still the same 8 pens as in MUI 3.8: http://en.wikipedia.org/wiki/Magic_User_Interface, starting with Pen0 at 149/149/149?



    They are configurable by user.

    Quote:


    Writing my own custom class is yet a bit far but maybe one day I can do that. I think MUIA_Background tag is the easiest for the start, right? I do not know yet anything about hooks.



    Window backfill hook is global backfill hook where you can "easily" draw custom background. "Easily" as in read ROM Kernel Reference manuals and figure out how to get it working with MUI. Since there is no direct support to use custom background you have to experiment a lot with MUI internals to get it working as you want it to be. And I am not sure if backfill hook would work (never tried).

    My good old friend UltraGelb (author of AmiNetRadio) spent great amount of time to get it working. I dont think he was using backfill hook but just MUI custom classes (i.e. override background rendering methods).
    1 + 1 = 3 with very large values of 1
  • »16.04.13 - 18:45
    Profile