LMMS
Loading...
Searching...
No Matches
__SWELL_editControlState Struct Reference

Public Member Functions

 __SWELL_editControlState ()
 ~__SWELL_editControlState ()
bool deleteSelection (WDL_FastString *fs)
int getSelection (WDL_FastString *fs, const char **ptrOut) const
void moveCursor (int cp)
void onMouseDown (int &capmode_state, int last_cursor)
void onMouseDrag (int &capmode_state, int p)
void autoScrollToOffset (HWND hwnd, int charpos, bool is_multiline, bool word_wrap)

Public Attributes

int cursor_pos
int sel1
int sel2
int cursor_state
int cursor_timer
int scroll_x
int scroll_y
int max_height
int max_width
int cache_linelen_w
int cache_linelen_strlen
WDL_TypedBuf< intcache_linelen_bytes
bool m_disable_contextmenu

Constructor & Destructor Documentation

◆ __SWELL_editControlState()

__SWELL_editControlState::__SWELL_editControlState ( )
inline

◆ ~__SWELL_editControlState()

__SWELL_editControlState::~__SWELL_editControlState ( )
inline

Member Function Documentation

◆ autoScrollToOffset()

void __SWELL_editControlState::autoScrollToOffset ( HWND hwnd,
int charpos,
bool is_multiline,
bool word_wrap )

◆ deleteSelection()

bool __SWELL_editControlState::deleteSelection ( WDL_FastString * fs)

◆ getSelection()

int __SWELL_editControlState::getSelection ( WDL_FastString * fs,
const char ** ptrOut ) const

◆ moveCursor()

void __SWELL_editControlState::moveCursor ( int cp)

◆ onMouseDown()

void __SWELL_editControlState::onMouseDown ( int & capmode_state,
int last_cursor )

◆ onMouseDrag()

void __SWELL_editControlState::onMouseDrag ( int & capmode_state,
int p )

Member Data Documentation

◆ cache_linelen_bytes

WDL_TypedBuf<int> __SWELL_editControlState::cache_linelen_bytes

◆ cache_linelen_strlen

int __SWELL_editControlState::cache_linelen_strlen

◆ cache_linelen_w

int __SWELL_editControlState::cache_linelen_w

◆ cursor_pos

int __SWELL_editControlState::cursor_pos

◆ cursor_state

int __SWELL_editControlState::cursor_state

◆ cursor_timer

int __SWELL_editControlState::cursor_timer

◆ m_disable_contextmenu

bool __SWELL_editControlState::m_disable_contextmenu

◆ max_height

int __SWELL_editControlState::max_height

◆ max_width

int __SWELL_editControlState::max_width

◆ scroll_x

int __SWELL_editControlState::scroll_x

◆ scroll_y

int __SWELL_editControlState::scroll_y

◆ sel1

int __SWELL_editControlState::sel1

◆ sel2

int __SWELL_editControlState::sel2

The documentation for this struct was generated from the following file: