Commit Graph

1550 Commits

Author SHA1 Message Date
HomeWorld
e2a8874688 MSW can be a bitch when dealing with left clicks (sometimes a dbl click is generated, fixed module state switching, now its faster as it can gets 2010-12-11 02:04:09 +02:00
HomeWorld
2cac5adf8d Use stored bitmaps for viewcolumns headers (required to get a proper fitting view snapshot) 2010-12-11 00:45:09 +02:00
HomeWorld
d455c65412 NEVER EVER USE wx.ImageList.Draw with arg solidBackground=TRUE - it will fuck up the bitmap contained into it 2010-12-10 21:49:36 +02:00
HomeWorld
7c089faeb3 Removed useless code from fittingView.MakeSnapshot 2010-12-10 15:39:32 +02:00
HomeWorld
f623b72b94 Optimized the **** out of shipbrowser.(Category,Ship)Item gradient background drawing 2010-12-09 21:49:56 +02:00
HomeWorld
ff130f910c Fixed a little oopsie in gui.utils.drawUtils.DrawFilledBitmap 2010-12-09 19:52:16 +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
94ececb715 Added extra visual effect to pygauges (better looking gradients) 2010-12-09 16:15:39 +02:00
HomeWorld
fb3545ab0e Vaacum cleaned chromeTabs. 2010-12-09 16:00:10 +02:00
HomeWorld
03cf5f78c3 Removed an useless bitmap allocation in chromeTabs.tabsContainer.OnPaint 2010-12-09 15:34:12 +02:00
HomeWorld
7d1b51853f Removed an useless full refresh in chromeTabs.tabsContainer while inside EVT_MOTION 2010-12-09 15:31:32 +02:00
HomeWorld
bc38b225d4 Force shipbrowser focus when clicking on trackbar or inside it 2010-12-09 00:37:55 +02:00
HomeWorld
059c0fd1c6 ShipBrowser: Gradients empire strikes back 2010-12-08 23:27:11 +02:00
Corollax
054fdb522e Differentiate active/inactive tabs a bit more
Tiny values tweak.
2010-12-08 10:58:14 -06:00
HomeWorld
04fe5baa5a Cleaned up chromeTabs container OnPaint; several tweaks 2010-12-08 18:35:54 +02:00
HomeWorld
ee01d3e593 Changed the way chrometabs calculate its colors. Now it should look perfect on any theme. 2010-12-08 17:46:10 +02:00
HomeWorld
b5a1d51d1c Added a missing import in utils.colorUtils 2010-12-08 17:05:34 +02:00
HomeWorld
12976417e7 Added GetBrightness(O1/O2), GetSuitableColor methods in utils.colorUtils 2010-12-08 16:59:08 +02:00
HomeWorld
6a7d43cb84 Fixed a traceback in characterEditor caused when trying to add an implant while implants/booster tree has no item selected 2010-12-08 16:47:10 +02:00
HomeWorld
a73497a8d1 Added boundry check for colorUtils.DarkenColor 2010-12-08 15:00:24 +02:00
HomeWorld
5a46cefb14 Streamlined pygauge/pyfaGaugePreferences a little; moved common code in gui.utils.colorUtils - this module will be used soon everywhere where color processing is needed (shipbrowser/chrometabs..) 2010-12-08 14:54:06 +02:00
HomeWorld
cdba057ce3 Fixed gradient start color calculation in pygauges. Now the colors are scaled properly 2010-12-08 13:27:59 +02:00
HomeWorld
3ff31d20af Removed the clearItemImages method from gui.Display - there is no need for it since we now use CachingImageList 2010-12-07 20:20:06 +02:00
HomeWorld
cb5d89c35e Revert "Don't clear all items on populate if wanted in Display class. (default - clear all)"
This reverts commit 219c00ac57.
2010-12-07 20:16:32 +02:00
HomeWorld
219c00ac57 Don't clear all items on populate if wanted in Display class. (default - clear all) 2010-12-07 18:26:57 +02:00
HomeWorld
95edfb5496 Removed an useless statement in bultinViewColumns.tracking 2010-12-07 15:12:21 +02:00
HomeWorld
e3d4993854 Updated builtinViewColumns.tracking to use CachingImageList.GetImageIndex - the class was wrongly named (MaxRange) - changed its name to Tracking 2010-12-07 15:10:36 +02:00
HomeWorld
2155038589 Updated builtinViewColumns.propertyDisplay to use CachingImageList.GetImageIndex 2010-12-07 15:05:47 +02:00
HomeWorld
a092e39b8b Updated builtinViewColumns.price to use CachingImageList.GetImageIndex 2010-12-07 15:03:36 +02:00
HomeWorld
d5035de19f Updated builtinViewColumns.maxRange to use CachingImageList.GetImageIndex 2010-12-07 15:01:23 +02:00
HomeWorld
893f52a49d Updated builtinViewColumns.capacitorUse to use CachingImageList.GetImageIndex 2010-12-07 14:59:20 +02:00
HomeWorld
8008edd80b Updated builtinViewColumns.baseName to use CachingImageList.GetImageIndex 2010-12-07 14:56:09 +02:00
HomeWorld
b264f36761 Updated builtinViewColumns.baseIcon to use CachingImageList.GetImageIndex 2010-12-07 14:54:38 +02:00
HomeWorld
f34d038308 Updated builtinViewColumns.attributeDisplay to use CachingImageList.GetImageIndex 2010-12-07 14:49:58 +02:00
HomeWorld
7be2edc0f5 Updated builtinViewColumns.ammoIcon to use CachingImageList.GetImageIndex 2010-12-07 14:46:39 +02:00
HomeWorld
292b18b1a5 Updated builtinViewColumns.ammo to use CachingImageList.GetImageIndex 2010-12-07 14:42:25 +02:00
HomeWorld
0eda688351 Display class now uses CachingImageList instead of wx.ImageList; updated builtinViewColumns.state to use it properly 2010-12-07 14:35:37 +02:00
HomeWorld
8e3fd63225 Use CachingImageList.GetImageIndex for bitmaps that resides on FS, let wx.ImageList.Add deal with the rest (memory bitmaps) 2010-12-07 14:19:25 +02:00
HomeWorld
3979413a1d Optimized CachingImageList Add method 2010-12-07 13:34:14 +02:00
HomeWorld
dc096621e1 Added a gentle matplotlib version check in graphFrame 2010-12-07 10:21:22 +02:00
Corollax
ab26acbd9a Fix traceback on opening graphs
Resolves http://trac.evefit.org/ticket/341
2010-12-06 18:38:51 -06:00
Corollax
5602142e7f Final tweak to the pygauge colors
Made the red a little brighter, to differentiate it from the orange (Salmonish color was too close). Also checked to make sure that the pygauge preferences default colors matched what we were actually using.
2010-12-06 18:15:48 -06:00
Corollax
d5f6eb032b Merge branch 'master' of evefit.org:pyfa 2010-12-06 18:02:37 -06:00
HomeWorld
ea8678e094 Pyfa remembers window state (maximized/normal) + more sanity checks in SettingsProvider.getSettings - fill in missing keys with default values 2010-12-07 02:02:36 +02:00
Corollax
5e1c061a52 Bright green is bright.
New green is less bright. But equally shiny. Shiny...
2010-12-06 18:02:14 -06:00