lib2d 24/lib2dsrc/container.cpp ******************************* v4.6a4 051126: _CRcontainerFromObjWin() Added the CO_NOSCOL flag. This removes the (SCOL) word in Container title. Note: The following files have been modified to implement this: - lib2d 24/lib2dsrc/container.h - lib2d 24/x/objstr.h - lib2d 24/main.cpp - lib2d 24/lib2dsrc/window.cpp 051126: _SETcontainerName() This function hasn't been modified. However, it is now compliant with the CO_NOSCOL flag. This required to fix 2 former Flag filters in 2D & OS2D APIs (cf lib2d 24/lib2dsrc/window.cpp below for example) v4.6a5 061027: _SETcontainerCursor() Fix: The function now accepts a nil parameter which restores the system arrow cursor. Other modified files: - lib2d 24/lib2dsrc/container.h - lib2d 24/main.cpp v4.6a7 (& v4.6a6) 070524: _CRcontainerFromObjWin (& _CRcontainerFromObjCont) Add: CO_EX_LAYERED (v4.6a6) & CO_TOPMOST (v4.6a7) flags Related to former changes in LIB OS 2D. Note: CO_EX_LAYERED may be a temporary change. Other modified files: - lib2d 24/lib2dsrc/container.h - lib2d 24/main.cpp - lib2d 24/lib2dsrc/main.cpp - lib2d 24/lib2dsrc/window.cpp - lib2d 24/objstr.h 070526: _TOPMOSTcontainer() New function: - Purpose: Allow control of containers' display level - Proto: fun [ObjContainer I I] ObjContainer - Params: - ObjContainer - I: Display level - 0: Bottom Container is moved to background - 1: NoTopMost Container loses its TopMost status - 2: Top Container is brought to top - 3: TopMost TopMost (Always on top) status - I: Focus - 0: Container doesn't get the focus - 1: Container gets the focus (except in Bottom status) Other modified files: - lib2d 24/lib2dsrc/container.h - lib2d 24/main.cpp - lib2d 24/lib2dsrc/window.h Added TopMost() method to WindowScol class (& Window class) - lib2d 24/lib2dsrc/window.cpp Added TopMost() method v5.11 080206: _SETcontainerBackgroundColor() New function - Purpose: Dynamic color control - Proto: fun [ObjContainer I I] ObjContainer - Params: - ObjContainer - I: new background color (BGR) - I: repaint flag (set to 1 for immediate repaint) Other modified files: - lib2d 24/lib2dsrc/container.h - lib2d 24/main.cpp lib2d 24/lib2dsrc/container.h ***************************** v5.01 070913: MBUTTON variable Modified the value from 3 to 16. This was to synchronize the value with the system message. lib2d 24/lib2dsrc/window.cpp **************************** v4.6a4 051126: Window::ReplaceFlags() Fixed a bug which reseted/limited/forced to only the first 16 window Flag bits (We currently use 24 Flag bits, 23 before v4.6) lib2d 24/lib2dsrc/text.cpp ************************** 4.6a4 051130: TextMultiFont::DrawSubString() Removed some code part that hindered proper update of CompText's shadowing. Note that color modification of a CompText through _SETcompText() requires some undocumented CT_MULTIFONT flag when you create the CompText. This fixes _ADDcompText() too. lib2d 24/lib2dsrc/COjectLabel.cpp ********************************* v4.6a5 061025: CObjectLabel::ClickIn() Enabled Click reflex. - Added the _CBcompTextClick() function. Works only for CT_LABEL CompTexts (without CT_SELECT). Example: _CBcompTextClick ctxtMain @cbCtxtClick 0; Other modified files: - lib2d 24\main.cpp - CObjectText.h - CObjectText.cpp 061026: CObjectLabel::CursorMoveIn() Enabled MoveIn reflex. - Added the _CBcompTextCursorMoveIn() function. Works only for CT_LABEL CompTexts (without CT_SELECT). Example: _CBcompTextCursorMoveIn ctxtMain @cbCtxtCsrIn 1; Other modified files: - Same as for ClickIn() 061026: CObjectLabel::CursorMoveOut() Enabled MoveOut reflex. - Added the _CBcompTextCursorMoveOut() function. Works only for CT_LABEL CompTexts (without CT_SELECT). Example: _CBcompTextCursorMoveOut ctxtMain @cbCtxtCsrOut 2; Other modified files: - Same as for ClickIn() lib2d 24/lib2dsrc/CObjectCheck.cpp ********************************** v4.6a6 070403: _FORCEcompCheckROverDisplay() New function: - Purpose: Forces RollOver aspect display for a CompCheck. - Proto: fun [CompCheck I I] I - Params: - CompCheck - Aspect: Normal (CHK_DSPL_RO_NO) or RollOver (CHK_DSPL_RO_YES) - Protect RollOver aspect (CHK_DSPL_RO_FRC) or not (CHK_DSPL_RO_NO) Protected RO aspect, lets this aspect displayed when a mouse cursor leaves the CompCheck. The protected aspect has to be removed manually. - Return code: - 0, or nil if error. - Examples: - Forcing normal aspect & removing protection: _FORCEcompCheckROverDisplay cchkCChk CHK_DSPL_RO_NO CHK_DSPL_RO_NO; - Forcing rollover aspect: _FORCEcompCheckROverDisplay cchkCChk CHK_DSPL_RO_YES CHK_DSPL_RO_NO; - Forcing & protecting rollover aspect: _FORCEcompCheckROverDisplay cchkCChk CHK_DSPL_RO_YES CHK_DSPL_RO_FRC; Other modified files: - lib2d 24/lib2dsrc/CObjectCheck.h - lib2d 24/lib2dsrc/CObjectRollOver.h Note: CompCheck depends on RollOver - lib2d 24/lib2dsrc/CObjectRollOver.cpp - lib2d 24/main.cpp Note: Function & parameters defining v5.11 080206: _CBcompCheckUnClick() New function - Purpose: standard UnClick reflex - Note: Click now has an immediate effect, and UnClick has its own callback. - Proto: fun [CompCheck fun [CompCheck u0 I I I I] u1 u0] CompCheck Other modified files: - lib2d 24/lib2dsrc/CObjectCheck.h - lib2d 24/main.cpp - lib2d 24/main.h 080206: Click, Unclick All buttons are now handled, only the left one performs changes on GUI. ccpp ************************************* v5.11 080212: _CBcompRollOverUnClick() New function - Purpose: standard UnClick reflex - Note: Click now has an immediate effect, and UnClick has its own callback. - Proto: fun [CompRollOver fun [CompRollOver u0 I I I I] u1 u0] CompRollOver Other modified files: - lib2d 24/lib2dsrc/CObjectRollOver.h - lib2d 24/main.cpp - lib2d 24/main.h 080212: Click, Unclick All buttons are now handled, only the left one performs changes on GUI. lib2d 24/lib2dsrc/CObjectBase.h ******************************* v5.11 080206: OBJ_CONTAINER_ALLEVENTS New filter flag (Activates all nodes' event forwardings: clicks, keys, wheel, move) Other modified file: - lib2d 24/main.cpp lib2d 24/lib2dsrc/CObjectBase.cpp ********************************* v5.2.06 080527: _GETobjNodeFlags() New function (In fact, the function was added before but I forgot to document it) - Purpose: Retrieves the visibility Flags of an ObjNode - proto: fun [ObjNode] I - params: ObjNode - return: Flags Other modified file: - lib2d 24/main.cpp Next lines are currently ignored - restoring former version lib2dsrc/cobjecttext.cpp l.543: DrawObjectText -> Notes: The next lines show that the MULTIFONT flag is in fact not completed at all. ADD or SET actions provide the default Font, not the chosen one ... lib2dsrc/text.cpp l.938: TextMultiFont::GetStringWidthHeight l.1173: echo lib2src/cobjlayerfont.h l.39: BLG_GetStringWidth lib2dsrc/cobjlayerfont.cpp l.30: BLG_GetCharWidth l.70 & 90