Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

nr:Resources

Each theme resource file contains one nr:Resources primitive.

nr:Resources contains all of the tables of property declarations in the theme resource file.

Parameters

None.

nr:Resources example

The following example declares one table of Button Widget properties that sets the background color to blue and the border color to gray:

nr:Resources {
   AEECLSID_CButtonWidget = { --Applied by default to all button widgets
      properties = nr:Properties {
         {PROP_BGCOLOR, blue},
         {PROP_BORDERCOLOR, gray},
      },
   },
}