japp icon indicating copy to clipboard operation
japp copied to clipboard

Refactor: Make chatbox menu based

Open Exmirai opened this issue 8 years ago • 5 comments

Exmirai avatar Mar 19 '16 13:03 Exmirai

Hmm, thinking about how this could be done. We would need:

  • capture input text - does UI have a suitable input field? we may need to write our own element type or extend any existing text input field (a la slider and integer-input extensions)
  • key catchers with+without K_CHAR_FLAG (with keystates of shift, ctrl, etc)
  • Send text to console buffer
  • Very custom ownerdraw for rendering the lines of text
  • Mouse support for clickable URLs
  • Eventually advanced text editing, which would now be written generically for all menu items / input fields

Razish avatar Apr 05 '16 18:04 Razish

Sounds good to me, probably support for emoticons aka. custom icons like the Kappa from twitch etc.?

Blackwolf1337 avatar Apr 05 '16 22:04 Blackwolf1337

Emoticons support would require engine changes probably since the font for console and such wouldn't be able to handle them.

ensiform avatar Apr 06 '16 00:04 ensiform

I am against emoticons, especially for defining our own elite set of emoticons. I don't want to open that can of worms. (though it would not be too difficult to add with existing engine functions - split the string into chunks when you reach an emoticon)

Razish avatar Apr 06 '16 05:04 Razish

Hmm. Alright then.

Blackwolf1337 avatar Apr 06 '16 05:04 Blackwolf1337