neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
i_item_selection_model.hpp File Reference

Go to the source code of this file.

Classes

struct  neogfx::selection_area
 
struct  neogfx::row
 
struct  neogfx::cell
 
class  neogfx::selection_iterator< Type >
 
class  neogfx::i_item_selection_model
 
struct  neogfx::i_item_selection_model::no_presentation_model
 
struct  neogfx::i_item_selection_model::no_current_index
 

Namespaces

namespace  neogfx
 

Typedefs

using neogfx::item_selection = neolib::i_map< item_presentation_model_index, selection_area >
 
using neogfx::row_selection_iterator = selection_iterator< row >
 
using neogfx::cell_selection_iterator = selection_iterator< cell >
 

Enumerations

enum class  neogfx::item_selection_mode { neogfx::NoSelection , neogfx::SingleSelection , neogfx::MultipleSelection , neogfx::ExtendedSelection }
 
enum class  neogfx::item_selection_operation {
  neogfx::None = 0x0000 , neogfx::Select = 0x0001 , neogfx::Deselect = 0x0002 , neogfx::Toggle = 0x0004 ,
  neogfx::Clear = 0x0008 , neogfx::Row = 0x0100 , neogfx::Column = 0x0200 , neogfx::CurrentIndex = 0x1000 ,
  neogfx::Queued = 0x4000 , neogfx::Internal = 0x8000 , neogfx::SelectRow = Select | Row , neogfx::SelectRowAsCurrent = Select | Row | CurrentIndex ,
  neogfx::SelectColumn = Select | Column , neogfx::DeselectRow = Deselect | Row , neogfx::DeselectColumn = Deselect | Column , neogfx::ToggleRow = Toggle | Row ,
  neogfx::ToggleColumn = Toggle | Column , neogfx::ClearAsCurrent = Clear | CurrentIndex , neogfx::ClearAndSelect = Clear | Select , neogfx::ClearAndSelectRow = Clear | Select | Row ,
  neogfx::ClearAndSelectRowAsCurrent = Clear | Select | Row | CurrentIndex , neogfx::ClearAndSelectColumn = Clear | Select | Column , neogfx::ClearAndToggle = Clear | Toggle
}
 
enum class  neogfx::index_location {
  neogfx::None , neogfx::FirstCell , neogfx::LastCell , neogfx::PreviousCell ,
  neogfx::NextCell , neogfx::StartOfCurrentRow , neogfx::EndOfCurrentRow , neogfx::StartOfCurrentColumn ,
  neogfx::EndOfCurrentColumn , neogfx::CellToLeft , neogfx::CellToRight , neogfx::RowAbove ,
  neogfx::RowBelow
}
 

Functions

item_selection_operationneogfx::operator|= (item_selection_operation &aLhs, item_selection_operation aRhs)
 
item_selection_operationneogfx::operator&= (item_selection_operation &aLhs, item_selection_operation aRhs)
 
item_selection_operation neogfx::operator| (item_selection_operation aLhs, item_selection_operation aRhs)
 
item_selection_operation neogfx::operator& (item_selection_operation aLhs, item_selection_operation aRhs)
 
item_selection_operation neogfx::operator~ (item_selection_operation aLhs)
 
bool neogfx::contains (item_selection const &aSelection, item_presentation_model_index aIndex)
 
row_selection_iterator neogfx::row_begin (item_selection const &aSelection)
 
row_selection_iterator neogfx::row_end (item_selection const &aSelection)
 
cell_selection_iterator neogfx::cell_begin (item_selection const &aSelection)
 
cell_selection_iterator neogfx::cell_end (item_selection const &aSelection)