Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Programming models in graphical chess interfaces

Author: Reinhard Scharnagl

Date: 14:44:13 02/18/06

Go up one level in this thread


On February 18, 2006 at 17:03:37, Federico Corigliano wrote:

>I'm doing my first steps in graphical programming and I need some help to
>understand how chess interfaces such as Arena are made.
>A friend tell me that all the communication between windows and internal process
>is made with the Document/View model. Is that right? If not, what model is used
>to coordinate all the communication between board, move history windows, chess
>engine process, etc.

Hi Federico,

in my opinion the specialized document / view model does not fit best, because
you are visualizing rather a process than a document (or a not self changing
amount of data). So I myself prefer the native generalized event driven windows
view, as it is done more obviously e.g. in Borland Delphi or in C++ Builder.

That way I built my SMIRF GUI and engine pair.

But finally it will depend on your style of programming and the way you use
existing / known frameworks.

Reinhard.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.