Commit Graph

23 Commits

Author SHA1 Message Date
Léa Saviot
d98e1f44cd [escher] Fix null termination for drawString in ScrollViewIndicator 2019-04-12 15:16:52 +02:00
Ruben Dashyan
1ac829ca18 [escher/scroll_view_indicator] Fix rounding issues for bars 2019-02-18 16:49:58 +01:00
Ruben Dashyan
1beb8ca98f [escher/scroll_view] Add arrow indicators 2019-02-18 16:49:58 +01:00
Ruben Dashyan
81f80ef602 [escher/scroll_view] Simplify layoutIndicators
Mark indicators' frame as dirty when necessary, indirectly by setFrame
to empty.
2019-02-18 16:49:58 +01:00
Ruben Dashyan
5b78d65b6d [escher/scroll_view] Simplify subviews management 2019-02-18 16:49:58 +01:00
Ruben Dashyan
42d6ec66ab [escher/scroll_view] Prepare ScrollViewIndicator for future ScrollViewArrow 2019-02-18 16:49:58 +01:00
Ruben Dashyan
4936a3e7fe [escher] New ScrollViewHorizontalIndicator and ScrollViewVerticalIndicator 2019-02-18 16:49:58 +01:00
Ruben Dashyan
7114fbc8dc [escher] Simplify ScrollViewIndicator 2019-02-18 16:49:58 +01:00
Romain Goyet
84561a929f [escher] Clean the ScrollView, TableView and SelectableTableView constructors 2018-04-18 18:08:07 +02:00
Émilie Feral
fe9e6ec59a [escher] Clean scroll view
Change-Id: I7eb00da6c9d8a60847c108eed5355bdb289dbebb
2017-05-31 12:14:24 +02:00
Émilie Feral
1d7d7f4ef1 [escher] In scroll view, mark the indicator rect as dirty if the scroll
indicator parameters has changed

Change-Id: I3136f8613a08d5b8e7c8039502f77f552f7868c2
2017-05-31 11:54:54 +02:00
Émilie Feral
8eefe8e490 [escher] Improve scroll indicator render
Change-Id: I22fa1035ba33d2cadfc68fa6727fbaecdadd4efe
2017-01-27 11:52:02 +01:00
Émilie Feral
a1b5d3d363 [escher] Delete childless view and implement it as default view
Change-Id: I545c8270fc8235ee578b2237361df50c919d0b61
2016-10-18 09:41:43 +02:00
Émilie Feral
471671422c [escher] implement a potential horizontal scroll indicator in scroll view
Change-Id: I9ac2045071d9f915f05bc7948852328627a09d9c
2016-09-28 14:12:05 +02:00
Émilie Feral
33401a361b [escher] do not display the scroll indicator when unneeded
Change-Id: Ife24fa2fe175b3d944749ff4a1ea8e2017f04048
2016-09-26 12:27:16 +02:00
Romain Goyet
2eb19bc24e [Escher] Use named KDColors
Change-Id: I047e9e3ab423743c68f2ea6ee6e3bedcdbacdc02
2016-08-29 16:58:07 +02:00
Romain Goyet
5de28e01db Migrate Kandinsky to C++
Change-Id: I2752a8db84ad0bb817119cf6c2993c1622621150
2016-07-21 13:42:32 +02:00
Romain Goyet
30aa62e3c5 Escher: Introduce the TiledView
Change-Id: I97d612cf89bd9cf45f8b440881918b9626cd65f6
2016-07-21 11:32:33 +02:00
Romain Goyet
8e4b1666bb Kandinsky: KDFillRect takes a pattern, always
Change-Id: I32113345d742f21c0e238c1707bcee0116694d6f
2016-07-05 13:32:47 +02:00
Romain Goyet
a0d7e2243f Escher: Rect-based dirty tracking
Change-Id: I798dd04f4b36042429105e2ccdf7cd5df554bedf
2016-06-20 15:03:59 +02:00
Romain Goyet
4c048a6832 Escher: Make View::m_frame protected
Change-Id: I2fee7896d2d83a946cfef36c7b23f5a5635dce3d
2016-06-13 17:44:31 +02:00
Romain Goyet
93ca2f6475 Escher: Use dirty-tracking for View::redraw
Change-Id: I95da4eee9218784744ac4abc53328d3f537bede6
2016-06-09 16:37:25 +02:00
Romain Goyet
8d8824cb69 Escher: Add a ScrollViewIndicator
Change-Id: Ie619c16c9f784c3456a33de3ce21e25fae952ffc
2016-06-01 09:54:46 +02:00