diff --git a/src/Consolonia.Gallery/Gallery/GalleryViews/GalleryTextBlock.axaml b/src/Consolonia.Gallery/Gallery/GalleryViews/GalleryTextBlock.axaml index b0899a84..a9a210f7 100644 --- a/src/Consolonia.Gallery/Gallery/GalleryViews/GalleryTextBlock.axaml +++ b/src/Consolonia.Gallery/Gallery/GalleryViews/GalleryTextBlock.axaml @@ -20,6 +20,9 @@ FontWeight="Bold" Background="DarkMagenta" Foreground="Chartreuse" /> + + Selectable text: Loreum ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis + (Curses.Event.Button1Pressed, RawPointerEventType.LeftButtonDown), (Curses.Event.Button1Clicked, RawPointerEventType.LeftButtonDown), (Curses.Event.Button1Released, RawPointerEventType.LeftButtonUp), - (Curses.Event.Button2Pressed, RawPointerEventType.RightButtonDown), - (Curses.Event.Button2Clicked, RawPointerEventType.RightButtonDown), - (Curses.Event.Button2Released, RawPointerEventType.RightButtonUp), - (Curses.Event.Button3Pressed, RawPointerEventType.MiddleButtonDown), - (Curses.Event.Button3Clicked, RawPointerEventType.MiddleButtonDown), - (Curses.Event.Button3Released, RawPointerEventType.MiddleButtonUp), + (Curses.Event.Button2Pressed, RawPointerEventType.MiddleButtonDown), + (Curses.Event.Button2Clicked, RawPointerEventType.MiddleButtonDown), + (Curses.Event.Button2Released, RawPointerEventType.MiddleButtonUp), + (Curses.Event.Button3Pressed, RawPointerEventType.RightButtonDown), + (Curses.Event.Button3Clicked, RawPointerEventType.RightButtonDown), + (Curses.Event.Button3Released, RawPointerEventType.RightButtonUp), (Curses.Event.Button4Pressed, RawPointerEventType.XButton1Down), (Curses.Event.Button4Clicked, RawPointerEventType.XButton1Down), (Curses.Event.Button4Released, RawPointerEventType.XButton1Up), diff --git a/src/Consolonia.Themes/Templates/Controls/AllControls.axaml b/src/Consolonia.Themes/Templates/Controls/AllControls.axaml index a7236e04..21771784 100644 --- a/src/Consolonia.Themes/Templates/Controls/AllControls.axaml +++ b/src/Consolonia.Themes/Templates/Controls/AllControls.axaml @@ -4,6 +4,7 @@ + diff --git a/src/Consolonia.Themes/Templates/Controls/SelectableTextBlock.axaml b/src/Consolonia.Themes/Templates/Controls/SelectableTextBlock.axaml new file mode 100644 index 00000000..7e9ce71b --- /dev/null +++ b/src/Consolonia.Themes/Templates/Controls/SelectableTextBlock.axaml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file