static StyleSheet() { LargeFontResource = @"Fonts\ArialBlack72"; MediumFontResource = @"Fonts\ArialBlack48"; SmallFontResource = @"Fonts\ArialBlack24"; NeutralTextColor = Color.White; MessageBoxTextColor = Color.White; HighlightedTextColor = Color.White; SelectedTextColor = Color.Yellow; NeutralOutlineColor = new Color(0.8f, 0.8f, 0.8f, 0.5f); NeutralBackgroundColor = new Color(0.0f, 0.0f, 0.2f, 0.5f); HighlightedOutlineColor = new Color(0.8f, 0.8f, 0.8f, 0.7f); HighlightedBackgroundColor = new Color(0.0f, 0.0f, 0.2f, 0.7f); TextShadowColor = Color.Black; HighlightedSoundResource = @"MenuMove"; ClickedSoundResource = @"MenuSelect"; ButtonBackgroundImageResource = @"AlphaGradient"; MessageBoxBackgroundImageResource = @"gradient"; CancelButtonImageResource = @"Cancel"; CancelButtonHasOutline = true; CancelButtonOffset = new Point(-64, 0); TreeExpandImageResource = @"Expand"; TreeCollapseImageResource = @"Collapse"; DropdownImageResource = @"Collapse"; CheckedImageResource = @"Checked"; UncheckedImageResource = @"Unchecked"; LoadingScreenHourglassImageResource = @"hourglass"; HasOutline = true; Transition = TransitionWipeType.SlideLeft; }
public MeterScreen(IMeter meter, Point meterPosition, TransitionWipeType transitionStyle, ContentManager content, VerticalAlignment vert = VerticalAlignment.Top, HorizontalAlignment horiz = HorizontalAlignment.Center) : base("MeterScreen", content) { Meter = meter; MeterPosition = meterPosition; TransitionStyle = transitionStyle; Vert = vert; Horiz = horiz; }
public WipeTransitionObject(TransitionWipeType wipe) { WipeType = wipe; }