Documentation ¶
Overview ¶
Package tabscreen is a generated protocol buffer package.
It is generated from these files:
gomatcha.io/matcha/pb/view/tabscreen/tabscreen.proto
It has these top-level messages:
ChildView View Event
Index ¶
- type ChildView
- func (*ChildView) Descriptor() ([]byte, []int)
- func (m *ChildView) GetBadge() string
- func (m *ChildView) GetIcon() *matcha.ImageOrResource
- func (m *ChildView) GetId() int64
- func (m *ChildView) GetSelectedIcon() *matcha.ImageOrResource
- func (m *ChildView) GetTitle() string
- func (*ChildView) ProtoMessage()
- func (m *ChildView) Reset()
- func (m *ChildView) String() string
- type Event
- type View
- func (*View) Descriptor() ([]byte, []int)
- func (m *View) GetBarColor() *matcha1.Color
- func (m *View) GetScreens() []*ChildView
- func (m *View) GetSelectedColor() *matcha1.Color
- func (m *View) GetSelectedIndex() int64
- func (m *View) GetSelectedTextStyle() *matcha_text.TextStyle
- func (m *View) GetUnselectedColor() *matcha1.Color
- func (m *View) GetUnselectedTextStyle() *matcha_text.TextStyle
- func (*View) ProtoMessage()
- func (m *View) Reset()
- func (m *View) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChildView ¶
type ChildView struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"` Icon *matcha.ImageOrResource `protobuf:"bytes,3,opt,name=icon" json:"icon,omitempty"` SelectedIcon *matcha.ImageOrResource `protobuf:"bytes,4,opt,name=selectedIcon" json:"selectedIcon,omitempty"` Badge string `protobuf:"bytes,5,opt,name=badge" json:"badge,omitempty"` }
func (*ChildView) Descriptor ¶
func (*ChildView) GetIcon ¶
func (m *ChildView) GetIcon() *matcha.ImageOrResource
func (*ChildView) GetSelectedIcon ¶
func (m *ChildView) GetSelectedIcon() *matcha.ImageOrResource
func (*ChildView) ProtoMessage ¶
func (*ChildView) ProtoMessage()
type Event ¶
type Event struct {
SelectedIndex int64 `protobuf:"varint,1,opt,name=selectedIndex" json:"selectedIndex,omitempty"`
}
func (*Event) Descriptor ¶
func (*Event) GetSelectedIndex ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
type View ¶
type View struct { Screens []*ChildView `protobuf:"bytes,1,rep,name=screens" json:"screens,omitempty"` SelectedIndex int64 `protobuf:"varint,2,opt,name=selectedIndex" json:"selectedIndex,omitempty"` BarColor *matcha1.Color `protobuf:"bytes,3,opt,name=barColor" json:"barColor,omitempty"` SelectedColor *matcha1.Color `protobuf:"bytes,6,opt,name=selectedColor" json:"selectedColor,omitempty"` UnselectedColor *matcha1.Color `protobuf:"bytes,7,opt,name=unselectedColor" json:"unselectedColor,omitempty"` SelectedTextStyle *matcha_text.TextStyle `protobuf:"bytes,8,opt,name=selectedTextStyle" json:"selectedTextStyle,omitempty"` UnselectedTextStyle *matcha_text.TextStyle `protobuf:"bytes,9,opt,name=unselectedTextStyle" json:"unselectedTextStyle,omitempty"` }
func (*View) Descriptor ¶
func (*View) GetBarColor ¶
func (*View) GetScreens ¶
func (*View) GetSelectedColor ¶
func (*View) GetSelectedIndex ¶
func (*View) GetSelectedTextStyle ¶
func (m *View) GetSelectedTextStyle() *matcha_text.TextStyle
func (*View) GetUnselectedColor ¶
func (*View) GetUnselectedTextStyle ¶
func (m *View) GetUnselectedTextStyle() *matcha_text.TextStyle
func (*View) ProtoMessage ¶
func (*View) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.