Age | Commit message (Collapse) | Author | Files | Lines |
|
In doing so, NPC Dialogs now show the resize grip again.
|
|
Also fixed the progress bar during connecting to reset again when full,
by disabling the smooth updating there.
The ProgressBar now uses gcn::Color instead of three separate color
attributes.
|
|
|
|
|
|
Negative values of y were not handled correctly, causing the selection
to wrap when the mouse moved out of the listbox at the top while
dragging.
|
|
The scroll wheel was changing the list box selection, which is somewhat
unexpected. By not handling the event, it will be passed on to the
parent ScrollArea and be handled appropriately.
|
|
Pointed out by Jaxad0127. We might want to enable its intended
functionality in a different way later.
|
|
Makes the popup a lot less annoying. Still sticks around in some cases
when it shouldn't, which seems to be because of missing mouseExited
events from Guichan.
|
|
|
|
|
|
|
|
Also add support for the new TMWServ NPC packets
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Tametomo <irarice@gmail.com>
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
|
|
It wasn't actually used because it is no longer virtual in the base
Guichan class.
|
|
Signed-off-by: Tametomo <irarice@gmail.com>
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
|
|
Signed-off-by: Tametomo <irarice@gmail.com>
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
|
|
Signed-off-by: Ira Rice <irarice@gmail.com>
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
|
|
|
|
This is instead of taking a fixed number of rows and columns. The
inventory and trade window are now resizable again.
Other smaller changes:
* Don't use bold font for the labels in the item container
* Changed "(Eq)" back to "Eq."
* Removed the ugly grid lines
|
|
Now the BrowserBox can again display 9 build-in (non configurable)
colors, used for example in the client news and the help window.
|
|
Nothing in particular worth mentioning.
|
|
* std::string arguments to 'const std::string &'
* findMember2 renamed to findOrCreateMember
* Made some functions const
|
|
Tabs can now interract with CommandHandler and define their own
commands in a seemless way. Most channel-related commands have been
moved into ChannelTab, the close command is now in the WhisperTab, and
eAthena's party tab now shows all standard commands.
|
|
Fixes crash on closing login dialog...
|
|
And also clean them up again. Fixes some memory leaks and simplifies the
code. Also got rid of the basically unused "opaque" setting of DropDown.
|
|
It's a natural better fit. The SkinLoader was changed into a singleton,
since it's used by both Window and Popup classes.
|
|
|
|
Also fixed some initialization order warnings when compiling with
tmwserv support and made two getters const.
|
|
Mainly stopped it from parsing the skin XML files over and over again,
but also fixed Skin leaking sticky button images and made some
optimizations.
The Skin class still has an 'instances' member which could be used for
cleanup in theory, but is unused at the moment.
|
|
|
|
|
|
|
|
All instances of version strings should now use the same text. The
version label was moved from main.cpp to Desktop. A new version label
was added to SetupDialog to make it easier to get the version if you are
already in game.
|
|
A container that deletes all its children on destruction doesn't have to
be so complicated. Also renamed it to simply Container, since I think it
should simply be default behavior.
WindowContainer and Popup classes now inherit from this Container.
|
|
Cleans up main.cpp a little.
|
|
Plus some random cleanups.
|
|
Unused variable, compiler suggested braces to disambiguate an else
statement and another comparision between signed and unsigned integers.
|
|
|
|
|
|
|
|
In an attempt to make the GUI code a little more structured, basic
widgets are now put in gui/widgets. Many includes were also cleaned up.
|
|
Replaced many gcn::Label with Label, gcn::Slider with Slider in
character creation dialog. Also cleaned up includes.
|
|
|
|
Map, chat, and admin have been finished (to the degree they handle all
existing cases).
|
|
|