Commit Graph

294 Commits

Author SHA1 Message Date
cncfanatics
8ee2f651be Revert "Remove the call to GetTextExtents and try to align in another way (that won't crash macs)"
This reverts commit 1a9517071e.
2010-09-04 20:15:54 +02:00
cncfanatics
c571bcb450 Move import * statement to top level 2010-09-04 20:13:16 +02:00
cncfanatics
7458a05802 Don't create a dummy dc, instead call GetTextExtend on the pannel itself 2010-09-04 20:04:32 +02:00
cncfanatics
1a9517071e Remove the call to GetTextExtents and try to align in another way (that won't crash macs) 2010-09-04 19:58:42 +02:00
cncfanatics
9d78284581 Move everything related to column displays to a seperate class 2010-09-04 19:23:12 +02:00
DarkPhoenix
893c48812f Fix PG measure units. We should use values taken from db actually... 2010-09-04 12:47:57 +04:00
DarkPhoenix
5257b0a51d Use 4th precision for cpu and pg as for the most important fitting attributes 2010-09-04 03:42:24 +04:00
DarkPhoenix
85aa5e4ebc Move to new format in ViewColumns and suffixize drone bay and bandwidth 2010-09-04 03:40:50 +04:00
DarkPhoenix
604258fff4 Make use of new shorten() settings to show more actual info 2010-09-04 03:23:52 +04:00
cncfanatics
9dc7fe6d08 Fix item removal using wrong indice 2010-09-03 23:57:46 +02:00
cncfanatics
a76f4198ab do fitting view sorting on the python side 2010-09-03 23:50:38 +02:00
cncfanatics
cdb81fa93d Add align time 2010-09-03 23:33:36 +02:00
cncfanatics
41909ae9de Block the OnEraseBackground method from redrawing anything to reduce flicker (hopefully) 2010-09-03 22:57:11 +02:00
cncfanatics
f0cc5a0afd Align EHP in the center, not left 2010-09-03 22:38:59 +02:00
cncfanatics
0e3be7e322 Fix inconsistent indent 2010-09-03 22:27:16 +02:00
cncfanatics
6014e0c62d Commit the base of the drone stuff. Next step: making adding drones actualy work! :D 2010-09-03 22:05:26 +02:00
HomeWorld
0574217303 Fix attempt #2 for misalignment of EHP values (on linux boxes) 2010-09-03 22:22:37 +03:00
HomeWorld
3c130635c8 Fix attempt for misalignment of EHP values (on linux boxes) 2010-09-03 21:56:16 +03:00
HomeWorld
d4c0975024 Fixed the misalignment described in ticket #1 section 7 2010-09-03 20:35:05 +03:00
HomeWorld
f333454e38 Added tooltips for the rest of statictext controls (~90%) 2010-09-03 14:19:36 +03:00
HomeWorld
98d638adba Added tooltips for EHP statictext controls 2010-09-03 14:00:25 +03:00
HomeWorld
eb72b18a07 Added tooltips to gauges that shows the true values 2010-09-03 13:48:17 +03:00
HomeWorld
8985e3a830 Fixed alignment of hardpoints/calib statictext sizer ->aligned to left 2010-09-03 13:38:00 +03:00
HomeWorld
1ed04eb3bd Tweeked pg/cpu/drone.. gauges size accordingly with the modified version of util.shorten func 2010-09-03 13:26:26 +03:00
cncfanatics
6d5f64fc02 More unit tweaks 2010-09-03 12:12:22 +02:00
cncfanatics
41fab277ae Use more precise ehp values (1 decimal instead of zero) 2010-09-03 12:08:52 +02:00
cncfanatics
6ba7cb7a32 Revert "Using the worst case scenario for pg statictext size to size the gauges"
This reverts commit 528eb93681.
2010-09-03 12:06:03 +02:00
HomeWorld
528eb93681 Using the worst case scenario for pg statictext size to size the gauges 2010-09-03 12:57:48 +03:00
HomeWorld
fbcf416572 Setting statspane font size to 8 2010-09-03 12:42:22 +03:00
HomeWorld
359743785f Sanity check in marketBrowser:selectionMade , sometimes the value returned by treectrl.GetSelection can be invalid 2010-09-03 11:27:01 +03:00
HomeWorld
5f6198df01 Fixed a rare occurrence where an attribute from stats can be None, do the sanity check first before throwing the value to shorten func; cleaned up some commented lines 2010-09-03 10:23:54 +03:00
HomeWorld
302e9b84d3 Revert "Fixed a rare occurance where an attribute from stats can be None, do the sanity check first before throwing the value to shorten func; cleaned up some commented lines"
This reverts commit 3265b1db8a.
2010-09-03 10:21:50 +03:00
HomeWorld
3265b1db8a Fixed a rare occurance where an attribute from stats can be None, do the sanity check first before throwing the value to shorten func; cleaned up some commented lines 2010-09-03 10:18:09 +03:00
HomeWorld
59a27f96e7 Resized pg/cpu/drone.. gauges to prevent unwanted missalignment caused by cpu/pg highest values (fit a titan pls :) ) 2010-09-03 00:51:31 +03:00
HomeWorld
4b4d09243f Increased the minsize of fullpanel, seems that bestsize + 20 wasnt enough 2010-09-03 00:27:38 +03:00
HomeWorld
1b6f74bef7 The full and mini panel minimum size is set right after content is added at class init time to their best size (GetBestSize + 20 px) 2010-09-03 00:20:46 +03:00
HomeWorld
f14c41dc7b Added getTextExtentW - returns the width in pixels for a given string, replaced hardcode values previously introduced by my last 2 commits with this function. This is a sane way to always have the right control size no matter what font is used 2010-09-02 23:45:12 +03:00
cncfanatics
327a9912a5 Merge branch 'master' of evefit.org:pyfa 2010-09-02 21:46:11 +02:00
cncfanatics
71fe50bfcc Don't register EVT_NOTEBOOk_CHANGED on the mainframe, but on OURSELVES .. Seriously, wtf ? 2010-09-02 21:45:40 +02:00
HomeWorld
8c461d74c1 Dirty little hack in StatsPane:Resists:EHP to prevent unwanted resize of sizers EHP StaticText have fixed size(32) ^^ 2010-09-02 22:18:45 +03:00
HomeWorld
1ae846af0c Dirty little hack in StatsPane:Resources (pg/cpu/calib) to prevent unwanted resize of sizers ^^ 2010-09-02 21:19:23 +03:00
cncfanatics
d9aa83c507 Merge branch 'master' of evefit.org:pyfa 2010-09-02 18:42:26 +02:00
HomeWorld
b2b1e27872 A little waxing job applied to StatsPane:Resources (pg/cpu/drone.. icons now are on the same line (align_bottom) with their coresponding gauges; gauges size increased to approx. the same size of icons) 2010-09-02 19:00:53 +03:00
cncfanatics
647ddbccf7 Add a Booster, Drone, Implant & Projected view in the additions pane (dummies for now) 2010-09-02 17:04:08 +02:00
cncfanatics
63006d62c3 Throw FIT_CHANGED when tab changes and the new tab is a fit 2010-09-02 15:15:36 +02:00
cncfanatics
06e76a2cea Add a collapsible additions pane for stuff like drones, implants, boosters, etc. 2010-09-02 13:18:56 +02:00
cncfanatics
28a37ee15e Use shorten in our columns so we don't display silly big amounts 2010-09-02 12:33:35 +02:00
HomeWorld
84b06630c8 Revert "Aligning turrets/missiles/calibration values to left as suggested in 3) ticket #1"
This reverts commit 31c59494c3.
2010-09-02 02:37:51 +03:00
cncfanatics
06ab4dab0b Merge branch 'master' of evefit.org:pyfa 2010-09-01 18:19:05 +02:00
HomeWorld
31c59494c3 Aligning turrets/missiles/calibration values to left as suggested in 3) ticket #1 2010-09-01 19:15:27 +03:00