From 27905b9acfc17751c71646dc1da5a3c4350127e6 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 12 Nov 2016 14:51:18 +0100 Subject: [PATCH] CHintBox: update ascII scheme --- src/gui/widget/hintbox.cpp | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/src/gui/widget/hintbox.cpp b/src/gui/widget/hintbox.cpp index 3851a247f..eeda08a24 100644 --- a/src/gui/widget/hintbox.cpp +++ b/src/gui/widget/hintbox.cpp @@ -38,20 +38,21 @@ -/* - x w - y+-ccw_head----------------------------------------------+ - |icon | caption | buttons |header (ccw_head) - +-ccw_body----------------------------------------------+ - |+-obj_content-----------------------------------------+| - ||+-obj_hint 0----------------------------------------+||body (ccw_body) - h||| obj_picon | obj_text ||| | - ||+---------------------------------------------------+|| +-contents (obj_content) - |+-----------------------------------------------------+| | - +-------------------------------------------------------+ +-hint 0 (obj_hint) default added with new instance of CHintBox - | - | - +-hint n optional added with addHintItem() +/** + x width ccw_head [relevant for CHintBox, CMsgBox. not enabled in CHint class] + + y +---------------------------------------------------------------+/ + |[icon]| caption |[context buttons]| + +===============================================================+ timeout_pb + | + W_FRAME (w_indentation)-----------------------------------+ | + | | | | + height | | [picon] [text] | | ccw_body > container for info box object + | | i n f o b o x (added with addHintItem() | |/ + | | | | + | +-----------------------------------------------------------+ | ccw_footer with buttons [relevant for CMsgBox, not enabled in CHintBox and CHint classes] + + +---------------------------------------------------------------+/ + | ... | + + +---------------------------------------------------------------+ + */ using namespace std;