MUI Gadget and SDL
  • Butterfly
    Butterfly
    rebraist
    Posts: 96 from 2011/4/6
    From: Naples, Italy
    Hi!
    I'm playing with sdl.
    Is there any way to use mui gadget or whatever mui stuff in an sdl created window?
    Mac Mini g4 1,5 mos 3.1 registered
    Powerbook g4 1,67 mos 3.1 unregistered
    Sam440 Os4.1.6
    Aros-Aros-Aros.
  • »06.09.11 - 07:24
    Profile
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Nope. SDL.mcc could be cool, though.

    [ Edited by itix 06.09.2011 - 12:20 ]
    1 + 1 = 3 with very large values of 1
  • »06.09.11 - 09:19
    Profile
  • Butterfly
    Butterfly
    rebraist
    Posts: 96 from 2011/4/6
    From: Naples, Italy
    yeah! ;-)
    Mac Mini g4 1,5 mos 3.1 registered
    Powerbook g4 1,67 mos 3.1 unregistered
    Sam440 Os4.1.6
    Aros-Aros-Aros.
  • »06.09.11 - 09:30
    Profile
  • Butterfly
    Butterfly
    rebraist
    Posts: 96 from 2011/4/6
    From: Naples, Italy
    i saw that in sdl_syswm.h is implemented a struct called SDL_SysWMinfo with an int data field, which should contain the window address. Does this work?
    Thank you!
    Mac Mini g4 1,5 mos 3.1 registered
    Powerbook g4 1,67 mos 3.1 unregistered
    Sam440 Os4.1.6
    Aros-Aros-Aros.
  • »06.09.11 - 10:44
    Profile
  • Moderator
    Kronos
    Posts: 2323 from 2003/2/24
    Problem is you can't (AFAIK....) put MUI-objects on just any Intuition-window, only windows created with MUI.

    So as Itix pointed out one would need an SDL.mcc, a MUI-class that interacts with SDL.
  • »06.09.11 - 13:06
    Profile