| 839 | } |
| 840 | |
| 841 | wxString TableBase::GetColLabelValue(int col) |
| 842 | { |
| 843 | // \uXXXX are unicode characters for up and down arrows |
| 844 | // \u0668 Arabic-Indic digit eight (up pointing arrow) |
| 845 | // \u0667 Arabic-Indic digit seven (down pointing arrow) |
| 846 | // \u25B5 white small up-pointing triangle (too big on OSX) |
| 847 | // \u25BF white small down-pointing triangle |
| 848 | // \u25B4 black small up-pointing triangle (too big on OSX) |
| 849 | // \u25BE black small down-pointing triangle |
| 850 | // \u02C4, \u02C5 are up and down-pointing arrows |
| 851 | // \u27F0 upward quadruple arrow |
| 852 | // \u27F1 downward quadruble arrow |
| 853 | |
| 854 | if (col<0 || col>table_int->GetNumberCols()) return wxEmptyString; |
| 855 | |
| 856 | wxString label(table_int->GetColName(col)); |
| 857 | |
| 858 | if (table_int->IsColTimeVariant(col)) { |
| 859 | label << " (" << time_state->GetCurrTimeString(); |
| 860 | label << ")"; |
| 861 | } |
| 862 | |
| 863 | if (col == sorting_col) { |
| 864 | label << (sorting_ascending ? " >" : " <"); |
| 865 | } |
| 866 | return label; |
| 867 | } |
| 868 | |
| 869 | void TableBase::update(HLStateInt* o) |
| 870 | { |
no test coverage detected