Interface.tbl

From FreeSpace Wiki
Revision as of 05:23, 20 July 2012 by MjnMixael (talk | contribs) (Unused Table)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This table is not used by FreeSpace Open

Revision information.....

FSO Revision: 0000
Note: Please update the version when the page is updated. If your edit had nothing to do with new code entries then please do not edit the version


The interface.tbl is currently not used by the engine, but the format is being documented here for posterity.


List of Tables

General Info

  • A proposed system for a more moddable interface.

Format

  • Each section begins with the #SCREEN NAME or name of the menu to modify.
  • It is then followed by several entries for buttons and other graphics.

Note

  • This table is entirely theoretical.

Sample

#Screen Name

<Window>
	+Name:			Name
		+Coords:		x, y
		+Size:			x, y
	
	+Caption:		Animation Filename or Image. If Animation, Frame 1 is normal, Frame 2 is mouseover, Frame 3 is clicked, Frame 4 is selected/active, Frame 5 is Disabled
		+Mouseover:		Image Filename
		+Clicked:		Image Filename
		+Selected:		Image Filename
		+Disabled:		Image Filename
		+Coords:	x, y
	
	+Hider:		Animation Filename or Image. If Animation, Frame 1 is normal, Frame 2 is mouseover, Frame 3 is clicked, Frame 4 is selected/active, Frame 5 is Disabled
		+Mouseover:		Image Filename
		+Clicked:		Image Filename
		+Selected:		Image Filename
		+Disabled:		Image Filename
		+Coords:	x, y
		
	+Closer:		Animation Filename or Image. If Animation, Frame 1 is normal, Frame 2 is mouseover, Frame 3 is clicked, Frame 4 is selected/active, Frame 5 is Disabled
		+Mouseover:		Image Filename
		+Clicked:		Image Filename
		+Selected:		Image Filename
		+Disabled:		Image Filename
		+Coords:	x, y
		
	+Body:		Animation Filename or Image. If Animation, Frame 1 is normal, Frame 2 is mouseover, Frame 3 is clicked, Frame 4 is selected/active, Frame 5 is Disabled
		+Coords:	x, y

	+Border
		+Top Left:		Image Filename
		+Top Mid:		Image Filename
		+Top Right:		Image Filename
		+Mid Left:		Image Filename
		+Mid Right:		Image Filename
		+Bottom Left:	Image Filename
		+Bottom Mid:	Image Filename
		+Bottom Right:	Image Filename

	<Button>
		+Button:		Animation Filename or Image. If Animation, Frame 1 is normal, Frame 2 is mouseover, Frame 3 is clicked, Frame 4 is selected/active, Frame 5 is Disabled
			+Mouseover:		Image Filename
			+Clicked:		Image Filename
			+Selected:		Image Filename
			+Disabled:		Image Filename
			+Coords:	x, y
	</Button>
</Window>
	
#End