1
0
mirror of synced 2024-11-24 15:50:16 +01:00
ImHex/lib/libimhex
Polshakov Dmitry 5dfa9cf501
patterns: Move logic to draw patterns into separate class (#472)
* refactor(patterns): add visitor interface

* refactor(patterns): add public accessors

* refactor(patterns): add method to get pattern value

* refactor(pattern): make some methods public

* refactor(pattern): extract code to draw GUI

* refactor(patterns): remove GUI related code from patterns

* refactor: move common GUI function from pattern to pattern_drawer

* refactor(pattern_drawer): extract common code into methods

* refactor: rename ImGuiDrawer -> PatternDrawer

* refactor(patternr): move displayEnd into PatternDrawer

* refactor: use ArrayPattern concept to restrict argument type

Co-authored-by: Dmitry Polshakov <dmitry.polshakov@dsr-corporation.com>
2022-03-21 13:52:07 +01:00
..
include patterns: Move logic to draw patterns into separate class (#472) 2022-03-21 13:52:07 +01:00
source patterns: Restore data offset for local variables / added array, nested structs and functions tests (#475) 2022-03-20 21:42:21 +01:00
CMakeLists.txt build: Updated various dependencies 2022-03-15 23:45:33 +01:00