Commit graph

19 commits

Author SHA1 Message Date
Rasmus Karlsson 51fe00dfec twitch emotes are now refreshed properly (sub and global emotes)
this only works if you're logged in I think
2017-12-22 17:37:24 +01:00
Rasmus Karlsson d8db695628 fix compile error 2017-12-19 03:41:31 +01:00
Rasmus Karlsson 47a1911df9 Clean up emotemanager emoji code 2017-12-19 03:38:42 +01:00
Rasmus Karlsson 4a70fa5d0c re-add variable I accidentally removed 2017-12-17 13:46:54 +01:00
Rasmus Karlsson fe352b5da9 remove underscore-prefix from some class members 2017-12-17 13:31:08 +01:00
Rasmus Karlsson 70cbb9df7f Make more use of single pattern 2017-12-17 02:18:13 +01:00
fourtf f0c21f5b49 refactored message drawing and layouting 2017-10-11 10:34:04 +02:00
fourtf a4995201f5 changed some filenames and stuff like that 2017-09-16 16:20:10 +02:00
fourtf c7b3480aaf ChatWidgetView -> ChannelView, added Emote Picker 2017-09-16 00:05:06 +02:00
Rasmus Karlsson a82774543c Fix warnings/reformat some code 2017-08-12 15:58:46 +02:00
Rasmus Karlsson ba092aa29b Add emojis to autocomplete
Improve autocomplete:
 - Add space after autocompleted item
 - Emotes starting with `:` can now be autocompleted properly (i.e. emojis)
2017-08-01 00:10:02 +02:00
Rasmus Karlsson b5407c94aa Implement emoji sending using shortcodes 😎 🅱️ 2017-07-31 22:15:12 +02:00
Rasmus Karlsson 3bf111a091 More progress on tab-complete
There are missing parts to the "account-based" emotes that needs to be
completed before emote completion can be considered done. For now, when
I've been testing, I've been manually injecting the oauthClient and
oauthToken to the settings file with the `user_subscriptions` scope
2017-07-23 14:16:13 +02:00
Rasmus Karlsson ab814d1e63 refactor stuff 2017-07-23 09:56:06 +02:00
Rasmus Karlsson 5aa892e834 Refactor ConcurrentMap
* Add operator[] to ConcurrentMap which returns a TValue reference
* BTTV/FFZ channel emotes are now stored in the Emote Manager, and each Channel object has a reference to their own BTTV/FFZ channel emote map.
* Restructure EmoteManager a bit (simplify the ConcurrentMap havoc).
* Add EmoteData struct which can store emote data (for now only messages::LazyLoadedImage*)
* Add CompletionManager that does nothing
2017-07-09 17:58:59 +02:00
Rasmus Karlsson a58cd3333e Implement emoji parsing
Fix #60
2017-07-02 17:39:51 +02:00
Rasmus Karlsson 7df7da70cb A lot of changes
Remove unused constructor of messages::Message
Fixed LimitedQueueSnapshot _-prefixes
Changed LimitedQueueSnapshot's usage of int to std::size_t
ColorScheme is no longer a singleton
Created a "BaseWidget" class which is pretty much a QWidget except it
has a reference of ColorScheme since most widgets will need a reference
to the style they should use.
BaseWidget can be implemented either with a BaseWidget parent (which
will copy the ColorScheme reference from the parent) or with a
normal QWidget parent and an explicit ColorScheme reference.
Save main window geometry on close
Fix font changing in the Settings Dialog
Update settings library version
2017-06-26 19:53:31 +02:00
Rasmus Karlsson 59d383c161 Huge refactor
- Remove some underscore-prefixes
 - Start using this-> more
 - Remove a few of the singletons (We pass references to managers to
         things that need it now. Might not be much better, but for now
         it works. It also shows what places might be slightly wrong
         designed)
2017-06-13 21:27:26 +02:00
Rasmus Karlsson 1c6ff37e76 rename header files from *.h to *.hpp 2017-06-11 09:31:45 +02:00
Renamed from src/emotemanager.h (Browse further)