Expand description
What a note can be reacted to with, on offer under its like.
First a row: the like itself, the emoji this reader reacts with most
(see crate::emoji), and a way to all the others. That way swaps the
row for every emoji there is: a field to find one by what it is
called, the groups they come in, and the emoji of the group chosen, or
those found, in a grid that scrolls. Pressing any emoji reacts with it.
Constantsยง
- EMOJI_
CELL ๐ - EMOJI_
SIZE ๐ - How large an emoji to react with is set, the room each has to be pressed in, and the room around them all.
- PICKER_
COLUMNS ๐ - How many emoji the grid of all of them has across, and how tall it is before it scrolls.
- PICKER_
HEIGHT ๐ - PICKER_
SCROLLBAR_ ๐ROOM - The room beside the grid for the bar it scrolls by, which is drawn over what it scrolls: without it the last emoji of each row is under the bar.
- REACTIONS_
PADDING ๐
Staticsยง
- EMOJI_
SEARCH ๐ - The field an emoji is found by, by which it is told to take the keyboard.
Functionsยง
- cell ๐
shown, in the room one thing to react with has, doingon_presswhen pressed.- emoji_
cell ๐ emoji, to be pressed: it reacts to the notenotewith itself. It is set in the colour of text, as it is in a note: an emoji drawn in one colour would take the colour of a button otherwise, where it is what is said and not what is done.- emoji_
picker ๐ - Every emoji there is, to pick one from: the field to find one by, the groups, and the emoji of the group chosen or those found.
- emoji_
search_ id - The id of the field an emoji is found by.
- offered ๐
- What is offered, set apart from what it is over as a menu is.
- reaction_
menu - What
menuoffers to react to its note with: the row offered first, or every emoji there is once those were asked for. - reaction_
row ๐ - The row offered first: the like, each of
suggested, and the way to every other emoji.