DIFF

class NewsCarouselSource

NewsCarousel ScriptedWidgetEventHandler Managed

All members, including inherited

Constructors 2

Constants 2

protected const int MAX_ARTICLES = 3
Referenced by ShowPost(), and UpdateCarouselInfo()
protected const float ARTICLE_SWITCH_TIME = 3.0
Referenced by UpdateCarouselInfo()

Members 22

protected Widget m_Root
Referenced by Destroy(), NewsCarousel(), ShowNewsCarousel()
Show 2 more, ShowPost(), and UpdateCarouselInfo()
protected ButtonWidget m_HotlinkButton
protected RichTextWidget m_HotlinkButtonLabel
protected ImageWidget m_Image
protected TextWidget m_TitleText
Referenced by NewsCarousel(), and ShowPost()
protected ButtonWidget m_NextPageBtn
Referenced by NewsCarousel(), OnClick(), OnMouseEnter()
Show 1 more, OnMouseLeave()
protected ButtonWidget m_PrevPageBtn
Referenced by NewsCarousel(), OnClick(), OnMouseEnter()
Show 1 more, OnMouseLeave()
protected ImageWidget m_NextPageBtnIcon
protected ImageWidget m_PrevPageBtnIcon
protected ImageWidget m_NextPageBtnIconConsolePLATFORM_CONSOLE
protected ImageWidget m_PrevPageBtnIconConsolePLATFORM_CONSOLE
protected JsonDataNewsArticle m_CurrentArticle
Referenced by GetButtonLabel(), OnMouseEnter(), OnMouseLeave()
Show 1 more, ShowPost()
protected ModInfo m_CurrentModInfo
Referenced by ShowPost(), and ShowPromotion()
protected int m_ArticleIndex
protected ref Timer m_NewsSwitchTimer
protected bool m_SwitchToNext = true
Referenced by SwitchNews()
protected MainMenuConsole m_MainMenuPLATFORM_CONSOLE
Referenced by NewsCarousel()
protected MainMenu m_MainMenu!PLATFORM_CONSOLE
Referenced by NewsCarousel()
protected GridSpacerWidget m_GridSpacer
protected ref AnimatedGridSpacer m_AnimatedSpacer
Referenced by NextArticle(), PreviousArticle(), Update()
Show 1 more, UpdateCarouselInfo()
protected EInputDeviceType m_CurrentInputDevice

Methods 21

protected void SwitchNews()
void ShowNewsCarousel(bool show)
void OnAnimationCompleted()
protected void ColorHighlight(Widget w)
References ARGB(), and Widget.SetColor()
Referenced by ShowPost()
protected void ColorNormal(Widget w)
References ARGB(), and Widget.SetColor()
Referenced by ShowPost()
void OnClickNextArticle()
References NextArticle(), Timer.Run(), Timer.Stop()
Show 1 more, m_NewsSwitchTimer
void OnClickPreviousArticle()
References PreviousArticle(), Timer.Run(), Timer.Stop()
Show 1 more, m_NewsSwitchTimer
override bool OnClick(Widget w, int x, int y, int button)
void Update(float timeslice)