git18 - tv now has background colours to make it far more legible
This commit is contained in:
parent
33e085cf88
commit
bf691fe9e7
|
@ -5,6 +5,7 @@ before alpha
|
||||||
fix default pathes up to sensible ones
|
fix default pathes up to sensible ones
|
||||||
catch index error, type error, file not found error
|
catch index error, type error, file not found error
|
||||||
update install instructions, include how to adapt default config and where to put it
|
update install instructions, include how to adapt default config and where to put it
|
||||||
|
add instructions how to reimport
|
||||||
split python requirements, get deep links for windows DL for everything
|
split python requirements, get deep links for windows DL for everything
|
||||||
GUI license info
|
GUI license info
|
||||||
|
|
||||||
|
@ -16,7 +17,6 @@ add fpdb version string into db to detect outdated db format.
|
||||||
before beta
|
before beta
|
||||||
===========
|
===========
|
||||||
optionally show single postflop agg/fold rate
|
optionally show single postflop agg/fold rate
|
||||||
seperation lines for tv
|
|
||||||
auto-import
|
auto-import
|
||||||
implement error file in importer
|
implement error file in importer
|
||||||
change to use different colours according to classification.
|
change to use different colours according to classification.
|
||||||
|
|
|
@ -835,7 +835,7 @@ far less relevant.</P>
|
||||||
<TR VALIGN=TOP>
|
<TR VALIGN=TOP>
|
||||||
<TD><P>wonAtSD</P></TD>
|
<TD><P>wonAtSD</P></TD>
|
||||||
<TD><P>float</P></TD>
|
<TD><P>float</P></TD>
|
||||||
<TD><P>As wonPostFlop, but for showdown.</P></TD>
|
<TD><P>As wonWhenSeenFlop, but for showdown.</P></TD>
|
||||||
</TR>
|
</TR>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|
|
@ -343,9 +343,9 @@ blabla""")
|
||||||
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
|
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
|
||||||
self.window.connect("delete_event", self.delete_event)
|
self.window.connect("delete_event", self.delete_event)
|
||||||
self.window.connect("destroy", self.destroy)
|
self.window.connect("destroy", self.destroy)
|
||||||
self.window.set_title("Free Poker DB - version: pre-alpha, git17")
|
self.window.set_title("Free Poker DB - version: pre-alpha, git18")
|
||||||
self.window.set_border_width(1)
|
self.window.set_border_width(1)
|
||||||
self.window.set_size_request(800,400)
|
self.window.set_size_request(950,400)
|
||||||
self.window.set_resizable(True)
|
self.window.set_resizable(True)
|
||||||
|
|
||||||
self.menu_items = (
|
self.menu_items = (
|
||||||
|
|
|
@ -132,8 +132,20 @@ class table_viewer (threading.Thread):
|
||||||
|
|
||||||
for row in range(len(arr)):
|
for row in range(len(arr)):
|
||||||
for column in range (len(arr[row])):
|
for column in range (len(arr[row])):
|
||||||
|
eventBox=gtk.EventBox()
|
||||||
new_label=gtk.Label(arr[row][column])
|
new_label=gtk.Label(arr[row][column])
|
||||||
self.data_table.attach(child=new_label, left_attach=column, right_attach=column+1, top_attach=row, bottom_attach=row+1)
|
if row%2==0: #
|
||||||
|
bg_col="white"
|
||||||
|
if column==0 or (column>=5 and column<=10):
|
||||||
|
bg_col="lightgrey"
|
||||||
|
else:
|
||||||
|
bg_col="lightgrey"
|
||||||
|
if column==0 or (column>=5 and column<=10):
|
||||||
|
bg_col="grey"
|
||||||
|
eventBox.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse(bg_col))
|
||||||
|
eventBox.add(new_label)
|
||||||
|
self.data_table.attach(child=eventBox, left_attach=column, right_attach=column+1, top_attach=row, bottom_attach=row+1)
|
||||||
|
eventBox.show()
|
||||||
new_label.show()
|
new_label.show()
|
||||||
#end def table_viewer.refresh_clicked
|
#end def table_viewer.refresh_clicked
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user