Commit graph

30 commits

Author SHA1 Message Date
ingmargoudt
2b91b88551 fixing some additional singleton classes 2017-03-16 09:48:02 +01:00
ingmargoudt
d966c82019 change enum equals to == for client 2017-03-01 17:03:11 +01:00
vraskulin
076840df53 Big refactoring
I used Intellij IDEA to automatically refactor code to achive 3 goals.
1) get rid of anonymouse classes, and replace the with lamba to get more readeable and clean code (like in TableWaitingDialog).
2) make effectively final  variables actually final to avoid inadvertent changes on it in further releases and keep objects as immutable, as possible.
3)  Get rid of unused imports (most of the changes) in whole project classes.
2017-01-09 19:16:53 +03:00
LevelX2
e04c82a227 Some more changes to GUI to better support high screen resolutions. 2016-02-21 11:30:12 +01:00
LevelX2
532d4e0af0 * Added automatic handling for order of triggered abilities going to stack (fixes #701 / related to #328). 2015-08-22 19:29:57 +02:00
LevelX2
e2625fd60e * Show card pick dialog - Fixed a bug that the select window was hidden if you clicked and released the mouse button on the edges of the window. 2015-08-18 12:29:57 +02:00
LevelX2
87f919ecac * Reworked handling of revealed and look at windows. Windows can stay open now and moved to a position and stay there. 2015-06-21 23:49:16 +02:00
magenoxx
60d04e2614 [UI] Showing choosable cards in dialog - Issue#456 2014-07-15 16:31:41 +04:00
LevelX2
c40dd7fb4b * Select card window - Fixed a bug that the window (also if reqiured) was closed, if you clicked on the frame of the window (e.g. to resize). Now the window is not closed in this case and can also be resized (fixes #100). However if the target is not set to required, the window is not modal and clicking anywhere beside the window, will still close the window without having made a selection. 2014-03-27 17:05:29 +01:00
LevelX2
f2cf060b21 * Client memory - Some more changes to maximize objects for gc. 2014-02-14 15:15:04 +01:00
LevelX2
b92a2c83b9 * Memory leaks - removed some more memory leaks for match / game handling. 2014-02-11 02:23:13 +01:00
LevelX2
0a18a7bea6 Removed majority of memory leaks from game / editor / dialog handling. 2014-02-02 21:57:02 +01:00
LevelX2
facfc6f1ce Added tooltip to window titel bar to show longer titels of windows at least as tooltip. 2012-11-09 01:28:28 +01:00
magenoxx
b5032226f4 Showing already chosen cards in choice dialog 2012-06-27 18:44:03 +04:00
magenoxx
8f0159d706 Displaying tooltips over card choice dialogs 2012-06-27 17:34:58 +04:00
North
239a4fb100 [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
BetaSteward
d79cbcb54f fixes 2012-02-09 15:58:14 -05:00
BetaSteward
6205ebaeb9 fixed Liliana Of The Veil npe when targeting tokens + added choose pile dialog 2012-02-07 15:15:47 -05:00
BetaSteward
aecdbe0778 added SimpleCardView - will reduce the amount of data passed between client and server 2011-08-22 13:54:55 -04:00
magenoxx
cbf8f02df3 Compilation fix 2011-08-10 12:27:13 +04:00
magenoxx
86d27d84bb Closing dialog in feedback "Cancel". Displaying dialog on the center. 2011-08-09 13:08:55 +04:00
magenoxx
af2c69b449 Fixed too many pick ability dialogs opened. Fixed Issue 178. 2011-08-09 12:31:00 +04:00
BetaSteward
d8fca737fd added some client window management + suppress calls when TablesPane is not visible 2011-06-07 22:32:58 -04:00
magenoxx
2abc0e888d Reduced hand cards size. Removed battlefield card area gap (cards now have more place and are less reduced in size). 2011-01-29 20:03:22 +03:00
BetaSteward
360bbc86b5 modifed revealed cards 2011-01-24 22:51:45 -05:00
magenoxx
56eff16857 Collection Viewer. 2011-01-09 03:03:19 +03:00
magenoxx
55957f17a0 Fixed Issue 15: Graveyard card list becomes unavailable 2010-12-22 00:17:18 +03:00
magenoxx
0211787433 Fixed arrows displayed under dialogs. Since now card.plugin is used in ShowCardsDialog. Added sourceCard to AbilityView (required for source arrows). 2010-11-28 21:10:31 +00:00
magenoxx
9eb8b0e487 Interfaces and abstract classes for Mage.Card.Plugin. Replaced creating permanent by calling plugin manager that returns old implementation but new is also possible since now. 2010-11-03 06:59:55 +00:00
magenoxx
f775f7c511 Moved /src and /resources to maven stardard /src/main/java and /src/main/resources. Hope it's ok, if not I'll revert. 2010-10-22 12:40:50 +00:00
Renamed from Mage.Client/src/mage/client/dialog/ShowCardsDialog.java (Browse further)