Author Topic: Understanding The Layout System  (Read 1192 times)

Adz

  • Newbie
  • *
  • Posts: 22
    • View Profile
Understanding The Layout System
« on: June 19, 2008, 06:49:50 AM »
Hi, the layouts are in HTML? am I right?

I am fluent in HTML and Graphic Design and so I want to make a layout but the program is confusing me.. can you not preview layouts while you build them? or do you have to keep switching backwards and forwards? I opened a .TLO file and see that it is made up with HTML code but it is not formatted.

How do you guys go about making a layout?

Another thing I noticed is under the layout section I can only select pages Main and Rules, but there is a seating chart page that is not on the list but it rotates on the main screen..

badbeat

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Re: Understanding The Layout System
« Reply #1 on: June 19, 2008, 07:08:12 AM »
For other areas/options look at global and other properties. (You don't need to know html to make your own layouts, but a basic understanding always helps)
« Last Edit: June 19, 2008, 07:10:23 AM by badbeat »

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5429
    • View Profile
Re: Understanding The Layout System
« Reply #2 on: June 24, 2008, 11:37:21 AM »
Adz - with version 2.5 and later, you can "preview" while you work on a layout.  This is possible because the Settings Window is separate from the Game Window, so you can edit the layout in the Settings Window while the Game Window displays the layout.

You can lock the Game Window on the particular screen you are working on in one of two ways: press Ctrl+L when the screen you want to work on is displayed in the Game Window, or use the numbers keys 1-9 to select a particular screen and automatically engage the screen lock.

The Seating Chart, Player Rankings, Blinds Schedule, and Player Movements Screens are all "built-in" screens.  You can modify properties of them, but not the overall layout of them.  You display them by visiting them directly (using the context menu, or hotkeys F3 through F6), or by including them in your layout's Screen Sets.  You can modify their properties by using the context menu when the particular built-in screen is displayed, or on the Layout tab by pressing the Other Properties button.

The cells themselves contain HTML, yes, but the overall structure of the screen is defined by how you arrange the cells using rows and columns on the Layout tab.  You cannot define the entire page using your own HTML because frankly it would cause the rendering engine in Internet Explorer to slow to a crawl as the page is updated.

Or, actually you can if you want to give it a try.  Just create a single cell, and insert it as the only cell on the screen inside a single Row or Column.  Insert all of the HTML you want in there, including as many layout tokens as you need.  Every time something on the screen changes (and this will be once per second if you have the game clock or the time of day displayed), the entire screen will have to be re-parsed and re-rendered.  It will not be zippy.

I suggest checking out the user manual included with the software.  It should have most everything you need to know about layouts.