summaryrefslogblamecommitdiffstats
path: root/core/src/mouse/interaction.rs
blob: aad6a3ea933ae2b5875a24609392899fbf3f4f19 (plain) (tree)
1
2
3
4
5
6
                                      
                                                                      

                      
              
         








                         

                           
               
           


            

         
 
/// The interaction of a mouse cursor.
#[derive(Debug, Eq, PartialEq, Clone, Copy, PartialOrd, Ord, Default)]
#[allow(missing_docs)]
pub enum Interaction {
    #[default]
    None,
    Idle,
    Pointer,
    Grab,
    Text,
    Crosshair,
    Working,
    Grabbing,
    ResizingHorizontally,
    ResizingVertically,
    ResizingDiagonallyUp,
    ResizingDiagonallyDown,
    NotAllowed,
    ZoomIn,
    ZoomOut,
    Cell,
    Move,
    Copy,
    Help,
}