Civ game

MA Dunzi tadalunch@s5.xrea.com
Sat Sep 21 07:07:00 GMT 2002


  | First, BWidget distorts all listboxes by halving the widths of the scroll
  | bars (this is under Mac and Windows - I haven't checked Linux yet). Could
  | we disable or exclude the listbox code in BWidget and still keep tree
  | widget support?

I have just started using BWidget and can not explain BWidget.
I will examine it.

  | Second, it seems that the tree widget only works for a few advances right
  | now. Most advances fail to display a tree, and if you click on them the
  | tree widget just switches to the next advance in the list.

I thought it managed to work. 
I should have checked my last patch carefully.

  | Third, is the new file advance-needed-to-research.txt really necessary? It
  | should be possible to extract this info from the
  | aa_advance_needed_to_research table. If advances.g is changed in the future
  | without updating this other file as well, things will get messed up.

the new file advance-needed-to-research.txt is not necessary.
I created it from civ2.g with some scripts, becourse I didn't know the way to get 
an aa_advance_needed_to_research table from Tcl.

  | Fourth, since BWidget is not part of the standard tcltk package, making
  | xconq dependent on it will reduce the number of people who can install and
  | run xconq. One possible solution, if BWidget really is needed for the tree
  | widget, could of course be to include BWidget (or the tree widget part of
  | it) in the xconq for tcltk packages, just like libcurses is included in the
  | cconq (xconq for curses) package.

I am not sure BWidget is the best solution.
but BWidget have widgets that i would like to use in tkconq.tcl.
for example, NoteBook, MainFrame, TitleFrame, SelectFont, ProgressBar, Tree.
I think it is a good idea to include BWidget in xconq.

  | I therefore suggest that you check in your clickable link code (the first
  | patch that you posted updated with the "set cnt $cnt+1" fixes) as soon as

I saw the thread(Subject: Civ game), and I searched for HTML-related widgets and found some.
HelpSystem <http://midc.miem.edu.ru/HelpSystem/index.php>
An HTML Widget for Tcl/Tk <http://www.hwaci.com/sw/tkhtml/index.html>
Scrolledhtml(incr Tcl) <http://incrtcl.sourceforge.net/iwidgets/iwidgets/scrolledhtml.html>
What do you think about these widgets?

-- 
MA Dunzi <tadalunch@s5.xrea.com> http://tadalunch.s5.xrea.com/xconq/index.html



More information about the Xconq7 mailing list