C++
enum SortOption { kSortByName = (0x1 << 0), kSortByStockTool = (0x1 << 1), kSortByCustom = (0x1 << 2), kAscending = (0x1 << 3), kDescending = (0x1 << 4) };
File
AcTc.h
Members
Members | Description |
---|---|
kSortByName | Sorts the items by name. |
kSortByStockTool | Sorts the items by stock tool. Tools belonging to the same stock tool are grouped together. |
kSortByCustom | Lets the tool implementations take part in the sorting to do custom sorting. This flag can be combinted with kSortByStockTool. |
kAscending | Sorts the items in ascending order. This flag can be combinted with kSortByName, kSortByStockTool, and kSortByCustom. |
kDescending | Sorts the items in descending order. This flag can be combinted with kSortByName, kSortByStockTool, and kSortByCustom. |
Description
Options for sorting the items in a tool palette.