Cafu Engine
OptionsBar_ClipBrushesToolT Class Reference

The options bar for the Clip Brushes tool. More...

#include "ToolOptionsBars.hpp"

Inheritance diagram for OptionsBar_ClipBrushesToolT:

Public Types

enum  ClipModeT { KeepFront, KeepBack, KeepBoth }
 This enumeration describes the clip mode of the clip brushes tool. More...
 

Public Member Functions

 OptionsBar_ClipBrushesToolT (wxWindow *Parent, ToolClipT &ToolClipBrushes)
 The constructor. More...
 
ClipModeT GetClipMode () const
 Returns the current clip mode. More...
 
void CycleClipMode ()
 Switches to the next clip mode, and wraps if necessary. More...
 

Detailed Description

The options bar for the Clip Brushes tool.

Member Enumeration Documentation

This enumeration describes the clip mode of the clip brushes tool.

Constructor & Destructor Documentation

OptionsBar_ClipBrushesToolT::OptionsBar_ClipBrushesToolT ( wxWindow *  Parent,
ToolClipT ToolClipBrushes 
)

The constructor.

Member Function Documentation

void OptionsBar_ClipBrushesToolT::CycleClipMode ( )

Switches to the next clip mode, and wraps if necessary.

This also calls the NoteClipModeChanged() method of the m_ToolClipBrushes (as if the user had changed the clip mode manually).

OptionsBar_ClipBrushesToolT::ClipModeT OptionsBar_ClipBrushesToolT::GetClipMode ( ) const

Returns the current clip mode.


The documentation for this class was generated from the following files: