diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-31 11:47:56 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-31 11:47:56 +0100 |
| commit | 144a3ddfb55fbf17cec4baaa73542664d68a3b05 (patch) | |
| tree | 43add38a2cd05d52349a6561bd4d9ed8df94f862 /src/Types.hpp | |
| parent | 2bb6730df8094c89af5a07d394fc02c43aea24eb (diff) | |
Debug comments$
Diffstat (limited to 'src/Types.hpp')
| -rw-r--r-- | src/Types.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Types.hpp b/src/Types.hpp index 5d24115..8c03ff0 100644 --- a/src/Types.hpp +++ b/src/Types.hpp @@ -73,11 +73,13 @@ typedef struct Status { double NagRightMargin = 0; double MarginBarWidth = 50; double ScrollbarWidth = 30; - double TextCharWidth=14, TextCharHeight=24; + /// @brief The following is not very accuracy but at least work for computing comments bounding boxes and placement + double CommentCharWidth=9, CommentCharHeight=24; + /// @brief The following is not a "precise" padding since we add online a multiple of MoveHeight + std::uint8_t CommentPadding=5; /// @brief How many char per line for comments - std::uint16_t CharPerLine=100; + std::uint16_t CommentCharPerLine=20; double MoveIconWidth = 25; - std::uint16_t CommentLinePerRow = 2; /// @brief Ask the editor to scroll for a specific amout of pixels double EventVScroll = 0, EventHScroll = 0; /// @brief Amount of pixel to scroll elements |
