-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
199 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
7 changes: 7 additions & 0 deletions
7
packages/TelegramClient-UI.package/TCUChatPollEditor.class/class/newFor.withBounds..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
as yet unclassified | ||
newFor: aChat withBounds: aRectangle | ||
|
||
^ (super newBounds: aRectangle) | ||
chat: aChat; | ||
addTypeOption; | ||
yourself |
12 changes: 12 additions & 0 deletions
12
packages/TelegramClient-UI.package/TCUChatPollEditor.class/instance/addTypeOption.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
as yet unclassified | ||
addTypeOption | ||
|
||
self typeOption: (RectangleMorph new | ||
color: Color red; | ||
extent: 300@300; | ||
useRoundedCorners; | ||
yourself). | ||
|
||
self addMorph: self typeOption. | ||
self typeOption center: self center. | ||
|
4 changes: 4 additions & 0 deletions
4
packages/TelegramClient-UI.package/TCUChatPollEditor.class/instance/chat..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
as yet unclassified | ||
chat: aChat | ||
|
||
chat := aChat |
4 changes: 4 additions & 0 deletions
4
packages/TelegramClient-UI.package/TCUChatPollEditor.class/instance/chat.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
as yet unclassified | ||
chat | ||
|
||
^ chat |
10 changes: 10 additions & 0 deletions
10
packages/TelegramClient-UI.package/TCUChatPollEditor.class/instance/initialize.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
as yet unclassified | ||
initialize | ||
|
||
super initialize. | ||
|
||
self | ||
color: (TCUDefaultValues colorLightGray alpha: 0.5); | ||
borderWidth: 0; | ||
on: #mouseUp send: #hide to: self. | ||
|
4 changes: 4 additions & 0 deletions
4
packages/TelegramClient-UI.package/TCUChatPollEditor.class/instance/typeOption..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
as yet unclassified | ||
typeOption: aRectangleMorph | ||
|
||
typeOption := aRectangleMorph |
4 changes: 4 additions & 0 deletions
4
packages/TelegramClient-UI.package/TCUChatPollEditor.class/instance/typeOption.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
as yet unclassified | ||
typeOption | ||
|
||
^ typeOption |
10 changes: 10 additions & 0 deletions
10
packages/TelegramClient-UI.package/TCUChatPollEditor.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"class" : { | ||
"newFor:withBounds:" : "jkon 6/17/2024 11:14" }, | ||
"instance" : { | ||
"addTypeOption" : "jkon 6/17/2024 11:17", | ||
"chat" : "jkon 6/17/2024 10:29", | ||
"chat:" : "jkon 6/17/2024 10:29", | ||
"initialize" : "jkon 6/17/2024 11:13", | ||
"typeOption" : "jkon 6/17/2024 11:03", | ||
"typeOption:" : "jkon 6/17/2024 11:03" } } |
15 changes: 15 additions & 0 deletions
15
packages/TelegramClient-UI.package/TCUChatPollEditor.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"category" : "TelegramClient-UI", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
"chat", | ||
"typeOption" ], | ||
"name" : "TCUChatPollEditor", | ||
"pools" : [ | ||
], | ||
"super" : "RectangleMorph", | ||
"type" : "normal" } |
8 changes: 8 additions & 0 deletions
8
packages/TelegramClient-UI.package/TCUChatWindow.class/instance/addHiddenPollEditor.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
drawing | ||
addHiddenPollEditor | ||
|
||
self | ||
pollEditor: (TCUChatPollEditor newFor: self selectedChat withBounds: self bounds); | ||
addMorphFront: self pollEditor. | ||
|
||
self pollEditor hide. |
10 changes: 10 additions & 0 deletions
10
packages/TelegramClient-UI.package/TCUChatWindow.class/instance/addPollButton.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
drawing | ||
addPollButton | ||
|
||
self pollButton: (TCUButton new | ||
extent: 50 @ 30; | ||
text: '|||'; | ||
on: #mouseUp send: #showPollEditor to: self; | ||
name: 'openPollEditor'; | ||
yourself). | ||
self inputBar addMorph: self pollButton. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.