Refactoring of the FListBox mouse event handler
This commit is contained in:
parent
a880684432
commit
61f824f54d
|
@ -1,3 +1,6 @@
|
||||||
|
2017-12-30 Markus Gans <guru.mail@muenster.de>
|
||||||
|
* Refactoring of the FListBox mouse event handler
|
||||||
|
|
||||||
2017-12-29 Markus Gans <guru.mail@muenster.de>
|
2017-12-29 Markus Gans <guru.mail@muenster.de>
|
||||||
* Refactoring of the FDialog mouse event handler
|
* Refactoring of the FDialog mouse event handler
|
||||||
|
|
||||||
|
|
|
@ -255,6 +255,22 @@ class FListBox : public FWidget
|
||||||
void updateDrawing (bool, bool);
|
void updateDrawing (bool, bool);
|
||||||
void recalculateHorizontalBar (int, bool);
|
void recalculateHorizontalBar (int, bool);
|
||||||
void recalculateVerticalBar (int);
|
void recalculateVerticalBar (int);
|
||||||
|
void getWidgetFocus();
|
||||||
|
void multiSelection (int);
|
||||||
|
void multiSelectionUpTo (int);
|
||||||
|
void wheelUp (int);
|
||||||
|
void wheelDown (int);
|
||||||
|
bool dragScrollUp();
|
||||||
|
bool dragScrollDown();
|
||||||
|
void dragUp (int);
|
||||||
|
void dragDown (int);
|
||||||
|
void stopDragScroll();
|
||||||
|
void prevListItem (int);
|
||||||
|
void nextListItem (int);
|
||||||
|
void scrollToX (int);
|
||||||
|
void scrollToY (int);
|
||||||
|
void scrollLeft (int);
|
||||||
|
void scrollRight (int);
|
||||||
void keyUp();
|
void keyUp();
|
||||||
void keyDown();
|
void keyDown();
|
||||||
void keyLeft();
|
void keyLeft();
|
||||||
|
|
780
src/flistbox.cpp
780
src/flistbox.cpp
File diff suppressed because it is too large
Load Diff
|
@ -3189,6 +3189,8 @@ char* FTerm::parseSecDA (char current_termtype[])
|
||||||
if ( std::strncmp(termtype, "rxvt-", 5) != 0
|
if ( std::strncmp(termtype, "rxvt-", 5) != 0
|
||||||
&& std::strncmp(termtype, "rxvt-cygwin-native", 18) == 0 )
|
&& std::strncmp(termtype, "rxvt-cygwin-native", 18) == 0 )
|
||||||
new_termtype = C_STR("rxvt-16color");
|
new_termtype = C_STR("rxvt-16color");
|
||||||
|
else
|
||||||
|
new_termtype = termtype;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 85: // rxvt-unicode
|
case 85: // rxvt-unicode
|
||||||
|
@ -3202,11 +3204,20 @@ char* FTerm::parseSecDA (char current_termtype[])
|
||||||
else
|
else
|
||||||
new_termtype = C_STR("rxvt");
|
new_termtype = C_STR("rxvt");
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
new_termtype = termtype;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Correct false assumptions
|
||||||
|
if ( gnome_terminal && terminal_id_type != 1 )
|
||||||
|
gnome_terminal = false;
|
||||||
|
|
||||||
|
if ( kde_konsole && terminal_id_type != 0 )
|
||||||
|
kde_konsole = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue