Exemple #1
0
 protected PaginatedContainer(Bindable <User> user, string headerText = "", string missingText = "", CounterVisibilityState counterVisibilityState = CounterVisibilityState.AlwaysHidden)
 {
     this.headerText             = headerText;
     this.missingText            = missingText;
     this.counterVisibilityState = counterVisibilityState;
     User.BindTo(user);
 }
Exemple #2
0
 private void createHeader(string text, CounterVisibilityState state, int initialValue = 0)
 {
     Clear();
     Add(header = new ProfileSubsectionHeader(text, state)
     {
         Anchor  = Anchor.Centre,
         Origin  = Anchor.Centre,
         Current = { Value = initialValue }
     });
 }
Exemple #3
0
 protected ProfileSubsection(Bindable <User> user, LocalisableString?headerText = null, CounterVisibilityState counterVisibilityState = CounterVisibilityState.AlwaysHidden)
 {
     this.headerText             = headerText ?? string.Empty;
     this.counterVisibilityState = counterVisibilityState;
     User.BindTo(user);
 }
        public PaginatedScoreContainer(ScoreType type, Bindable <User> user, string headerText, CounterVisibilityState counterVisibilityState, string missingText = "")
            : base(user, headerText, missingText, counterVisibilityState)
        {
            this.type = type;

            ItemsPerPage = 5;
        }
 protected ProfileSubsection(Bindable <User> user, string headerText = "", CounterVisibilityState counterVisibilityState = CounterVisibilityState.AlwaysHidden)
 {
     this.headerText             = headerText;
     this.counterVisibilityState = counterVisibilityState;
     User.BindTo(user);
 }
 protected PaginatedProfileSubsection(Bindable <User> user, string headerText = "", string missingText = "", CounterVisibilityState counterVisibilityState = CounterVisibilityState.AlwaysHidden)
     : base(user, headerText, counterVisibilityState)
 {
     this.missingText = missingText;
 }