Commit Graph

113 Commits

Author SHA1 Message Date
DarkPhoenix
30729ecdee Add controllable number of decimal places for gauge percentages 2010-09-05 19:58:47 +04:00
DarkPhoenix
e6f24eaae5 Rework functions in util.py 2010-09-05 17:41:09 +04:00
HomeWorld
0b5c5efec3 Reworked the Resistances section: moved the incoming dmg profile stats at the end of Resistances section and have it separated from ship resistance stats 2010-09-04 23:12:33 +03:00
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
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
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
cdb81fa93d Add align time 2010-09-03 23:33:36 +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
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
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
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
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
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
HomeWorld
31c59494c3 Aligning turrets/missiles/calibration values to left as suggested in 3) ticket #1 2010-09-01 19:15:27 +03:00
HomeWorld
97ae575371 Added measurement units to pg/cpu/dronebay/dronebandwidth as suggested in 5) ticket #1 2010-09-01 19:05:30 +03:00
HomeWorld
9a39dd4064 Revert "Added measurement units to pg/cpu/dronebay/dronebandwidth as suggested in 5) ticket #1"
This reverts commit f527253573.
2010-09-01 18:51:01 +03:00
HomeWorld
f527253573 Added measurement units to pg/cpu/dronebay/dronebandwidth as suggested in 5) ticket #1 2010-09-01 18:45:15 +03:00
HomeWorld
4e3e3e1638 Fixed an unwanted behavior of collapsible pane (it shows by default a pane - fix:sized to 0x0) affecting statspane view; Added Widget Inspection Tool in menu - should help debugging UI stuff if needed 2010-09-01 17:08:56 +03:00
cncfanatics
8720c7232d Display the whole stability range 2010-08-30 18:28:04 +02:00
HomeWorld
7c15fa557f Small fix in statspane -- removed duplicate staticline in minipanel 2010-08-30 17:03:32 +03:00
cncfanatics
a3f66cd5f8 Add a check for fit is None 2010-08-30 12:22:03 +02:00
cncfanatics
5b21379216 Fix a bug in the mini stats display 2010-08-29 21:25:15 +02:00
cncfanatics
918a8d5f87 Update eos version and use effecitve sustainable instead of sustainable for stats display 2010-08-29 21:09:53 +02:00
cncfanatics
146bda03fa Don't forget to check if fit is None 2010-08-29 16:42:14 +02:00
cncfanatics
97b8854f88 Finish the mini stats display, move the shorten function to a seperate file. 2010-08-29 15:25:14 +02:00
cncfanatics
01c3a2e87a Do sanity checking before fitting a module 2010-08-29 14:10:18 +02:00