forked from gomatcha/matcha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scrollview.pb.go
107 lines (91 loc) · 4.41 KB
/
scrollview.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: gomatcha.io/matcha/proto/view/scrollview.proto
package view
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import matcha_layout "gomatcha.io/matcha/proto/layout"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type ScrollView struct {
ScrollEnabled bool `protobuf:"varint,1,opt,name=scrollEnabled" json:"scrollEnabled,omitempty"`
Horizontal bool `protobuf:"varint,4,opt,name=horizontal" json:"horizontal,omitempty"`
Vertical bool `protobuf:"varint,5,opt,name=vertical" json:"vertical,omitempty"`
ShowsHorizontalScrollIndicator bool `protobuf:"varint,2,opt,name=showsHorizontalScrollIndicator" json:"showsHorizontalScrollIndicator,omitempty"`
ShowsVerticalScrollIndicator bool `protobuf:"varint,3,opt,name=showsVerticalScrollIndicator" json:"showsVerticalScrollIndicator,omitempty"`
}
func (m *ScrollView) Reset() { *m = ScrollView{} }
func (m *ScrollView) String() string { return proto.CompactTextString(m) }
func (*ScrollView) ProtoMessage() {}
func (*ScrollView) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
func (m *ScrollView) GetScrollEnabled() bool {
if m != nil {
return m.ScrollEnabled
}
return false
}
func (m *ScrollView) GetHorizontal() bool {
if m != nil {
return m.Horizontal
}
return false
}
func (m *ScrollView) GetVertical() bool {
if m != nil {
return m.Vertical
}
return false
}
func (m *ScrollView) GetShowsHorizontalScrollIndicator() bool {
if m != nil {
return m.ShowsHorizontalScrollIndicator
}
return false
}
func (m *ScrollView) GetShowsVerticalScrollIndicator() bool {
if m != nil {
return m.ShowsVerticalScrollIndicator
}
return false
}
type ScrollEvent struct {
ContentOffset *matcha_layout.Point `protobuf:"bytes,1,opt,name=contentOffset" json:"contentOffset,omitempty"`
}
func (m *ScrollEvent) Reset() { *m = ScrollEvent{} }
func (m *ScrollEvent) String() string { return proto.CompactTextString(m) }
func (*ScrollEvent) ProtoMessage() {}
func (*ScrollEvent) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
func (m *ScrollEvent) GetContentOffset() *matcha_layout.Point {
if m != nil {
return m.ContentOffset
}
return nil
}
func init() {
proto.RegisterType((*ScrollView)(nil), "matcha.view.ScrollView")
proto.RegisterType((*ScrollEvent)(nil), "matcha.view.ScrollEvent")
}
func init() { proto.RegisterFile("gomatcha.io/matcha/proto/view/scrollview.proto", fileDescriptor3) }
var fileDescriptor3 = []byte{
// 282 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x41, 0x4b, 0xc3, 0x40,
0x10, 0x85, 0x49, 0xad, 0x52, 0x26, 0xed, 0x65, 0xf1, 0x10, 0x8a, 0x16, 0x29, 0x1e, 0x3c, 0x48,
0x02, 0x7a, 0xf3, 0x18, 0xa8, 0xd8, 0x83, 0x18, 0x2a, 0xf4, 0xe0, 0x6d, 0x93, 0x6e, 0xcd, 0xc2,
0xba, 0x23, 0xc9, 0x98, 0xa0, 0x3f, 0xc7, 0x9f, 0xe9, 0x49, 0x32, 0xbb, 0xb4, 0x56, 0xd0, 0x9e,
0x66, 0xf6, 0xed, 0x37, 0x6f, 0xd9, 0x37, 0x10, 0x3f, 0xe3, 0x8b, 0xa4, 0xa2, 0x94, 0xb1, 0xc6,
0xc4, 0x75, 0xc9, 0x6b, 0x85, 0x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