1#ifndef __DW_SELECTION_H__
2#define __DW_SELECTION_H__
4#ifndef __INCLUDED_FROM_DW_CORE_HH__
5# error Do not include this file directly, use "core.hh" instead.
A stack of iterators, to iterate recursively through a widget tree.
Represents a mouse motion event.
Iterators are used to iterate through the contents of a widget.
The central class for managing and drawing a widget tree.
Base class for all mouse events related to a specific position.
This class handles selections, as well as activation of links, which is closely related.
void setLayout(Layout *layout)
void highlight(bool fl, int dir)
enum dw::core::SelectionState::@16 selectionState
bool handleEvent(EventType eventType, Iterator *it, int charPos, int linkNo, MousePositionEvent *event)
General form of dw::core::SelectionState::buttonPress, dw::core::SelectionState::buttonRelease and dw...
bool buttonPress(Iterator *it, int charPos, int linkNo, EventButton *event)
void adjustSelection(Iterator *it, int charPos)
This method is used by core::dw::SelectionState::buttonMotion and core::dw::SelectionState::buttonRel...
bool buttonRelease(Iterator *it, int charPos, int linkNo, EventButton *event)
static int correctCharPos(DeepIterator *it, int charPos)
This method deals especially with the case that a widget passes dw::core::SelectionState::END_OF_WORD...
enum dw::core::SelectionState::@17 linkState
bool buttonMotion(Iterator *it, int charPos, int linkNo, EventMotion *event)
void switchLinkToSelection(Iterator *it, int charPos)
This method is called when the user decides not to activate a link, but instead select text.
void highlight0(bool fl, DeepIterator *from, int fromChar, DeepIterator *to, int toChar, int dir)
Dw is in this namespace, or sub namespaces of this one.