aboutsummaryrefslogtreecommitdiff
path: root/src/evidence.cpp
AgeCommit message (Collapse)Author
2019-09-28Overhaul the evidence system:Crystalwarrior
You can now press the checkmark to save evidence. The checkmark only appears when your edited evidence differs from evidence on the server. You will now be alerted if you try to exit out of the evidence with unsaved changes (pressing "X") Fix double-clicking on image name not doing anything You will now be alerted if the evidence changed as you were editing it Add tooltips Make an evidence_close function that can be referred to from multiple places
2019-09-25Hellcommit of doom and sufferingCrystalwarrior
Create two new helper functions - get_chat_markdown and remake read_char_ini_tag to be read_ini_tags for more general purpose Modify aolineedit to support preserving selection after unfocusing (building this for using dropdown list for setting colors), as well as remove the setReadOnly functionality and use it in signals instead Overhaul the color system to get rid of inline colors, allow full customization of colors and usage of configuration files for every facet of how a color functions (should we be talking, should we remove that markdown char, etc.) Complete overhaul of color markdowns system TODO: Make this thing not lag to hell, fix chat messages hogging the IC as the animation never ends apparently
2019-09-20Revert buttons using setIcon and use a better stylesheet method insteadCrystalwarrior
Fix evidence buttons and emote buttons being hardcoded size
2019-09-18Get rid of some debug textCrystalwarrior
2019-09-18emote_button_size,evidence_button_size added to courtroom_design.iniCrystalwarrior
evidence_name, evidence_image_name, evidence_description added to courtroom_fonts.ini
2019-09-18Concurrent evidence updating!Crystalwarrior
Similar to the way Google Docs work, the evidence will be updated immediately as you make any changes to it.
2019-09-18use SetIcon for AOEmoteButton instead of stylesheetsCrystalwarrior
Fix aolineedit not sending the double_clicked signal Add tooltips for emotes that display the number and the emote_comment (name) Add similar tooltips to evidence buttons Resolve an issue where you could edit evidence name without double-clicking a piece of evidence first
2019-09-18Evidence and emotes reloading when reload_theme is pressedCrystalwarrior
Update evidence a bit and change the way it sets images to something much better and less confusing Update the hovering logic a bit so there's less weird occurences happening e.g. evidence button is deleted
2019-09-16Add two new helper functions - get_design_element and get_static_image_suffixCrystalwarrior
Modify all set_image calls to utilize said suffix helper function Dynamically change betweehn chatblank, chat, chatmed, chatbig based on the showname's length Use char.ini showname if showname is set to whitespace (doesn't yet check if char.ini showname is also whitespace)
2019-09-16Allow char.ini to override the chat font and font size with chat_font = and ↵Crystalwarrior
chat_size = Scream at the coders that decided hard-coding fonts and colors was a good idea (gotta properly let the themes modify that later) Fix a lot of ui elements not properly respecting the themes and their colors add a set_qfont method for those situations that need it Allow the theme to change sender colors for ooc and ms chatlogs rename url parser variable to something more immediately apparent as to what it is for readability's sake
2019-07-29fixed 2 stringsstonedDiscord
2019-07-28Make all strings translatableoldmud0
2019-07-03Permanent and not temporary solution for evidence. Supports up to infite ↵cents02
subfolders.
2019-07-01Fixed evidence not recognizing subfolder issue. Can support 1 folder tho.cents02
2018-12-26moved headers into include and cpp files into src + logo into resourceDavid Skoland