Glow Stick-Fun and practical

This is a concert light stick that makes the enthusiasm flash. Slight fluorescence can also illuminate the night sky, allowing you to shine in the crowd. One-button switch, convenient and quick.Glowing effect is free to switch, a variety of colors, continuous light,colorful. It's better to open it in a dark place!

Main point

Overall situation macro name suggests the definition of a number of global macro. I have defined four here:

UtilsMacros defines a number of tool macros, such as access to the screen width and height, system version, data type validation;

URLMacros defines the server interface address and the environment switch;

FontAndColorMacros defines the overall use of color values, font size, here proposed to work with designers to maintain a design specification, for example: Define a main color macro MainColor, color value is 0x333333, we use the MainColor macro as a global background color, , The color value changes, we only need to change 0x333333, other code does not need to move, but also to a certain degree of constraints designers, do not just add a color, very close to the color should use one. If designers do not want to maintain this specification, you can try to fight one, if you can not beat, it can only be maintained on their own, only for a clearer.

ThirdMacros contains definitions related to third-party frameworks, such as keySecret. Just for clarity.

你可能感兴趣的:(Glow Stick-Fun and practical)