TABLE OF CONTENTS
- 1. SUI/SUI.Sort_Missions_Command
- 2. SUI/SUI.Sort_Killed_Command
- 3. SUI/SUI.Sort_Goals_Command
- 4. SUI/SUI.Sort_Destroyed_Command
- 5. SUI/SUI.Sort_Crafting_Command
- 6. SUI/SUI.Set_Sorting_Order
- 7. SUI/SUI.Missions_Sort_Order
- 8. SUI/SUI.Missions_Indexes
- 9. SUI/SUI.Killed_Sort_Order
- 10. SUI/SUI.Killed_Indexes
- 11. SUI/SUI.Goals_Sort_Order
- 12. SUI/SUI.Goals_Indexes
- 13. SUI/SUI.Destroyed_Sort_Order
- 14. SUI/SUI.Destroyed_Indexes
- 15. SUI/SUI.Crafting_Sort_Order
- 16. SUI/SUI.Crafting_Indexes
- 17. SUI/SUI.Default_List_Sort_Order
- 18. SUI/SUI.Sorting_Data
- 19. SUI/SUI.Sorting_Array
- 20. SUI/SUI.Lists_Sort_Orders
SUI/SUI.Lists_Sort_Orders [ Types ]
FUNCTION
Sorting orders for the various lists
SOURCE
type List_Sort_Orders is (NAMEASC, NAMEDESC, AMOUNTASC, AMOUNTDESC, NONE) with Default_Value => NONE;
OPTIONS
NAMEASC - Sort list by name ascending NAMEDESC - Sort list by name descending AMOUNTASC - Sort list by amount ascending AMOUNTDESC - Sort list by amount descending NONE - No sorting list (default)
HISTORY
6.5 - Added 6.6 - Changed to List_Sort_Orders
SUI/SUI.Sorting_Array [ Types ]
FUNCTION
Array used to sort various lists
SOURCE
type Sorting_Array is array(Positive range <>) of Sorting_Data;
SUI/SUI.Sorting_Data [ Records ]
FUNCTION
Data structure used to sort various lists
SOURCE
type Sorting_Data is record Name: Unbounded_String; Amount: Positive; Id: Positive; end record;
PARAMETERS
Name - The name of the item (mission, goal, crafting order, etc) Amount - The amount of the item (mission, goal, crafting order, etc) Id - The index of the item on the list
HISTORY
6.6 - Added
SUI/SUI.Default_List_Sort_Order [ Constants ]
FUNCTION
Default sorting order for the various lists
SOURCE
Default_List_Sort_Order: constant List_Sort_Orders := NONE;
HISTORY
6.5 - Added 6.6 - Changed to Default_List_Sort_Order
SUI/SUI.Crafting_Indexes [ Variables ]
FUNCTION
Indexes of the finished crafting orders
SOURCE
Crafting_Indexes: Positive_Container.Vector;
SUI/SUI.Crafting_Sort_Order [ Variables ]
FUNCTION
The current sorting order for the list of finished crafting orders
SOURCE
Crafting_Sort_Order: List_Sort_Orders := Default_List_Sort_Order;
HISTORY
6.5 - Added
SUI/SUI.Destroyed_Indexes [ Variables ]
FUNCTION
Indexes of the destroyed ships
SOURCE
Destroyed_Indexes: Positive_Container.Vector;
SUI/SUI.Destroyed_Sort_Order [ Variables ]
FUNCTION
The current sorting order for the list of destroyed enemy ships
SOURCE
Destroyed_Sort_Order: List_Sort_Orders := Default_List_Sort_Order;
HISTORY
6.6 - Added
SUI/SUI.Goals_Indexes [ Variables ]
FUNCTION
Indexes of the finished goals
SOURCE
Goals_Indexes: Positive_Container.Vector;
SUI/SUI.Goals_Sort_Order [ Variables ]
FUNCTION
The current sorting order for the list of finished goals
SOURCE
Goals_Sort_Order: List_Sort_Orders := Default_List_Sort_Order;
HISTORY
6.6 - Added
SUI/SUI.Killed_Indexes [ Variables ]
FUNCTION
Indexes of the killed mobs
SOURCE
Killed_Indexes: Positive_Container.Vector;
SUI/SUI.Killed_Sort_Order [ Variables ]
FUNCTION
The current sorting order for the list of killed enemies
SOURCE
Killed_Sort_Order: List_Sort_Orders := Default_List_Sort_Order;
HISTORY
6.6 - Added
SUI/SUI.Missions_Indexes [ Variables ]
FUNCTION
Indexes of the finished missions
SOURCE
Missions_Indexes: Positive_Container.Vector;
SUI/SUI.Missions_Sort_Order [ Variables ]
FUNCTION
The current sorting order for the list of finished missions
SOURCE
Missions_Sort_Order: List_Sort_Orders := Default_List_Sort_Order;
HISTORY
6.5 - Added
SUI/SUI.Set_Sorting_Order [ Subprograms ]
[ Top ] [ SUI ] [ Subprograms ]
FUNCTION
Set sorting order for the selected list
SOURCE
procedure Set_Sorting_Order (Sorting_Order: in out List_Sort_Orders; Column: Positive) is
PARAMETERS
Sorting_Order - The sorting order to set Column - The column in ttk_tree_view whith was clicked
OUTPUT
Parameter Sorting_Order
HISTORY
6.6 - Added
SUI/SUI.Sort_Crafting_Command [ Commands ]
FUNCTION
Sort the list of finished crafting orders
SOURCE
function Sort_Crafting_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
SortFinishedCrafting x X is the number of column where the player clicked the mouse button
SUI/SUI.Sort_Destroyed_Command [ Commands ]
FUNCTION
Sort the list of destroyed enemy ships
SOURCE
function Sort_Destroyed_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
SortDestroyedShips x X is the number of column where the player clicked the mouse button
SUI/SUI.Sort_Goals_Command [ Commands ]
FUNCTION
Sort the list of finished goals
SOURCE
function Sort_Goals_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
SortFinishedGoals x X is the number of column where the player clicked the mouse button
SUI/SUI.Sort_Killed_Command [ Commands ]
FUNCTION
Sort the list of killed enemies
SOURCE
function Sort_Killed_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
SortKilledEnemies x X is the number of column where the player clicked the mouse button
SUI/SUI.Sort_Missions_Command [ Commands ]
FUNCTION
Sort the list of finished missions
SOURCE
function Sort_Missions_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
SortFinishedMissions x X is the number of column where the player clicked the mouse button