TABLE OF CONTENTS


Dialogs/Dialogs.Mouse_X_Position [ Variables ]

[ Top ] [ Dialogs ] [ Variables ]

FUNCTION

 The current mouse position in X coordinates

SOURCE

   Mouse_X_Position: Natural := 0;

Dialogs/Dialogs.Timer_Id [ Variables ]

[ Top ] [ Dialogs ] [ Variables ]

FUNCTION

 Id of timer for auto close command

SOURCE

   Timer_Id: Unbounded_String := Null_Unbounded_String;

Dialogs/Dialogs.Get_Mouse_X_Position [ Subprograms ]

[ Top ] [ Dialogs ] [ Subprograms ]

FUNCTION

 Get the X position of the mouse pointer

SOURCE

   function Get_Mouse_X_Position return Natural is

RESULT

 The X axis position of the mouse pointer

Dialogs/Dialogs.Get_Mouse_Y_Position [ Subprograms ]

[ Top ] [ Dialogs ] [ Subprograms ]

FUNCTION

 Get the Y position of the mouse pointer

SOURCE

   function Get_Mouse_Y_Position return Natural is

RESULT

 The Y axis position of the mouse pointer

Dialogs/Dialogs.Get_Timer_Id [ Subprograms ]

[ Top ] [ Dialogs ] [ Subprograms ]

FUNCTION

 Get the Id of the auto close timer

SOURCE

   function Get_Timer_Id return Unbounded_String is

RESULT

 The Id of the auto close timer

Dialogs/Dialogs.Mouse_Y_Position [ Subprograms ]

[ Top ] [ Dialogs ] [ Subprograms ]

FUNCTION

 The current mouse position in Y coordinates

SOURCE

   Mouse_Y_Position: Natural := 0;

Dialogs/Dialogs.Set_Timer_Id [ Subprograms ]

[ Top ] [ Dialogs ] [ Subprograms ]

FUNCTION

 Set the Id of the auto close timer

SOURCE

   procedure Set_Timer_Id(New_Value: Unbounded_String) is

PARAMETERS

 New_Value - the new Id for the auto close timer

Dialogs/Set_Mouse_X_Position [ Subprograms ]

[ Top ] [ Dialogs ] [ Subprograms ]

FUNCTION

 Set the X position of the mouse pointer

SOURCE

   procedure Set_Mouse_X_Position(New_Value: Natural) is

PARAMETERS

 New_Value - the new value for mouse pointer X position

Dialogs/Set_Mouse_Y_Position [ Subprograms ]

[ Top ] [ Dialogs ] [ Subprograms ]

FUNCTION

 Set the Y position of the mouse pointer

SOURCE

   procedure Set_Mouse_Y_Position(New_Value: Natural) is

PARAMETERS

 New_Value - the new value for mouse pointer X position

Dialogs/Dialogs.Move_Dialog_Command [ Commands ]

[ Top ] [ Dialogs ] [ Commands ]

FUNCTION

 Move the selected dialog around

SOURCE

   function Move_Dialog_Command
     (Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
      Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
      Convention => C;

PARAMETERS

 Client_Data - Custom data send to the command.
 Interp      - Tcl interpreter in which command was executed.
 Argc        - Number of arguments passed to the command.
 Argv        - Values of arguments passed to the command.

RESULT

 This function always return TCL_OK

COMMANDS

 MoveDialog dialogname x y
 Dialogname is name of the dialog to move, x and y are the current
 position of the mouse to count where to move the dialog

Dialogs/Dialogs.Set_Mouse_Position_Command [ Commands ]

[ Top ] [ Dialogs ] [ Commands ]

FUNCTION

 Set the mouse position

SOURCE

   function Set_Mouse_Position_Command
     (Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
      Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
      Convention => C;

PARAMETERS

 Client_Data - Custom data send to the command. Unused
 Interp      - Tcl interpreter in which command was executed.
 Argc        - Number of arguments passed to the command. Unused
 Argv        - Values of arguments passed to the command.

RESULT

 This function always return TCL_OK

COMMANDS

 SetMousePosition x y
 X and Y are current position of the mouse

Dialogs/Dialogs.Update_Dialog_Command [ Commands ]

[ Top ] [ Dialogs ] [ Commands ]

FUNCTION

 Update countdown timer on the selected dialog. If timer reach 0, close
 dialog

SOURCE

   function Update_Dialog_Command
     (Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
      Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
      Convention => C;

PARAMETERS

 Client_Data - Custom data send to the command.
 Interp      - Tcl interpreter in which command was executed.
 Argc        - Number of arguments passed to the command.
 Argv        - Values of arguments passed to the command.

RESULT

 This function always return TCL_OK

COMMANDS

 UpdateDialog dialogname
 Dialogname is name of the dialog to update

UUI/UUI.Get_String_Command [ Commands ]

[ Top ] [ UUI ] [ Commands ]

FUNCTION

 Get string value from the player, like new ship or module name

SOURCE

   function Get_String_Command
     (Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
      Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
      Convention => C;

PARAMETERS

 Client_Data - Custom data send to the command. Unused
 Interp      - Tcl interpreter in which command was executed. Unused
 Argc        - Number of arguments passed to the command. Unused
 Argv        - Values of arguments passed to the command.

RESULT

 This function always return TCL_OK

COMMANDS

 GetString caption closeaction title okbutton
 Caption is the text showed above entry field in the dialog, variable
 is the variable which will be set, title is the title of the dialog and
 okbutton is the text which will be displayed on the confirmation
 button