Changes between Version 10 and Version 11 of FAQ/General Questions

Feb 5, 2017, 8:42:03 PM (4 years ago)
Thore Böckelmann


  • FAQ/General Questions

    v10 v11  
    77By default all objects get a standard frame which can be configured in the MUI preferences application, i.e. a button frame for buttons. This setting can be overridden by applications for single objects if the developer thinks that this is necessary.
    88However, for image buttons there exists a special feature which removes the frame chosen by MUI if the image comes with its own frame within the imagery and the file has a special name. For example if an image file is named "ArrowUp_framed.mim" instead of "ArrowUp.mim" MUI will set not set the standard image button frame for the created object as this would result in a double frame (one by MUI and the second by the image itself) which definitely is not intended and would look bad. In this case MUI will trust the imagery to provide a proper frame and will not draw the frame defined for image buttons.
     10Please note that for certain standard GUI objects like checkmark objects MUI does '''not''' choose a default frame setting. These objects require the application to define the default standard frame. This is usually done by either MUI's Checkmark() macro or by MUI_MakeObject(MUIO_Checkmark, ...). If an application creates checkmark object in a different way it is the application's task to specify a proper frame to be used.
    1012== How to create bitmap frames? ==