Commit Graph

296 Commits

Author SHA1 Message Date
HomeWorld
98c8ea2f03 Tweeked the appearence of ship browser items 2011-01-30 17:14:21 +02:00
HomeWorld
8796d62408 Disabled shipbrowser items animation (performance issues on some old PCs) - TODO: add option in preferences to enable anim 2011-01-25 18:14:55 +02:00
HomeWorld
540fc7361c Fixed a focus issue in shipbrowser when doing a search (it made the search edit ctrl go hide in a corner and start crying when displaying the search results) 2011-01-17 06:35:49 +02:00
HomeWorld
bac0e7f901 Do not process mouse left up if the cursor is not in sfbrowser item window 2011-01-17 06:09:02 +02:00
HomeWorld
6944f45c86 Added the year to fit item creation date, also use GetPartialText for fitLocalDate (so we don't have overlapping texts) 2011-01-16 21:16:08 +02:00
HomeWorld
838673e10b Make sure the load animation isn't shown when switching fast from stage 2 to other stage 2011-01-16 20:51:51 +02:00
HomeWorld
97643a28fc Fixed a visual bug in shipbrowser fit item selected state 2011-01-16 20:25:04 +02:00
HomeWorld
4b50c6bae9 Added visual confirmation for rename button (rename bitmap change) when fit name edit is shown / added the bitmap revert for focus lost/escape in fleetbrowser 2011-01-16 20:12:40 +02:00
HomeWorld
3474cd976f Added freeze/thaw to stage1 refresh 2011-01-16 19:04:01 +02:00
HomeWorld
4348e42bfb Fixed an oopsie in stage3, forgot to thaw when there are no more fits to be shown 2011-01-16 19:02:12 +02:00
HomeWorld
3c8cf23ff2 Do not allow copy/delete operations when ship name edit is shown 2011-01-16 18:43:04 +02:00
HomeWorld
2ea3c4dbe8 Removed some 'flickering' when dealing with stage3/4 operations 2011-01-16 18:31:17 +02:00
HomeWorld
07d70c2cc7 Added loading animation for shipbrowser stage 2 2011-01-16 15:19:00 +02:00
HomeWorld
4500c8e371 Code cleanup in shipBrowser.PFBitmapFrame 2011-01-14 18:13:39 +02:00
HomeWorld
e7815bf028 Code cleanup in shipbrowser.py - moved GetRoundShape and it support func to utils.drawUtils 2011-01-14 18:11:55 +02:00
HomeWorld
e41749fa13 Renamed SBItem class to SFBrowserItem; moved SFBrowserItem + support classes to sfBrowserItem.py, this class will also be used in fleet browser 2011-01-14 18:06:29 +02:00
HomeWorld
e8d871ec6b Little fix for shipbrowser items animation start value 2011-01-14 17:41:33 +02:00
HomeWorld
18b3fba941 Fixed a small oversight in shipbrowser - fititem 2011-01-14 15:45:32 +02:00
HomeWorld
17ecb34d85 Fixed some traceback (on wxgtk) caused by FitItem OnPaint (accessing vars that were not declared yet) 2011-01-14 14:21:24 +02:00
HomeWorld
f40b8e50b4 Code cleanup in shipbrowser 2011-01-14 11:26:34 +02:00
HomeWorld
1d5293fc63 Implemented DND for FitItem - shipbrowser 2011-01-14 11:20:07 +02:00
HomeWorld
e3cc3022f5 Completed animation stuff on all shipbrowser item types 2011-01-14 11:01:19 +02:00
HomeWorld
900b8e85eb Added missing font color change in ship/fit items - shipbrowser 2011-01-14 10:30:28 +02:00
HomeWorld
322d469d03 More tinkering to FitItem 2011-01-14 10:26:33 +02:00
HomeWorld
d0e9309e0e Paranoid check in case of fit delete, don't try to delete an already deleted fit (it may happen when clicking delete button very fast) 2011-01-14 00:25:21 +02:00
HomeWorld
8c64923c84 Switched back to old FitItem till python crash caused when deleting an item is sorted out 2011-01-13 21:43:13 +02:00
HomeWorld
f565b3010f Do not animate stuff while in stage 4 2011-01-13 21:36:25 +02:00
HomeWorld
cf3550b5bd Safety check in stage2 callback, we don't want stage 2 items to be shown in stage 1 2011-01-13 21:05:48 +02:00
HomeWorld
c76d7af05c Rewritten shipbrowser FitItem - basic functionality only (copy/delete) 2011-01-13 20:07:28 +02:00
HomeWorld
c082f3da9d Animate toolbar on load too - ShipItem 2011-01-13 18:36:51 +02:00
HomeWorld
550469f7ce Added small eye-candy stuff to ShipItem 2011-01-13 18:23:28 +02:00
HomeWorld
1181ef8168 Cleaned up shipitem DrawItem code 2011-01-13 17:27:51 +02:00
HomeWorld
fa18a621c1 Completed ShipItem class rewrite (it uses SBItem base class) 2011-01-13 16:18:51 +02:00
HomeWorld
6d78ad2529 * ~cncfanatics browses DarkPhoenix 2011-01-13 14:10:06 +02:00
HomeWorld
c48ea7297e Implemented basic button functionality for shipbrowser toolbar buttons 2011-01-13 12:09:09 +02:00
HomeWorld
d1981a1b14 Base classes for shipbrowser item toolbar (replacement for ugly buttons code) 2011-01-13 10:56:03 +02:00
HomeWorld
08906b0f5b Padded fit creation date in shipbrowser fit item as req. in ticket #369 2011-01-08 21:45:51 +02:00
HomeWorld
a24712ebf3 Fixed a little oversight, skip by default in base class 2011-01-03 11:45:33 +02:00
HomeWorld
d2c9ef8411 Moved common stuff of category/ship/fit item classes into SBItem class; Subclassed CategoryItem from SBItem 2011-01-03 11:42:20 +02:00
HomeWorld
a68eb1f80f Removed a little piece of no more used code in shipbrowser->categoryitem->onpaint 2011-01-03 10:48:57 +02:00
HomeWorld
99dbcf955e Experimental: show fit creation date/hour in shipbrowser stage 3 2010-12-22 19:40:23 +02:00
HomeWorld
c000e97603 Added middle click down as show fit in new tab for stage 3 2010-12-16 19:42:24 +02:00
HomeWorld
f623b72b94 Optimized the **** out of shipbrowser.(Category,Ship)Item gradient background drawing 2010-12-09 21:49:56 +02:00
HomeWorld
667433dee5 Optimized the **** out of shipbrowser.FitItem gradient background drawing 2010-12-09 19:43:20 +02:00
HomeWorld
668e0ff0b9 Cleanup in shipbrowser.FitItem.OnPaint - removed useless code 2010-12-09 18:13:02 +02:00
HomeWorld
7c4a63a81a Cleanup in shipbrowser items OnPaint (last step till final optimization) 2010-12-09 18:11:09 +02:00
HomeWorld
f18ca8991b Visual improvement of stage3 selected fit 2010-12-09 17:19:11 +02:00
HomeWorld
32f880148c Cleaned up useless coded in shipbrowser.FitItem.OnPaint 2010-12-09 17:04:05 +02:00
HomeWorld
79a524f7bb Moved duplicate code from shipbrowser items OnPaint in gui.utils.drawUtils 2010-12-09 16:55:41 +02:00
HomeWorld
059c0fd1c6 ShipBrowser: Gradients empire strikes back 2010-12-08 23:27:11 +02:00