rijalati / raptor-chess-interface

Automatically exported from code.google.com/p/raptor-chess-interface
0 stars 0 forks source link

Adding a less than equal to to rating in bot the Seek Table and the Bughouse Partner Table screens. #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
You can follow the example for the greater than equal to.
Make a preference in raptor.pref.PreferenceKeys for less than for both screens.
Use the naming convention the screens used for the greater than equal to
rating.
Set the defaults for the preferences in raptor.pref.RaptorPreferenceUtils
like the defaults for greater than equal to rating are set.
Change the screens in raptor.swt.BugPartnersWindowItem and
raptor.swt.SeekTableWindowItem to add the new combs with the preference
settings.

It should be straight forward you can just follow what I did for the >=
and add it to the left of the rating label, ie. create the control before
the Rating label is created. Possible make the rating label '>= Rating >='.

Original issue reported on code.google.com by carsonday on 19 Oct 2009 at 11:44

GoogleCodeExporter commented 9 years ago

Original comment by John.Nahlen on 20 Oct 2009 at 4:53

GoogleCodeExporter commented 9 years ago
Looks good thanks for the change

Original comment by carsonday on 21 Oct 2009 at 1:54