summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2009-05-23Fixed a few strings for better translationKess Vargavind10-30/+33
Just a few notes that would help us translators immensly: * Please do not split one sentence into several strings * Please try to refrain from inserting extra spaces into the strings (cherry picked from commit 9712489ef67f95d6a5fa1fc3102bb7c4ee6a1f59)
2009-05-23Display the party leaders name in bold fontFreeyorp3-1/+9
(cherry picked from commit 244b0d9b46128ab3498da078020c8bbf8c65f69f)
2009-05-23Fixed the empty item link crash differentlyBjørn Lindeijer1-14/+8
The crash was due to an assertion which shouldn't have been there, so I removed the assertion instead. I've also made sure the unknown item has its id initialized to 0, so that it can be used to check against instead of the item name. Normalization of item names was moved within the item database.
2009-05-23Fix a segmentation faultKess Vargavind1-8/+12
The client crashed when entering [] inside an item link, for example the string [[]]. (cherry picked from commit 86a055d46df5a262fce0f76697cc3d54e75b19e1)
2009-05-23Fixes a segmentfault and disables shift split for eAChuck Miller1-2/+3
2009-05-18Fixed progress bar crashBjørn Lindeijer1-10/+4
Sorry about that.
2009-05-18Restored the window background to its former gloryBjørn Lindeijer1-6/+4
Well, opinions might differ about what looks better, but anyway. :P This also fixes the skin to not take the repeating middle into account when calculating the minimum width and height. And due to the larger image parts it should perform a bit better with OpenGL.
2009-05-18Fixed compilation for tmwservDavid Athay2-3/+5
(cherry picked from commit e7df8c9dd7ebc14c1263c19c6a238ebcf4fd9465)
2009-05-17Make the state variable a bit more type-safeBjørn Lindeijer2-3/+5
Should be no change in behaviour.
2009-05-17Enable and fix path drawing for athena.Dennis Friis1-3/+3
Notice that in Being::Logic() we call Being::setPosition() with the added offset of x+16, y+32, this makes both the Vector Being::mPos and Being::mPx / Being::mPy not mean the same as pre-merge client. Thus some effects and code dividing these members with 32 to get the tile coords get wrong results. Perhaps this all these methods of getting x,y on beings should be cleaned up so we have 1 method we settle on and store the sprites' fixed x,y offset on the sprite itself. so we have x + fixed_offset + animation_offset and not all these magic numbers floating around. (cherry picked from commit fc6b38d113e7f78af1075a37e1853e00294742e9)
2009-05-17scale the partywindow downMaximilian Philipps1-2/+2
(cherry picked from commit ff4b7434b7bd25412a24a13bc0ef00e253c17f0e)
2009-05-14Fixed Reset Windows to also reset the party windowBjørn Lindeijer1-0/+2
Mantis-issue: 697
2009-05-14Fixed alpha to also apply to the main text of a text particleBjørn Lindeijer1-1/+1
It was only being applied to the outline and shadow. This improves the fadeout a little, but because the text is being rendered multiple times, it still looks strange. (cherry picked from commit 3591c264f14edf300e7d3ea20577c517a092cf50)
2009-05-14Fixed the worst layout issues that came up with translationsBjørn Lindeijer7-11/+11
Video and player setup pages now look a bit better when translated or when the font size is increased.
2009-05-14Don't apply GUI opacity to the selected value of a DropDownBjørn Lindeijer2-7/+7
2009-05-13Fix how the PartyWindow lays out AvatarsJared Adams3-5/+30
Also fix the height of Avatars
2009-05-13Fixed two compiler warningsBjørn Lindeijer1-0/+3
Enumeration values not handled in switch and an ambiguous else.
2009-05-13Allow more control of NpcDialog using the keyboardJared Adams2-0/+18
The move up and move down keys will now let you navigate the list mode and change the value on the integer mode.
2009-05-13Disable keyboard control of ItemContainers for nowJared Adams1-4/+4
2009-05-13Adjust the default width of the PartyWindow moreJared Adams1-1/+1
2009-05-13Modify PartyWindow sizing againFreeyorp2-4/+5
Rather than expanding PartyWindow again, call mLabel->adjustSize(); and let players resize the window if they need to. Also shrink the minimum size of the PartyWindow.
2009-05-13Remove Aethyra's custom visible GM systemJared Adams2-15/+0
Very hackish and would require altering eAthena. It also isn't very portable; if you use the same character name on multiple servers and are a GM on one of them, the client will try to make you a GM on the other.
2009-05-12Fix up handling of GM statusJared Adams2-10/+13
2009-05-12Fix player party hilighting issuesJared Adams1-1/+1
Causes when other party memebrs were on the same map and they came in range, they wouldn't get hilighted. Also simplify the check for correct player (avoiding problems with multiple characters on an account).
2009-05-13BrowserBox doesn't need to know about the TrueTypeFont classBjørn Lindeijer1-6/+6
2009-05-12Adjust the context menu's invite optionsJared Adams1-1/+4
Guild will no longer show for eAthena builds and party will only show if you are in a party.
2009-05-12GCC3x does not like static_cast to enum, use old style instead.Dennis Friis1-2/+1
2009-05-12Only set the right characters in partyJared Adams1-1/+2
Instead of every character on the account (for eAthena).
2009-05-12Only scroll down the inventory as far as necessaryBjørn Lindeijer2-8/+28
ItemContainer now adjusts its number of rows to the last used slot.
2009-05-12Some small cleanups and fixed compile with tmwserv supportBjørn Lindeijer3-8/+6
2009-05-12Fix switching to new tabs on /queryJared Adams1-0/+3
2009-05-12Show party name in party windowJared Adams2-0/+14
2009-05-12Handle in party status in a much saner wayJared Adams2-11/+33
2009-05-12Don't automatically switch to new WhisperTabsJared Adams1-2/+0
2009-05-12Remove methods from LocalPlayer that just call NetJared Adams5-13/+23
And make a few others like that, and remove them too.
2009-05-12Don't show Hp and maxHp for the local player in the party windowFreeyorp1-7/+1
It's already being displayed elsewhere, and it's partly broken anyway.
2009-05-12Makes ItemContainer use indexes for selected and highlighted items, rather ↵Chuck Miller2-74/+61
then Item pointers. As suggested by Bjorn
2009-05-11Merge branch 'master' of git://gitorious.org/tmw/mainlineChuck Miller4-9/+9
2009-05-11Makes sure a item exists in the inventory before saying it is selectedChuck Miller2-2/+15
Was causing a lot of issues (mainly segfaults) when things were used/dropped/stored/retrieved
2009-05-11Expand the label in the party window to stop names from being cut off (again)Freeyorp1-2/+2
Since there are now brackets around the hp values, we need the room for them, too.
2009-05-11Switch Tab to a color pointer to update on the flyJared Adams3-7/+7
2009-05-11Adjust party window visibility logicJared Adams1-13/+1
It now behaves like most windows: defaults to not visible and will save it's visibility. Only the user should be altering it now.
2009-05-11Made player relations persistent by default and removed option from GUIBjørn Lindeijer2-7/+2
Also changed the config key to make sure the new default applies to everybody. It is now 'persistent-player-list' instead of 'persist-player-list'.
2009-05-11Simplified conversion of font size to index of dropdownBjørn Lindeijer1-21/+1
2009-05-11Removed scroll laziness and scroll radius options. Both of these wereTametomo2-91/+10
partially broken, and my experience has been that players have been frustrated more by accidentally setting them than actually wanting them. They'll still be settable in the configuration file for anyone who needs them, but they seem more like a programmer's debugger than a useful option. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-05-11Unduplicated the mapping to string representationBjørn Lindeijer2-92/+53
Based on a similar change Tametomo made in Aethyra.
2009-05-11Start out all progress bars at 0, so that they progress upwards.Tametomo5-11/+11
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-05-11Fix a few states on minimap that I missed. mShow now replaces the visibility ↵peavey1-8/+7
setting since this is only saved on manually setting visibility. go back to saving visibility and use sticky bit to decide if minimap should be turned off or not.
2009-05-10nuke a tab indent I put in by mistakepeavey1-1/+1
2009-05-10Removed the ???/??? for party members of which health isn't knownBjørn Lindeijer2-30/+33
Not very useful. :P