Age | Commit message (Collapse) | Author | Files | Lines |
|
The pointer was in the wrong place after the positioning fixes done
in commit dc0097631ff092660e2249d7001ec339a090698d. Now it is restored
to where it was before, but keeping the relative offset changes from
that commit.
|
|
The background images are auto-centered.
Also, for Manaserv, a new background parameter has been
added in the box node of the equip.xml file
to specify the background image.
Note that the filename is relative to the gui theme
folder.
Reviewed-by: Thorbjorn Lindeijer
Resolves: TMW-Mantis #769.
|
|
|
|
This a good example of use for the new graphics and button
functionalities.
|
|
I had to adapt a bit the images given by Poison ivy
to do that.
|
|
|
|
I also made the client able to keep the old behaviour,
and i changed the button api to not require the icon frames size
as it could easily guess them.
|
|
The cursor hopped around too much when mousing over stuff.
Cursors were off center by + 5x3 pixels.
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
Should resolve: Mana-mantis #341.
|
|
|
|
|
|
Conflicts:
src/being.cpp
src/client.cpp
src/commandhandler.cpp
src/gui/setup_video.cpp
src/gui/socialwindow.cpp
src/gui/viewport.cpp
src/gui/widgets/browserbox.cpp
src/gui/widgets/itemcontainer.cpp
src/imageparticle.cpp
src/localplayer.cpp
src/localplayer.h
src/map.cpp
src/net/tmwa/beinghandler.cpp
src/particle.cpp
src/particle.h
src/player.cpp
src/player.h
|
|
Following Rotonen's advise to "make anything and everything you
can think of recolorable", a theme can now define colors for
PARTY_CHAT_TAB and PARTY_SOCIAL_TAB. This was badly needed, because
the requirements for a color of a chat tab and of a player name
are quite different.
TODO: When guild support gets enabled, then have a look at the
colors for guilds.
Reviewed-by: 4144
|
|
Conflicts:
src/gui/itempopup.cpp
src/item.cpp
src/monster.cpp
src/net/manaserv/playerhandler.cpp
src/net/tmwa/partyhandler.cpp
src/npc.cpp
src/player.cpp
src/resources/itemdb.cpp
src/resources/monsterdb.cpp
src/resources/monsterinfo.cpp
src/resources/npcdb.cpp
src/resources/spritedef.cpp
|
|
data/paths.xml configuration file.
Also added default gui theme path in branding and default wallpaper path
and file searched respectively in the branding and paths.xml files.
Hard-coded values are still used as fallbacks.
Resolves: Manasource Mantis #148.
Reviewed-by: jaxad0127.
|
|
Conflicts:
data/graphics/CMakeLists.txt
data/graphics/Makefile.am
src/client.cpp
|
|
There is no reason why error.xml shouldn't be in this repository, as it is used
when no sprite data is present and is a very small file anyways. Servers can
still replace these if they want to. error.png is only used in sprites, so
should be in the new sprites folder too.
Reviewed-by: 4144
|
|
Conflicts:
src/beingmanager.cpp
src/beingmanager.h
src/client.cpp
src/localplayer.cpp
|
|
|
|
This simplifies handling of target cursors, centralizing their logic into a
single class, instead of two. Also make them more flexible and move the image
files outside of the theme so servers can can control them and give them
better names.
Reviewed-by: Thorbjørn Lindeijer
|
|
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
Use it to hilight entries that we don't meet. Also make the entries in
that list higher, put server name and location on different lines, and
use the description below the list. The dialog is also resizable now.
Reviewed-by: Freeyorp
|
|
The source distribution is currently still made using autoconf, but now
you can build/install it using CMake as well.
Reviewed-by: Bernd Wachter
|
|
|
|
|
|
Themes can now control the colors they use. Colors in the Viewport (being
names, particles, etc) can still be changed by the user. Also make
ProgressBars more easily colored. DyePalette was made more flexible in the
process.
Also fixes comparing strings of different lengths insensitively.
Reviewed-by: Thorbjørn Lindeijer
|
|
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
|
|
|
|
|
|
The highlighted widgets don't match the theme... They go with the wood theme
So just replace them with a copy of their non-highlighted counterparts until
graphics can be done for them
No Review Needed, no code was changed, and no new art was created.
|
|
The older gray theme and the new wood theme are available as themes.
The gray theme needs some new graphics for hilights.
Add a theme option for branding and add path/to/branding/data to the
PhysFS search path.
Reviewed-by: Thorbjørn Lindeijer
Reviewed-by: Chuck Miller
|
|
From what I can find, it was never used.
|
|
No longer a dialog with an annoying progress bar (due to going back and
forth), but rather a progress indicator that integrates better with the
background.
|
|
|
|
|
|
I was just to remove a duplicate line...
|
|
radio buttons, tabs, checkboxes, slider and scrollbars
|
|
copyrighted image.)
|
|
drop shadow.
|
|
|
|
|
|
This reverts commit b571eb3e3df81cd259d53ab7219d198e00a75281.
People agree, it doesn't look better
|
|
|
|
Graphic by QOAL.
|
|
|
|
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.
|
|
|
|
|
|
|