-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbarevimform.lfm
More file actions
247 lines (247 loc) · 5.39 KB
/
barevimform.lfm
File metadata and controls
247 lines (247 loc) · 5.39 KB
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
object FormMain: TFormMain
Left = 379
Height = 600
Top = 164
Width = 800
Caption = 'barev IM'
ClientHeight = 600
ClientWidth = 800
Position = poScreenCenter
LCLVersion = '4.4.0.0'
OnCreate = FormCreate
OnDestroy = FormDestroy
OnShow = FormShow
object Panel1: TPanel
Left = 0
Height = 60
Top = 0
Width = 800
Align = alTop
ClientHeight = 60
ClientWidth = 800
TabOrder = 0
object ImageAvatar: TImage
Left = 8
Height = 48
Hint = 'Click to set avatar'
Top = 6
Width = 48
ParentShowHint = False
PopupMenu = PopupMenuAvatar
ShowHint = True
Stretch = True
OnClick = ImageAvatarClick
end
object LabelUserInfo: TLabel
Left = 70
Height = 19
Top = 6
Width = 150
Caption = 'Not connected'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object ComboBoxStatus: TComboBox
Left = 70
Height = 28
Top = 28
Width = 140
Enabled = False
ItemHeight = 0
Items.Strings = (
'🟢 Available'
'🟡 Away'
'🟠 Extended Away'
'⛔ Do Not Disturb'
)
Style = csDropDownList
TabOrder = 0
OnChange = ComboBoxStatusChange
end
object ButtonDisconnect: TButton
Left = 220
Height = 28
Top = 28
Width = 90
Caption = 'Disconnect'
Enabled = False
TabOrder = 1
OnClick = ButtonDisconnectClick
end
object ButtonToggleLogs: TButton
Left = 320
Height = 28
Top = 28
Width = 80
Caption = 'Show Logs'
TabOrder = 2
OnClick = ButtonToggleLogsClick
end
end
object Panel2: TPanel
Left = 0
Height = 540
Top = 60
Width = 200
Align = alLeft
ClientHeight = 540
ClientWidth = 200
TabOrder = 1
object LabelBuddies: TLabel
Left = 1
Height = 19
Top = 1
Width = 198
Align = alTop
Caption = 'Buddies (0)'
ParentColor = False
end
object ListBoxBuddies: TListBox
Left = 1
Height = 484
Top = 20
Width = 198
Align = alClient
ItemHeight = 40
ParentShowHint = False
PopupMenu = PopupMenuBuddy
ShowHint = True
Style = lbOwnerDrawFixed
TabOrder = 0
TopIndex = -1
OnContextPopup = ListBoxBuddiesContextPopup
OnDblClick = ListBoxBuddiesDblClick
OnDrawItem = ListBoxBuddiesDrawItem
OnMouseMove = ListBoxBuddiesMouseMove
end
object ButtonAddBuddy: TButton
Left = 1
Height = 35
Top = 504
Width = 198
Align = alBottom
Caption = '+ Add Buddy'
Enabled = False
TabOrder = 1
OnClick = ButtonAddBuddyClick
end
end
object Splitter1: TSplitter
Left = 200
Height = 540
Top = 60
Width = 5
end
object Panel3: TPanel
Left = 205
Height = 540
Top = 60
Width = 595
Align = alClient
ClientHeight = 540
ClientWidth = 595
TabOrder = 3
object PageControlChats: TPageControl
Left = 1
Height = 382
Top = 1
Width = 593
Align = alClient
Options = [nboShowCloseButtons]
TabOrder = 0
OnChange = PageControlChatsChange
OnCloseTabClicked = PageControlChatsCloseTabClicked
end
object Panel4: TPanel
Left = 1
Height = 78
Top = 383
Width = 593
Align = alBottom
ClientHeight = 78
ClientWidth = 593
TabOrder = 1
object MemoMessage: TMemo
Left = 8
Height = 60
Top = 8
Width = 460
Anchors = [akTop, akLeft, akRight, akBottom]
Enabled = False
ScrollBars = ssAutoVertical
TabOrder = 0
OnKeyDown = MemoMessageKeyDown
end
object ButtonSend: TButton
Left = 480
Height = 60
Top = 8
Width = 100
Anchors = [akTop, akRight, akBottom]
Caption = 'Send'
Enabled = False
TabOrder = 1
OnClick = ButtonSendClick
end
end
object MemoLog: TMemo
Left = 1
Height = 78
Top = 461
Width = 593
Align = alBottom
ReadOnly = True
ScrollBars = ssVertical
TabOrder = 2
Visible = False
end
end
object Timer1: TTimer
Enabled = False
Interval = 100
OnTimer = Timer1Timer
Left = 720
Top = 16
end
object PopupMenuBuddy: TPopupMenu
Left = 112
Top = 200
object MenuItemOpenChat: TMenuItem
Caption = 'Open Chat'
OnClick = MenuItemOpenChatClick
end
object MenuItemSeparator0: TMenuItem
Caption = '-'
end
object MenuItemRemoveBuddy: TMenuItem
Caption = 'Remove Buddy'
OnClick = MenuItemRemoveBuddyClick
end
object MenuItemSeparator1: TMenuItem
Caption = '-'
end
object MenuItemRequestAvatar: TMenuItem
Caption = 'Request Avatar'
OnClick = MenuItemRequestAvatarClick
end
end
object PopupMenuAvatar: TPopupMenu
Left = 720
Top = 80
object MenuItemSetAvatar: TMenuItem
Caption = 'Set Avatar...'
OnClick = MenuItemSetAvatarClick
end
object MenuItemClearAvatar: TMenuItem
Caption = 'Clear Avatar'
OnClick = MenuItemClearAvatarClick
end
end
object OpenDialogAvatar: TOpenDialog
Title = 'Select Avatar Image'
Filter = 'Image Files|*.png;*.jpg;*.jpeg;*.gif;*.bmp|All Files|*.*'
Left = 400
Top = 350
end
end