/////////////////////
        // VESSELS
        /////////////////////

        /////////////////////
        // GUI
        private List <DialogGUIBase> getVesselContentLayout()
        {
            currentVesselSort = VesselListSort.LAUNCHDATE;

            List <DialogGUIBase>             vesselComponments = new List <DialogGUIBase>();
            List <DialogGUIHorizontalLayout> rows = populateVesselRows(MapViewFiltering.vesselTypeFilter);

            for (int i = 0; i < rows.Count; i++)
            {
                vesselComponments.Add(rows[i]);
            }

            return(vesselComponments);
        }
        private DialogGUIBase[] getVesselSortLayout()
        {
            float btnWidth  = 100;
            float btnHeight = 28;

            DialogGUILabel  sortLabel     = new DialogGUILabel(Localizer.Format("#CNC_ConstellationControl_sortLabel"), 35, 12);                                                                                                                                              //"Sort by"
            DialogGUIButton launchSortBtn = new DialogGUIButton(Localizer.Format("#CNC_ConstellationControl_launchSortBtn"), delegate { currentVesselSort = VesselListSort.LAUNCHDATE; mapfilterChanged(MapViewFiltering.vesselTypeFilter); }, btnWidth, btnHeight, false);   //"Launch time"
            DialogGUIButton freqSortBtn   = new DialogGUIButton(Localizer.Format("#CNC_ConstellationControl_freqSortBtn"), delegate { currentVesselSort = VesselListSort.RADIOFREQ; mapfilterChanged(MapViewFiltering.vesselTypeFilter); }, btnWidth + 40, btnHeight, false); //"Strongest frequency"
            DialogGUIButton nameSortBtn   = new DialogGUIButton(Localizer.Format("#CNC_ConstellationControl_nameSortBtn"), delegate { currentVesselSort = VesselListSort.VESSELNAME; mapfilterChanged(MapViewFiltering.vesselTypeFilter); }, btnWidth, btnHeight, false);     //"Vessel name"
            DialogGUIButton bodySortBtn   = new DialogGUIButton(Localizer.Format("#CNC_ConstellationControl_bodySortBtn"), delegate { currentVesselSort = VesselListSort.CBODY; mapfilterChanged(MapViewFiltering.vesselTypeFilter); }, btnWidth, btnHeight, false);          //"Celestial body"

            return(new DialogGUIBase[] { sortLabel, launchSortBtn, freqSortBtn, nameSortBtn, bodySortBtn });
        }
        private DialogGUIBase[] getVesselSortLayout()
        {
            float btnWidth  = 100;
            float btnHeight = 28;

            DialogGUILabel  sortLabel     = new DialogGUILabel("Sort by", 35, 12);
            DialogGUIButton launchSortBtn = new DialogGUIButton("Launch time", delegate { currentVesselSort = VesselListSort.LAUNCHDATE; mapfilterChanged(MapViewFiltering.vesselTypeFilter); }, btnWidth, btnHeight, false);
            DialogGUIButton freqSortBtn   = new DialogGUIButton("Strongest frequency", delegate { currentVesselSort = VesselListSort.RADIOFREQ; mapfilterChanged(MapViewFiltering.vesselTypeFilter); }, btnWidth + 40, btnHeight, false);
            DialogGUIButton nameSortBtn   = new DialogGUIButton("Vessel name", delegate { currentVesselSort = VesselListSort.VESSELNAME; mapfilterChanged(MapViewFiltering.vesselTypeFilter); }, btnWidth, btnHeight, false);
            DialogGUIButton bodySortBtn   = new DialogGUIButton("Celestial body", delegate { currentVesselSort = VesselListSort.CBODY; mapfilterChanged(MapViewFiltering.vesselTypeFilter); }, btnWidth, btnHeight, false);

            return(new DialogGUIBase[] { sortLabel, launchSortBtn, freqSortBtn, nameSortBtn, bodySortBtn });
        }