aboutsummaryrefslogtreecommitdiff
path: root/src/aoemotebutton.cpp
AgeCommit message (Collapse)Author
2020-08-23Fix: Qt failing to paint a darker button if source image is indexedlikeawindrammer
By converting the image to an 8-bits per channel image with alpha channel we make sure the client won't fail painting a darker button, and keep the transparency if the source image had.
2020-07-30Add darker button generator (#201)windrammer
When an `_off` emote button exists without an `_on` counterpart, the client will automatically generate the `_on` button and save it to disk. Co-authored-by: Cents02 <Cents02@Cents0.me> Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2020-05-22clang 2 electric boogalooCrystalwarrior
{ BasedOnStyle: LLVM, BreakBeforeBraces: Stroustrup}
2020-05-22Clang-ify the code with this styling using Visual Studio Code:Crystalwarrior
{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Stroustrup, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All } (this is the Visual Studio preset with only "BreakBeforeBraces" changed from Allman to Stroustrup)
2019-09-20Revert buttons using setIcon and use a better stylesheet method insteadCrystalwarrior
Fix evidence buttons and emote buttons being hardcoded size
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-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)
2018-12-26moved headers into include and cpp files into src + logo into resourceDavid Skoland