You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
(43) |
May
(9) |
Jun
(35) |
Jul
|
Aug
|
Sep
(3) |
Oct
(2) |
Nov
(2) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(26) |
Feb
(12) |
Mar
(17) |
Apr
(4) |
May
(157) |
Jun
(19) |
Jul
(21) |
Aug
(1) |
Sep
(36) |
Oct
(10) |
Nov
(19) |
Dec
(21) |
2005 |
Jan
(10) |
Feb
(20) |
Mar
(8) |
Apr
(30) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(42) |
Oct
(73) |
Nov
(38) |
Dec
(13) |
2006 |
Jan
|
Feb
|
Mar
(57) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(11) |
2007 |
Jan
(8) |
Feb
|
Mar
|
Apr
(213) |
May
|
Jun
|
Jul
(70) |
Aug
(53) |
Sep
(18) |
Oct
(17) |
Nov
(12) |
Dec
(11) |
2008 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
|
Jun
(28) |
Jul
(40) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
(7) |
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
(6) |
Aug
(5) |
Sep
(3) |
Oct
|
Nov
(25) |
Dec
(12) |
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
Update of /cvsroot/cgui/cgui/docs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13463/docs Modified Files: Tag: Branch_CGUI_1-6-7 cgui._tx changes._tx internal._tx thanks._tx wishlist._tx Log Message: New revision 2.0.3 (ignore previous commit) Index: internal._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/internal._tx,v retrieving revision 1.4.2.3.2.35 retrieving revision 1.4.2.3.2.36 diff -C2 -d -r1.4.2.3.2.35 -r1.4.2.3.2.36 *** internal._tx 27 Sep 2009 20:28:18 -0000 1.4.2.3.2.35 --- internal._tx 11 Nov 2009 07:31:57 -0000 1.4.2.3.2.36 *************** *** 14,18 **** @rtfh=CGUI Internal @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.2" "CGUI" "CGUI Internal" @$\input texinfo @$@setfilename internal.inf --- 14,18 ---- @rtfh=CGUI Internal @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.3" "CGUI" "CGUI Internal" @$\input texinfo @$@setfilename internal.inf Index: wishlist._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/wishlist._tx,v retrieving revision 1.4.2.3.2.35 retrieving revision 1.4.2.3.2.36 diff -C2 -d -r1.4.2.3.2.35 -r1.4.2.3.2.36 *** wishlist._tx 27 Sep 2009 20:28:19 -0000 1.4.2.3.2.35 --- wishlist._tx 11 Nov 2009 07:31:57 -0000 1.4.2.3.2.36 *************** *** 8,12 **** @document_title=CGUI whishlist @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.2" "CGUI" "CGUI whishlist" @rtfh=CGUI Wish List @$\input texinfo --- 8,12 ---- @document_title=CGUI whishlist @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.3" "CGUI" "CGUI whishlist" @rtfh=CGUI Wish List @$\input texinfo Index: thanks._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/thanks._tx,v retrieving revision 1.4.2.4.2.37 retrieving revision 1.4.2.4.2.38 diff -C2 -d -r1.4.2.4.2.37 -r1.4.2.4.2.38 *** thanks._tx 27 Sep 2009 20:28:19 -0000 1.4.2.4.2.37 --- thanks._tx 11 Nov 2009 07:31:57 -0000 1.4.2.4.2.38 *************** *** 10,14 **** @document_title=CGUI Contributors @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.2" "CGUI" "CGUI thanks" @rtfh=Adime Thanks List @$\input texinfo --- 10,14 ---- @document_title=CGUI Contributors @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.3" "CGUI" "CGUI thanks" @rtfh=Adime Thanks List @$\input texinfo Index: cgui._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/cgui._tx,v retrieving revision 1.4.2.7.2.58 retrieving revision 1.4.2.7.2.59 diff -C2 -d -r1.4.2.7.2.58 -r1.4.2.7.2.59 *** cgui._tx 11 Nov 2009 07:25:50 -0000 1.4.2.7.2.58 --- cgui._tx 11 Nov 2009 07:31:57 -0000 1.4.2.7.2.59 *************** *** 12,16 **** @rtfh=CGUI - a C-based GUI @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.2" "CGUI" "CGUI manual" @$\input texinfo @$@setfilename cgui.inf --- 12,16 ---- @rtfh=CGUI - a C-based GUI @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.3" "CGUI" "CGUI manual" @$\input texinfo @$@setfilename cgui.inf *************** *** 30,34 **** <center>Email: <email>chr...@md...</a></center> <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/">http://www.idt.mdh.se/~csg/cgui/</a></center> ! <center><b>The Manual of CGUI 2.0.2 @!text @heading --- 30,34 ---- <center>Email: <email>chr...@md...</a></center> <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/">http://www.idt.mdh.se/~csg/cgui/</a></center> ! <center><b>The Manual of CGUI 2.0.3 @!text @heading Index: changes._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/changes._tx,v retrieving revision 1.4.2.9.2.75 retrieving revision 1.4.2.9.2.76 diff -C2 -d -r1.4.2.9.2.75 -r1.4.2.9.2.76 *** changes._tx 11 Nov 2009 07:28:42 -0000 1.4.2.9.2.75 --- changes._tx 11 Nov 2009 07:31:57 -0000 1.4.2.9.2.76 *************** *** 8,12 **** @document_title=Changes in CGUI @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.2" "CGUI" "CGUI changes" @rtfh=Changes in CGUI @$\input texinfo --- 8,12 ---- @document_title=Changes in CGUI @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.3" "CGUI" "CGUI changes" @rtfh=Changes in CGUI @$\input texinfo *************** *** 39,43 **** @heading ! <b>Changes from 2.0.1 to 2.0.2:</b> <ul> <li> --- 39,43 ---- @heading ! <b>Changes from 2.0.2 to 2.0.3:</b> <ul> <li> *************** *** 47,50 **** --- 47,54 ---- <li> Added feature 2895747 + </ul> + + <b>Changes from 2.0.1 to 2.0.2:</b> + <ul> <li> Fixed bug 2818191 "ConditionalRefresh problems" and cleaned up the |
From: Christer S. <ch...@us...> - 2009-11-11 07:32:20
|
Update of /cvsroot/cgui/cgui/lib/cygwin In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13463/lib/cygwin Modified Files: Tag: Branch_CGUI_1-6-7 cgui.def Log Message: New revision 2.0.3 (ignore previous commit) Index: cgui.def =================================================================== RCS file: /cvsroot/cgui/cgui/lib/cygwin/cgui.def,v retrieving revision 1.1.2.13 retrieving revision 1.1.2.14 diff -C2 -d -r1.1.2.13 -r1.1.2.14 *** cgui.def 16 Jul 2008 09:50:03 -0000 1.1.2.13 --- cgui.def 11 Nov 2009 07:31:57 -0000 1.1.2.14 *************** *** 26,222 **** BrowseToF @24 BrowseToL @25 ! CGUI_list_fixfont @26 DATA ! CGUI_list_font @27 DATA ! CGUI_list_row_b_color @28 DATA ! CGUI_list_row_f_color @29 DATA ! CGUI_list_row_font @30 DATA ! CGUI_list_vspace @31 DATA ! CguiEditBoxSetSelectionMode @32 ! CguiEventIterateFunction @33 ! CguiListBoxSetToolTip @34 ! CguiLoadImage @35 ! CguiParseLabels @36 ! CguiSetBaseLine @37 ! CguiSetColor @38 ! CguiSetMouseInput @39 ! CguiSetToolTipAnimation @40 ! CguiSetToolTipDelay @41 ! CguiUseIcons @42 ! CguiUseUTF8 @43 ! CguiYieldTimeslice @44 ! CheckDate @45 ! CheckWinClip @46 ! Click @47 ! CloseWin @48 ! ConditionalRefresh @49 ! CreateNewDataFile @50 ! CreateTabWindow @51 ! CurrentWindow @52 ! Date2String @53 ! DeActivate @54 ! DeInitCgui @55 ! DeleteTree @56 ! DesktopImage @57 ! Destroy @58 ! DestroyTexts @59 ! DisplayWin @60 ! Dos2Win @61 ! EmptyContainer @62 ! EndContainer @63 ! EndMenuBar @64 ! EndRadioContainer @65 ! FileManager @66 ! FileSelect @67 ! FlipRulerTab @68 ! FlushGenEvents @69 ! GenEvent @70 ! GetCguiFixFont @71 ! GetCguiFont @72 ! GetCurrentFocus @73 ! GetEditData @74 ! GetFromWinClip @75 ! GetListIndex @76 ! GetMarkedRows @77 ! GetObjectPosition @78 ! GetPressedButton @79 ! GetRegisteredImage @80 ! GetRulerTabList @81 ! GetSizeOffset @82 ! GetWinInfo @83 ! HidePointer @84 ! HookCguiDeInit @85 ! HookExit @86 ! HookLeaveTab @87 ! HookList @88 ! HookMenuClose @89 ! HookSpinButtons @90 ! InitCguiEx @91 ! InsertIntoWinClip @92 ! InsertPoint @93 ! InstallBelowListEndCallBack @94 ! InstallCursor @95 ! InstallKBHandler @96 ! Invite @97 ! IsHotKey @98 ! JoinTabChain @99 ! KillEvent @100 ! ListTreeSetNodeExpandedState @101 ! ListTreeSetNodesExpandedState @102 ! ListTreeView @103 ! LoadCompiledTexts @104 ! LoadTexts @105 ! LongHalf @106 ! MakeHalf @107 ! MakeMenuBar @108 ! MakeStretchable @109 ! MkCanvas @110 ! MkDialogue @111 ! MkDir @112 ! MkGroove @113 ! MkHorizontalBrowser @114 ! MkMenu @115 ! MkMenuBarItem @116 ! MkMenuCheck @117 ! MkMenuItem @118 ! MkMenuRadio @119 ! MkProgressWindow @120 ! MkRadioContainer @121 ! MkScratchMenu @122 ! MkSingleMenu @123 ! MkString @124 ! MkTextPointer @125 ! MkVerticalBrowser @126 ! ModifyHeader @127 ! NameCase @128 ! NotifyBrowser @129 ! NotifyFocusMove @130 ! ObjectApearance @131 ! OverlayPointer @132 ! PointerLocation @133 ! PointerOn @134 ! PrintFloatingConversion @135 ! ProcessEvents @136 ! ReBuildContainer @137 ! RedrawScreen @138 ! Refresh @139 ! RefreshListRow @140 ! RegisterConversionHandler @141 ! RegisterDragFlag @142 ! RegisterFileType @143 ! RegisterImage @144 ! RegisterRefresh @145 ! Release @146 ! Remove @147 ! RemoveOverlayPointer @148 ! Req @149 ! Request @150 ! SaveDatafileObject @151 ! ScrMode @152 ! SelectContainer @153 ! SelectCursor @154 ! SetBlitLimit @155 ! SetBrowserSize @156 ! SetCguiFont @157 ! SetDateForm @158 ! SetDeleteHandler @159 ! SetDistance @160 ! SetEditData @161 ! SetFocusOn @162 ! SetHotKey @163 ! SetIndexedList @164 ! SetInsertHandler @165 ! SetLinkedList @166 ! SetListColumns @167 ! SetListDoubleClick @168 ! SetListDroppable @169 ! SetListGrippable @170 ! SetMeasure @171 ! SetMouseButtons @172 ! SetMousePos @173 ! SetObjectDouble @174 ! SetObjectDroppable @175 ! SetObjectGrippable @176 ! SetObjectSlidable @177 ! SetOperatingWindow @178 ! SetSizeOffset @179 ! SetSpacing @180 ! SetView @181 ! SetWindowPosition @182 ! ShowPointer @183 ! SimulateHotKeys @184 ! Sound @185 ! StartContainer @186 ! StopProcessEvents @187 ! String2Date @188 ! TabOnCR @189 ! TextboxGetHighlightedText @190 ! TextboxHighlighting @191 ! TextboxScrollDownOneLine @192 ! ToUpper @193 ! ToolTipText @194 ! UnHookCguiDeInit @195 ! UnInstallKBHandler @196 ! UnPackSelection @197 ! UnRegisterDragFlag @198 ! UpdateProgressValue @199 ! UpdateTextBoxText @200 ! UseHotKeys @201 ! Win2Dos @202 ! cgui_calloc @203 ! cgui_colors @204 DATA ! cgui_desktop_id @205 DATA ! cgui_drop_down_list_row_spacing @206 DATA ! cgui_list_fix_digits @207 DATA ! cgui_list_no_multiple_row_selection @208 DATA ! cgui_list_show_focused_row @209 DATA ! cgui_malloc @210 ! cgui_minor_rev @211 DATA ! cgui_mouse_draw_in_interrupt @212 DATA ! cgui_realloc @213 ! cgui_release_date @214 DATA ! cgui_rev @215 DATA ! cgui_use_vsync @216 DATA ! cgui_ver @217 DATA ! continous_update_resize @218 DATA ! event_message_buffer_size @219 DATA ! msprintf @220 --- 26,225 ---- BrowseToF @24 BrowseToL @25 ! cgui_calloc @26 ! cgui_colors @27 DATA ! cgui_desktop_id @28 DATA ! cgui_drop_down_list_row_spacing @29 DATA ! CguiEditBoxSetSelectionMode @30 ! CguiEventIterateFunction @31 ! CguiListBoxRowGetClickedColumn @32 ! CguiListBoxRowSetBar @33 ! CguiListBoxSetColumnSelection @34 ! CguiListBoxSetToolTip @35 ! cgui_list_fix_digits @36 DATA ! CGUI_list_fixfont @37 DATA ! CGUI_list_font @38 DATA ! cgui_list_no_multiple_row_selection @39 DATA ! CGUI_list_row_b_color @40 DATA ! CGUI_list_row_f_color @41 DATA ! CGUI_list_row_font @42 DATA ! cgui_list_show_focused_row @43 DATA ! CGUI_list_vspace @44 DATA ! CguiLoadImage @45 ! cgui_malloc @46 ! cgui_minor_rev @47 DATA ! cgui_mouse_draw_in_interrupt @48 DATA ! CguiParseLabels @49 ! cgui_realloc @50 ! cgui_release_date @51 DATA ! cgui_rev @52 DATA ! CguiSetBaseLine @53 ! CguiSetColor @54 ! CguiSetMouseInput @55 ! CguiSetToolTipAnimation @56 ! CguiSetToolTipDelay @57 ! CguiUseIcons @58 ! CguiUseUTF8 @59 ! cgui_use_vsync @60 DATA ! cgui_ver @61 DATA ! CguiYieldTimeslice @62 ! CheckDate @63 ! CheckWinClip @64 ! Click @65 ! CloseWin @66 ! ConditionalRefresh @67 ! continous_update_resize @68 DATA ! CreateNewDataFile @69 ! CreateTabWindow @70 ! CurrentWindow @71 ! Date2String @72 ! DeActivate @73 ! DeInitCgui @74 ! DeleteTree @75 ! DesktopImage @76 ! Destroy @77 ! DestroyTexts @78 ! DisplayWin @79 ! Dos2Win @80 ! EmptyContainer @81 ! EndContainer @82 ! EndMenuBar @83 ! EndRadioContainer @84 ! event_message_buffer_size @85 DATA ! FileManager @86 ! FileSelect @87 ! FlipRulerTab @88 ! FlushGenEvents @89 ! GenEvent @90 ! GetCguiFixFont @91 ! GetCguiFont @92 ! GetCurrentFocus @93 ! GetEditData @94 ! GetFromWinClip @95 ! GetListIndex @96 ! GetMarkedRows @97 ! GetObjectPosition @98 ! GetPressedButton @99 ! GetRegisteredImage @100 ! GetRulerTabList @101 ! GetSizeOffset @102 ! GetWinInfo @103 ! HidePointer @104 ! HookCguiDeInit @105 ! HookExit @106 ! HookLeaveTab @107 ! HookList @108 ! HookMenuClose @109 ! HookSpinButtons @110 ! InitCguiEx @111 ! InsertIntoWinClip @112 ! InsertPoint @113 ! InstallBelowListEndCallBack @114 ! InstallCursor @115 ! InstallKBHandler @116 ! Invite @117 ! IsHotKey @118 ! JoinTabChain @119 ! KillEvent @120 ! ListTreeSetNodeExpandedState @121 ! ListTreeSetNodesExpandedState @122 ! ListTreeView @123 ! LoadCompiledTexts @124 ! LoadTexts @125 ! LongHalf @126 ! MakeHalf @127 ! MakeMenuBar @128 ! MakeStretchable @129 ! MkCanvas @130 ! MkDialogue @131 ! MkDir @132 ! MkGroove @133 ! MkHorizontalBrowser @134 ! MkMenu @135 ! MkMenuBarItem @136 ! MkMenuCheck @137 ! MkMenuItem @138 ! MkMenuRadio @139 ! MkProgressWindow @140 ! MkRadioContainer @141 ! MkScratchMenu @142 ! MkSingleMenu @143 ! MkString @144 ! MkTextPointer @145 ! MkVerticalBrowser @146 ! ModifyHeader @147 ! msprintf @148 ! NameCase @149 ! NotifyBrowser @150 ! NotifyFocusMove @151 ! ObjectApearance @152 ! OverlayPointer @153 ! PointerLocation @154 ! PointerOn @155 ! PrintFloatingConversion @156 ! ProcessEvents @157 ! ReBuildContainer @158 ! RedrawScreen @159 ! Refresh @160 ! RefreshListRow @161 ! RegisterConversionHandler @162 ! RegisterDragFlag @163 ! RegisterFileType @164 ! RegisterImage @165 ! RegisterRefresh @166 ! Release @167 ! Remove @168 ! RemoveOverlayPointer @169 ! Req @170 ! Request @171 ! SaveDatafileObject @172 ! ScrMode @173 ! SelectContainer @174 ! SelectCursor @175 ! SetBlitLimit @176 ! SetBrowserSize @177 ! SetCguiFont @178 ! SetDateForm @179 ! SetDeleteHandler @180 ! SetDistance @181 ! SetEditData @182 ! SetFocusOn @183 ! SetHotKey @184 ! SetIndexedList @185 ! SetInsertHandler @186 ! SetLinkedList @187 ! SetListColumns @188 ! SetListDoubleClick @189 ! SetListDroppable @190 ! SetListGrippable @191 ! SetMeasure @192 ! SetMouseButtons @193 ! SetMousePos @194 ! SetObjectDouble @195 ! SetObjectDroppable @196 ! SetObjectGrippable @197 ! SetObjectSlidable @198 ! SetOperatingWindow @199 ! SetSizeOffset @200 ! SetSpacing @201 ! SetView @202 ! SetWindowPosition @203 ! ShowPointer @204 ! SimulateHotKeys @205 ! Sound @206 ! StartContainer @207 ! StopProcessEvents @208 ! String2Date @209 ! TabOnCR @210 ! TextboxGetHighlightedText @211 ! TextboxHighlighting @212 ! TextboxScrollDownOneLine @213 ! ToolTipText @214 ! ToUpper @215 ! UnHookCguiDeInit @216 ! UnInstallKBHandler @217 ! UnPackSelection @218 ! UnRegisterDragFlag @219 ! UpdateProgressValue @220 ! UpdateTextBoxText @221 ! UseHotKeys @222 ! Win2Dos @223 |
From: Christer S. <ch...@us...> - 2009-11-11 07:32:16
|
Update of /cvsroot/cgui/cgui/misc In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13463/misc Modified Files: Tag: Branch_CGUI_1-6-7 fixver.sh makefile.ver zipup.sh Log Message: New revision 2.0.3 (ignore previous commit) Index: makefile.ver =================================================================== RCS file: /cvsroot/cgui/cgui/misc/makefile.ver,v retrieving revision 1.3.2.3.2.21 retrieving revision 1.3.2.3.2.22 diff -C2 -d -r1.3.2.3.2.21 -r1.3.2.3.2.22 *** makefile.ver 27 Sep 2009 20:28:21 -0000 1.3.2.3.2.21 --- makefile.ver 11 Nov 2009 07:31:57 -0000 1.3.2.3.2.22 *************** *** 7,10 **** # Shared library versions for Unix # todo: this is unused at the moment ! shared_version = 2.0.2 shared_major_minor = 2.0 --- 7,10 ---- # Shared library versions for Unix # todo: this is unused at the moment ! shared_version = 2.0.3 shared_major_minor = 2.0 Index: zipup.sh =================================================================== RCS file: /cvsroot/cgui/cgui/misc/zipup.sh,v retrieving revision 1.3.2.5.2.23 retrieving revision 1.3.2.5.2.24 diff -C2 -d -r1.3.2.5.2.23 -r1.3.2.5.2.24 *** zipup.sh 27 Sep 2009 20:28:21 -0000 1.3.2.5.2.23 --- zipup.sh 11 Nov 2009 07:31:57 -0000 1.3.2.5.2.24 *************** *** 10,15 **** # note: these are patched by fixver.sh script. ! zipversion=202 ! tgzversion=2.0.2 if [ "$1" != "-q" ]; then --- 10,15 ---- # note: these are patched by fixver.sh script. ! zipversion=203 ! tgzversion=2.0.3 if [ "$1" != "-q" ]; then Index: fixver.sh =================================================================== RCS file: /cvsroot/cgui/cgui/misc/fixver.sh,v retrieving revision 1.5.2.3.2.35 retrieving revision 1.5.2.3.2.36 diff -C2 -d -r1.5.2.3.2.35 -r1.5.2.3.2.36 *** fixver.sh 27 Sep 2009 20:28:21 -0000 1.5.2.3.2.35 --- fixver.sh 11 Nov 2009 07:31:57 -0000 1.5.2.3.2.36 *************** *** 5,9 **** cv1=2 cv2=0 ! cv3=2 cv4= --- 5,9 ---- cv1=2 cv2=0 ! cv3=3 cv4= |
From: Christer S. <ch...@us...> - 2009-11-11 07:32:06
|
Update of /cvsroot/cgui/cgui/include In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13463/include Modified Files: Tag: Branch_CGUI_1-6-7 cgui.h Log Message: New revision 2.0.3 (ignore previous commit) Index: cgui.h =================================================================== RCS file: /cvsroot/cgui/cgui/include/cgui.h,v retrieving revision 1.5.2.7.2.51 retrieving revision 1.5.2.7.2.52 diff -C2 -d -r1.5.2.7.2.51 -r1.5.2.7.2.52 *** cgui.h 11 Nov 2009 07:28:42 -0000 1.5.2.7.2.51 --- cgui.h 11 Nov 2009 07:31:57 -0000 1.5.2.7.2.52 *************** *** 24,29 **** #define CGUI_VERSION_MAJOR 2 #define CGUI_VERSION_MINOR 0 ! #define CGUI_VERSION_PATCH 2 ! #define CGUI_VERSION_STRING "2.0.2" #define CGUI_DATE 20091111 /* yyyymmdd */ #define CGUI_DATE_STRING "Nov 11, 2009" --- 24,29 ---- #define CGUI_VERSION_MAJOR 2 #define CGUI_VERSION_MINOR 0 ! #define CGUI_VERSION_PATCH 3 ! #define CGUI_VERSION_STRING "2.0.3" #define CGUI_DATE 20091111 /* yyyymmdd */ #define CGUI_DATE_STRING "Nov 11, 2009" |
From: Christer S. <ch...@us...> - 2009-11-11 07:32:06
|
Update of /cvsroot/cgui/cgui/lib/bcc32 In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13463/lib/bcc32 Modified Files: Tag: Branch_CGUI_1-6-7 cgui.def Log Message: New revision 2.0.3 (ignore previous commit) Index: cgui.def =================================================================== RCS file: /cvsroot/cgui/cgui/lib/bcc32/cgui.def,v retrieving revision 1.1.1.1.2.6.2.13 retrieving revision 1.1.1.1.2.6.2.14 diff -C2 -d -r1.1.1.1.2.6.2.13 -r1.1.1.1.2.6.2.14 *** cgui.def 16 Jul 2008 09:50:03 -0000 1.1.1.1.2.6.2.13 --- cgui.def 11 Nov 2009 07:31:57 -0000 1.1.1.1.2.6.2.14 *************** *** 26,40 **** _BrowseToF = BrowseToF _BrowseToL = BrowseToL _CGUI_list_fixfont = CGUI_list_fixfont _CGUI_list_font = CGUI_list_font _CGUI_list_row_b_color = CGUI_list_row_b_color _CGUI_list_row_f_color = CGUI_list_row_f_color _CGUI_list_row_font = CGUI_list_row_font _CGUI_list_vspace = CGUI_list_vspace - _CguiEditBoxSetSelectionMode = CguiEditBoxSetSelectionMode - _CguiEventIterateFunction = CguiEventIterateFunction - _CguiListBoxSetToolTip = CguiListBoxSetToolTip _CguiLoadImage = CguiLoadImage _CguiParseLabels = CguiParseLabels _CguiSetBaseLine = CguiSetBaseLine _CguiSetColor = CguiSetColor --- 26,56 ---- _BrowseToF = BrowseToF _BrowseToL = BrowseToL + _cgui_calloc = cgui_calloc + _cgui_colors = cgui_colors + _cgui_desktop_id = cgui_desktop_id + _cgui_drop_down_list_row_spacing = cgui_drop_down_list_row_spacing + _CguiEditBoxSetSelectionMode = CguiEditBoxSetSelectionMode + _CguiEventIterateFunction = CguiEventIterateFunction + _CguiListBoxRowGetClickedColumn = CguiListBoxRowGetClickedColumn + _CguiListBoxRowSetBar = CguiListBoxRowSetBar + _CguiListBoxSetColumnSelection = CguiListBoxSetColumnSelection + _CguiListBoxSetToolTip = CguiListBoxSetToolTip + _cgui_list_fix_digits = cgui_list_fix_digits _CGUI_list_fixfont = CGUI_list_fixfont _CGUI_list_font = CGUI_list_font + _cgui_list_no_multiple_row_selection = cgui_list_no_multiple_row_selection _CGUI_list_row_b_color = CGUI_list_row_b_color _CGUI_list_row_f_color = CGUI_list_row_f_color _CGUI_list_row_font = CGUI_list_row_font + _cgui_list_show_focused_row = cgui_list_show_focused_row _CGUI_list_vspace = CGUI_list_vspace _CguiLoadImage = CguiLoadImage + _cgui_malloc = cgui_malloc + _cgui_minor_rev = cgui_minor_rev + _cgui_mouse_draw_in_interrupt = cgui_mouse_draw_in_interrupt _CguiParseLabels = CguiParseLabels + _cgui_realloc = cgui_realloc + _cgui_release_date = cgui_release_date + _cgui_rev = cgui_rev _CguiSetBaseLine = CguiSetBaseLine _CguiSetColor = CguiSetColor *************** *** 44,47 **** --- 60,65 ---- _CguiUseIcons = CguiUseIcons _CguiUseUTF8 = CguiUseUTF8 + _cgui_use_vsync = cgui_use_vsync + _cgui_ver = cgui_ver _CguiYieldTimeslice = CguiYieldTimeslice _CheckDate = CheckDate *************** *** 50,53 **** --- 68,72 ---- _CloseWin = CloseWin _ConditionalRefresh = ConditionalRefresh + _continous_update_resize = continous_update_resize _CreateNewDataFile = CreateNewDataFile _CreateTabWindow = CreateTabWindow *************** *** 66,69 **** --- 85,89 ---- _EndMenuBar = EndMenuBar _EndRadioContainer = EndRadioContainer + _event_message_buffer_size = event_message_buffer_size _FileManager = FileManager _FileSelect = FileSelect *************** *** 128,131 **** --- 148,152 ---- _MkVerticalBrowser = MkVerticalBrowser _ModifyHeader = ModifyHeader + _msprintf = msprintf _NameCase = NameCase _NotifyBrowser = NotifyBrowser *************** *** 193,198 **** _TextboxHighlighting = TextboxHighlighting _TextboxScrollDownOneLine = TextboxScrollDownOneLine - _ToUpper = ToUpper _ToolTipText = ToolTipText _UnHookCguiDeInit = UnHookCguiDeInit _UnInstallKBHandler = UnInstallKBHandler --- 214,219 ---- _TextboxHighlighting = TextboxHighlighting _TextboxScrollDownOneLine = TextboxScrollDownOneLine _ToolTipText = ToolTipText + _ToUpper = ToUpper _UnHookCguiDeInit = UnHookCguiDeInit _UnInstallKBHandler = UnInstallKBHandler *************** *** 203,222 **** _UseHotKeys = UseHotKeys _Win2Dos = Win2Dos - _cgui_calloc = cgui_calloc - _cgui_colors = cgui_colors - _cgui_desktop_id = cgui_desktop_id - _cgui_drop_down_list_row_spacing = cgui_drop_down_list_row_spacing - _cgui_list_fix_digits = cgui_list_fix_digits - _cgui_list_no_multiple_row_selection = cgui_list_no_multiple_row_selection - _cgui_list_show_focused_row = cgui_list_show_focused_row - _cgui_malloc = cgui_malloc - _cgui_minor_rev = cgui_minor_rev - _cgui_mouse_draw_in_interrupt = cgui_mouse_draw_in_interrupt - _cgui_realloc = cgui_realloc - _cgui_release_date = cgui_release_date - _cgui_rev = cgui_rev - _cgui_use_vsync = cgui_use_vsync - _cgui_ver = cgui_ver - _continous_update_resize = continous_update_resize - _event_message_buffer_size = event_message_buffer_size - _msprintf = msprintf --- 224,225 ---- |
From: Christer S. <ch...@us...> - 2009-11-11 07:32:05
|
Update of /cvsroot/cgui/cgui/lib/mingw32 In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13463/lib/mingw32 Modified Files: Tag: Branch_CGUI_1-6-7 cgui.def Log Message: New revision 2.0.3 (ignore previous commit) Index: cgui.def =================================================================== RCS file: /cvsroot/cgui/cgui/lib/mingw32/cgui.def,v retrieving revision 1.1.1.1.2.7.2.13 retrieving revision 1.1.1.1.2.7.2.14 diff -C2 -d -r1.1.1.1.2.7.2.13 -r1.1.1.1.2.7.2.14 *** cgui.def 16 Jul 2008 09:50:03 -0000 1.1.1.1.2.7.2.13 --- cgui.def 11 Nov 2009 07:31:57 -0000 1.1.1.1.2.7.2.14 *************** *** 26,222 **** BrowseToF @24 BrowseToL @25 ! CGUI_list_fixfont @26 DATA ! CGUI_list_font @27 DATA ! CGUI_list_row_b_color @28 DATA ! CGUI_list_row_f_color @29 DATA ! CGUI_list_row_font @30 DATA ! CGUI_list_vspace @31 DATA ! CguiEditBoxSetSelectionMode @32 ! CguiEventIterateFunction @33 ! CguiListBoxSetToolTip @34 ! CguiLoadImage @35 ! CguiParseLabels @36 ! CguiSetBaseLine @37 ! CguiSetColor @38 ! CguiSetMouseInput @39 ! CguiSetToolTipAnimation @40 ! CguiSetToolTipDelay @41 ! CguiUseIcons @42 ! CguiUseUTF8 @43 ! CguiYieldTimeslice @44 ! CheckDate @45 ! CheckWinClip @46 ! Click @47 ! CloseWin @48 ! ConditionalRefresh @49 ! CreateNewDataFile @50 ! CreateTabWindow @51 ! CurrentWindow @52 ! Date2String @53 ! DeActivate @54 ! DeInitCgui @55 ! DeleteTree @56 ! DesktopImage @57 ! Destroy @58 ! DestroyTexts @59 ! DisplayWin @60 ! Dos2Win @61 ! EmptyContainer @62 ! EndContainer @63 ! EndMenuBar @64 ! EndRadioContainer @65 ! FileManager @66 ! FileSelect @67 ! FlipRulerTab @68 ! FlushGenEvents @69 ! GenEvent @70 ! GetCguiFixFont @71 ! GetCguiFont @72 ! GetCurrentFocus @73 ! GetEditData @74 ! GetFromWinClip @75 ! GetListIndex @76 ! GetMarkedRows @77 ! GetObjectPosition @78 ! GetPressedButton @79 ! GetRegisteredImage @80 ! GetRulerTabList @81 ! GetSizeOffset @82 ! GetWinInfo @83 ! HidePointer @84 ! HookCguiDeInit @85 ! HookExit @86 ! HookLeaveTab @87 ! HookList @88 ! HookMenuClose @89 ! HookSpinButtons @90 ! InitCguiEx @91 ! InsertIntoWinClip @92 ! InsertPoint @93 ! InstallBelowListEndCallBack @94 ! InstallCursor @95 ! InstallKBHandler @96 ! Invite @97 ! IsHotKey @98 ! JoinTabChain @99 ! KillEvent @100 ! ListTreeSetNodeExpandedState @101 ! ListTreeSetNodesExpandedState @102 ! ListTreeView @103 ! LoadCompiledTexts @104 ! LoadTexts @105 ! LongHalf @106 ! MakeHalf @107 ! MakeMenuBar @108 ! MakeStretchable @109 ! MkCanvas @110 ! MkDialogue @111 ! MkDir @112 ! MkGroove @113 ! MkHorizontalBrowser @114 ! MkMenu @115 ! MkMenuBarItem @116 ! MkMenuCheck @117 ! MkMenuItem @118 ! MkMenuRadio @119 ! MkProgressWindow @120 ! MkRadioContainer @121 ! MkScratchMenu @122 ! MkSingleMenu @123 ! MkString @124 ! MkTextPointer @125 ! MkVerticalBrowser @126 ! ModifyHeader @127 ! NameCase @128 ! NotifyBrowser @129 ! NotifyFocusMove @130 ! ObjectApearance @131 ! OverlayPointer @132 ! PointerLocation @133 ! PointerOn @134 ! PrintFloatingConversion @135 ! ProcessEvents @136 ! ReBuildContainer @137 ! RedrawScreen @138 ! Refresh @139 ! RefreshListRow @140 ! RegisterConversionHandler @141 ! RegisterDragFlag @142 ! RegisterFileType @143 ! RegisterImage @144 ! RegisterRefresh @145 ! Release @146 ! Remove @147 ! RemoveOverlayPointer @148 ! Req @149 ! Request @150 ! SaveDatafileObject @151 ! ScrMode @152 ! SelectContainer @153 ! SelectCursor @154 ! SetBlitLimit @155 ! SetBrowserSize @156 ! SetCguiFont @157 ! SetDateForm @158 ! SetDeleteHandler @159 ! SetDistance @160 ! SetEditData @161 ! SetFocusOn @162 ! SetHotKey @163 ! SetIndexedList @164 ! SetInsertHandler @165 ! SetLinkedList @166 ! SetListColumns @167 ! SetListDoubleClick @168 ! SetListDroppable @169 ! SetListGrippable @170 ! SetMeasure @171 ! SetMouseButtons @172 ! SetMousePos @173 ! SetObjectDouble @174 ! SetObjectDroppable @175 ! SetObjectGrippable @176 ! SetObjectSlidable @177 ! SetOperatingWindow @178 ! SetSizeOffset @179 ! SetSpacing @180 ! SetView @181 ! SetWindowPosition @182 ! ShowPointer @183 ! SimulateHotKeys @184 ! Sound @185 ! StartContainer @186 ! StopProcessEvents @187 ! String2Date @188 ! TabOnCR @189 ! TextboxGetHighlightedText @190 ! TextboxHighlighting @191 ! TextboxScrollDownOneLine @192 ! ToUpper @193 ! ToolTipText @194 ! UnHookCguiDeInit @195 ! UnInstallKBHandler @196 ! UnPackSelection @197 ! UnRegisterDragFlag @198 ! UpdateProgressValue @199 ! UpdateTextBoxText @200 ! UseHotKeys @201 ! Win2Dos @202 ! cgui_calloc @203 ! cgui_colors @204 DATA ! cgui_desktop_id @205 DATA ! cgui_drop_down_list_row_spacing @206 DATA ! cgui_list_fix_digits @207 DATA ! cgui_list_no_multiple_row_selection @208 DATA ! cgui_list_show_focused_row @209 DATA ! cgui_malloc @210 ! cgui_minor_rev @211 DATA ! cgui_mouse_draw_in_interrupt @212 DATA ! cgui_realloc @213 ! cgui_release_date @214 DATA ! cgui_rev @215 DATA ! cgui_use_vsync @216 DATA ! cgui_ver @217 DATA ! continous_update_resize @218 DATA ! event_message_buffer_size @219 DATA ! msprintf @220 --- 26,225 ---- BrowseToF @24 BrowseToL @25 ! cgui_calloc @26 ! cgui_colors @27 DATA ! cgui_desktop_id @28 DATA ! cgui_drop_down_list_row_spacing @29 DATA ! CguiEditBoxSetSelectionMode @30 ! CguiEventIterateFunction @31 ! CguiListBoxRowGetClickedColumn @32 ! CguiListBoxRowSetBar @33 ! CguiListBoxSetColumnSelection @34 ! CguiListBoxSetToolTip @35 ! cgui_list_fix_digits @36 DATA ! CGUI_list_fixfont @37 DATA ! CGUI_list_font @38 DATA ! cgui_list_no_multiple_row_selection @39 DATA ! CGUI_list_row_b_color @40 DATA ! CGUI_list_row_f_color @41 DATA ! CGUI_list_row_font @42 DATA ! cgui_list_show_focused_row @43 DATA ! CGUI_list_vspace @44 DATA ! CguiLoadImage @45 ! cgui_malloc @46 ! cgui_minor_rev @47 DATA ! cgui_mouse_draw_in_interrupt @48 DATA ! CguiParseLabels @49 ! cgui_realloc @50 ! cgui_release_date @51 DATA ! cgui_rev @52 DATA ! CguiSetBaseLine @53 ! CguiSetColor @54 ! CguiSetMouseInput @55 ! CguiSetToolTipAnimation @56 ! CguiSetToolTipDelay @57 ! CguiUseIcons @58 ! CguiUseUTF8 @59 ! cgui_use_vsync @60 DATA ! cgui_ver @61 DATA ! CguiYieldTimeslice @62 ! CheckDate @63 ! CheckWinClip @64 ! Click @65 ! CloseWin @66 ! ConditionalRefresh @67 ! continous_update_resize @68 DATA ! CreateNewDataFile @69 ! CreateTabWindow @70 ! CurrentWindow @71 ! Date2String @72 ! DeActivate @73 ! DeInitCgui @74 ! DeleteTree @75 ! DesktopImage @76 ! Destroy @77 ! DestroyTexts @78 ! DisplayWin @79 ! Dos2Win @80 ! EmptyContainer @81 ! EndContainer @82 ! EndMenuBar @83 ! EndRadioContainer @84 ! event_message_buffer_size @85 DATA ! FileManager @86 ! FileSelect @87 ! FlipRulerTab @88 ! FlushGenEvents @89 ! GenEvent @90 ! GetCguiFixFont @91 ! GetCguiFont @92 ! GetCurrentFocus @93 ! GetEditData @94 ! GetFromWinClip @95 ! GetListIndex @96 ! GetMarkedRows @97 ! GetObjectPosition @98 ! GetPressedButton @99 ! GetRegisteredImage @100 ! GetRulerTabList @101 ! GetSizeOffset @102 ! GetWinInfo @103 ! HidePointer @104 ! HookCguiDeInit @105 ! HookExit @106 ! HookLeaveTab @107 ! HookList @108 ! HookMenuClose @109 ! HookSpinButtons @110 ! InitCguiEx @111 ! InsertIntoWinClip @112 ! InsertPoint @113 ! InstallBelowListEndCallBack @114 ! InstallCursor @115 ! InstallKBHandler @116 ! Invite @117 ! IsHotKey @118 ! JoinTabChain @119 ! KillEvent @120 ! ListTreeSetNodeExpandedState @121 ! ListTreeSetNodesExpandedState @122 ! ListTreeView @123 ! LoadCompiledTexts @124 ! LoadTexts @125 ! LongHalf @126 ! MakeHalf @127 ! MakeMenuBar @128 ! MakeStretchable @129 ! MkCanvas @130 ! MkDialogue @131 ! MkDir @132 ! MkGroove @133 ! MkHorizontalBrowser @134 ! MkMenu @135 ! MkMenuBarItem @136 ! MkMenuCheck @137 ! MkMenuItem @138 ! MkMenuRadio @139 ! MkProgressWindow @140 ! MkRadioContainer @141 ! MkScratchMenu @142 ! MkSingleMenu @143 ! MkString @144 ! MkTextPointer @145 ! MkVerticalBrowser @146 ! ModifyHeader @147 ! msprintf @148 ! NameCase @149 ! NotifyBrowser @150 ! NotifyFocusMove @151 ! ObjectApearance @152 ! OverlayPointer @153 ! PointerLocation @154 ! PointerOn @155 ! PrintFloatingConversion @156 ! ProcessEvents @157 ! ReBuildContainer @158 ! RedrawScreen @159 ! Refresh @160 ! RefreshListRow @161 ! RegisterConversionHandler @162 ! RegisterDragFlag @163 ! RegisterFileType @164 ! RegisterImage @165 ! RegisterRefresh @166 ! Release @167 ! Remove @168 ! RemoveOverlayPointer @169 ! Req @170 ! Request @171 ! SaveDatafileObject @172 ! ScrMode @173 ! SelectContainer @174 ! SelectCursor @175 ! SetBlitLimit @176 ! SetBrowserSize @177 ! SetCguiFont @178 ! SetDateForm @179 ! SetDeleteHandler @180 ! SetDistance @181 ! SetEditData @182 ! SetFocusOn @183 ! SetHotKey @184 ! SetIndexedList @185 ! SetInsertHandler @186 ! SetLinkedList @187 ! SetListColumns @188 ! SetListDoubleClick @189 ! SetListDroppable @190 ! SetListGrippable @191 ! SetMeasure @192 ! SetMouseButtons @193 ! SetMousePos @194 ! SetObjectDouble @195 ! SetObjectDroppable @196 ! SetObjectGrippable @197 ! SetObjectSlidable @198 ! SetOperatingWindow @199 ! SetSizeOffset @200 ! SetSpacing @201 ! SetView @202 ! SetWindowPosition @203 ! ShowPointer @204 ! SimulateHotKeys @205 ! Sound @206 ! StartContainer @207 ! StopProcessEvents @208 ! String2Date @209 ! TabOnCR @210 ! TextboxGetHighlightedText @211 ! TextboxHighlighting @212 ! TextboxScrollDownOneLine @213 ! ToolTipText @214 ! ToUpper @215 ! UnHookCguiDeInit @216 ! UnInstallKBHandler @217 ! UnPackSelection @218 ! UnRegisterDragFlag @219 ! UpdateProgressValue @220 ! UpdateTextBoxText @221 ! UseHotKeys @222 ! Win2Dos @223 |
From: Christer S. <ch...@us...> - 2009-11-11 07:32:05
|
Update of /cvsroot/cgui/cgui/lib/msvc In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13463/lib/msvc Modified Files: Tag: Branch_CGUI_1-6-7 cgui.def Log Message: New revision 2.0.3 (ignore previous commit) Index: cgui.def =================================================================== RCS file: /cvsroot/cgui/cgui/lib/msvc/cgui.def,v retrieving revision 1.1.1.1.2.7.2.13 retrieving revision 1.1.1.1.2.7.2.14 diff -C2 -d -r1.1.1.1.2.7.2.13 -r1.1.1.1.2.7.2.14 *** cgui.def 16 Jul 2008 09:50:03 -0000 1.1.1.1.2.7.2.13 --- cgui.def 11 Nov 2009 07:31:57 -0000 1.1.1.1.2.7.2.14 *************** *** 26,222 **** BrowseToF @24 BrowseToL @25 ! CGUI_list_fixfont @26 DATA ! CGUI_list_font @27 DATA ! CGUI_list_row_b_color @28 DATA ! CGUI_list_row_f_color @29 DATA ! CGUI_list_row_font @30 DATA ! CGUI_list_vspace @31 DATA ! CguiEditBoxSetSelectionMode @32 ! CguiEventIterateFunction @33 ! CguiListBoxSetToolTip @34 ! CguiLoadImage @35 ! CguiParseLabels @36 ! CguiSetBaseLine @37 ! CguiSetColor @38 ! CguiSetMouseInput @39 ! CguiSetToolTipAnimation @40 ! CguiSetToolTipDelay @41 ! CguiUseIcons @42 ! CguiUseUTF8 @43 ! CguiYieldTimeslice @44 ! CheckDate @45 ! CheckWinClip @46 ! Click @47 ! CloseWin @48 ! ConditionalRefresh @49 ! CreateNewDataFile @50 ! CreateTabWindow @51 ! CurrentWindow @52 ! Date2String @53 ! DeActivate @54 ! DeInitCgui @55 ! DeleteTree @56 ! DesktopImage @57 ! Destroy @58 ! DestroyTexts @59 ! DisplayWin @60 ! Dos2Win @61 ! EmptyContainer @62 ! EndContainer @63 ! EndMenuBar @64 ! EndRadioContainer @65 ! FileManager @66 ! FileSelect @67 ! FlipRulerTab @68 ! FlushGenEvents @69 ! GenEvent @70 ! GetCguiFixFont @71 ! GetCguiFont @72 ! GetCurrentFocus @73 ! GetEditData @74 ! GetFromWinClip @75 ! GetListIndex @76 ! GetMarkedRows @77 ! GetObjectPosition @78 ! GetPressedButton @79 ! GetRegisteredImage @80 ! GetRulerTabList @81 ! GetSizeOffset @82 ! GetWinInfo @83 ! HidePointer @84 ! HookCguiDeInit @85 ! HookExit @86 ! HookLeaveTab @87 ! HookList @88 ! HookMenuClose @89 ! HookSpinButtons @90 ! InitCguiEx @91 ! InsertIntoWinClip @92 ! InsertPoint @93 ! InstallBelowListEndCallBack @94 ! InstallCursor @95 ! InstallKBHandler @96 ! Invite @97 ! IsHotKey @98 ! JoinTabChain @99 ! KillEvent @100 ! ListTreeSetNodeExpandedState @101 ! ListTreeSetNodesExpandedState @102 ! ListTreeView @103 ! LoadCompiledTexts @104 ! LoadTexts @105 ! LongHalf @106 ! MakeHalf @107 ! MakeMenuBar @108 ! MakeStretchable @109 ! MkCanvas @110 ! MkDialogue @111 ! MkDir @112 ! MkGroove @113 ! MkHorizontalBrowser @114 ! MkMenu @115 ! MkMenuBarItem @116 ! MkMenuCheck @117 ! MkMenuItem @118 ! MkMenuRadio @119 ! MkProgressWindow @120 ! MkRadioContainer @121 ! MkScratchMenu @122 ! MkSingleMenu @123 ! MkString @124 ! MkTextPointer @125 ! MkVerticalBrowser @126 ! ModifyHeader @127 ! NameCase @128 ! NotifyBrowser @129 ! NotifyFocusMove @130 ! ObjectApearance @131 ! OverlayPointer @132 ! PointerLocation @133 ! PointerOn @134 ! PrintFloatingConversion @135 ! ProcessEvents @136 ! ReBuildContainer @137 ! RedrawScreen @138 ! Refresh @139 ! RefreshListRow @140 ! RegisterConversionHandler @141 ! RegisterDragFlag @142 ! RegisterFileType @143 ! RegisterImage @144 ! RegisterRefresh @145 ! Release @146 ! Remove @147 ! RemoveOverlayPointer @148 ! Req @149 ! Request @150 ! SaveDatafileObject @151 ! ScrMode @152 ! SelectContainer @153 ! SelectCursor @154 ! SetBlitLimit @155 ! SetBrowserSize @156 ! SetCguiFont @157 ! SetDateForm @158 ! SetDeleteHandler @159 ! SetDistance @160 ! SetEditData @161 ! SetFocusOn @162 ! SetHotKey @163 ! SetIndexedList @164 ! SetInsertHandler @165 ! SetLinkedList @166 ! SetListColumns @167 ! SetListDoubleClick @168 ! SetListDroppable @169 ! SetListGrippable @170 ! SetMeasure @171 ! SetMouseButtons @172 ! SetMousePos @173 ! SetObjectDouble @174 ! SetObjectDroppable @175 ! SetObjectGrippable @176 ! SetObjectSlidable @177 ! SetOperatingWindow @178 ! SetSizeOffset @179 ! SetSpacing @180 ! SetView @181 ! SetWindowPosition @182 ! ShowPointer @183 ! SimulateHotKeys @184 ! Sound @185 ! StartContainer @186 ! StopProcessEvents @187 ! String2Date @188 ! TabOnCR @189 ! TextboxGetHighlightedText @190 ! TextboxHighlighting @191 ! TextboxScrollDownOneLine @192 ! ToUpper @193 ! ToolTipText @194 ! UnHookCguiDeInit @195 ! UnInstallKBHandler @196 ! UnPackSelection @197 ! UnRegisterDragFlag @198 ! UpdateProgressValue @199 ! UpdateTextBoxText @200 ! UseHotKeys @201 ! Win2Dos @202 ! cgui_calloc @203 ! cgui_colors @204 DATA ! cgui_desktop_id @205 DATA ! cgui_drop_down_list_row_spacing @206 DATA ! cgui_list_fix_digits @207 DATA ! cgui_list_no_multiple_row_selection @208 DATA ! cgui_list_show_focused_row @209 DATA ! cgui_malloc @210 ! cgui_minor_rev @211 DATA ! cgui_mouse_draw_in_interrupt @212 DATA ! cgui_realloc @213 ! cgui_release_date @214 DATA ! cgui_rev @215 DATA ! cgui_use_vsync @216 DATA ! cgui_ver @217 DATA ! continous_update_resize @218 DATA ! event_message_buffer_size @219 DATA ! msprintf @220 --- 26,225 ---- BrowseToF @24 BrowseToL @25 ! cgui_calloc @26 ! cgui_colors @27 DATA ! cgui_desktop_id @28 DATA ! cgui_drop_down_list_row_spacing @29 DATA ! CguiEditBoxSetSelectionMode @30 ! CguiEventIterateFunction @31 ! CguiListBoxRowGetClickedColumn @32 ! CguiListBoxRowSetBar @33 ! CguiListBoxSetColumnSelection @34 ! CguiListBoxSetToolTip @35 ! cgui_list_fix_digits @36 DATA ! CGUI_list_fixfont @37 DATA ! CGUI_list_font @38 DATA ! cgui_list_no_multiple_row_selection @39 DATA ! CGUI_list_row_b_color @40 DATA ! CGUI_list_row_f_color @41 DATA ! CGUI_list_row_font @42 DATA ! cgui_list_show_focused_row @43 DATA ! CGUI_list_vspace @44 DATA ! CguiLoadImage @45 ! cgui_malloc @46 ! cgui_minor_rev @47 DATA ! cgui_mouse_draw_in_interrupt @48 DATA ! CguiParseLabels @49 ! cgui_realloc @50 ! cgui_release_date @51 DATA ! cgui_rev @52 DATA ! CguiSetBaseLine @53 ! CguiSetColor @54 ! CguiSetMouseInput @55 ! CguiSetToolTipAnimation @56 ! CguiSetToolTipDelay @57 ! CguiUseIcons @58 ! CguiUseUTF8 @59 ! cgui_use_vsync @60 DATA ! cgui_ver @61 DATA ! CguiYieldTimeslice @62 ! CheckDate @63 ! CheckWinClip @64 ! Click @65 ! CloseWin @66 ! ConditionalRefresh @67 ! continous_update_resize @68 DATA ! CreateNewDataFile @69 ! CreateTabWindow @70 ! CurrentWindow @71 ! Date2String @72 ! DeActivate @73 ! DeInitCgui @74 ! DeleteTree @75 ! DesktopImage @76 ! Destroy @77 ! DestroyTexts @78 ! DisplayWin @79 ! Dos2Win @80 ! EmptyContainer @81 ! EndContainer @82 ! EndMenuBar @83 ! EndRadioContainer @84 ! event_message_buffer_size @85 DATA ! FileManager @86 ! FileSelect @87 ! FlipRulerTab @88 ! FlushGenEvents @89 ! GenEvent @90 ! GetCguiFixFont @91 ! GetCguiFont @92 ! GetCurrentFocus @93 ! GetEditData @94 ! GetFromWinClip @95 ! GetListIndex @96 ! GetMarkedRows @97 ! GetObjectPosition @98 ! GetPressedButton @99 ! GetRegisteredImage @100 ! GetRulerTabList @101 ! GetSizeOffset @102 ! GetWinInfo @103 ! HidePointer @104 ! HookCguiDeInit @105 ! HookExit @106 ! HookLeaveTab @107 ! HookList @108 ! HookMenuClose @109 ! HookSpinButtons @110 ! InitCguiEx @111 ! InsertIntoWinClip @112 ! InsertPoint @113 ! InstallBelowListEndCallBack @114 ! InstallCursor @115 ! InstallKBHandler @116 ! Invite @117 ! IsHotKey @118 ! JoinTabChain @119 ! KillEvent @120 ! ListTreeSetNodeExpandedState @121 ! ListTreeSetNodesExpandedState @122 ! ListTreeView @123 ! LoadCompiledTexts @124 ! LoadTexts @125 ! LongHalf @126 ! MakeHalf @127 ! MakeMenuBar @128 ! MakeStretchable @129 ! MkCanvas @130 ! MkDialogue @131 ! MkDir @132 ! MkGroove @133 ! MkHorizontalBrowser @134 ! MkMenu @135 ! MkMenuBarItem @136 ! MkMenuCheck @137 ! MkMenuItem @138 ! MkMenuRadio @139 ! MkProgressWindow @140 ! MkRadioContainer @141 ! MkScratchMenu @142 ! MkSingleMenu @143 ! MkString @144 ! MkTextPointer @145 ! MkVerticalBrowser @146 ! ModifyHeader @147 ! msprintf @148 ! NameCase @149 ! NotifyBrowser @150 ! NotifyFocusMove @151 ! ObjectApearance @152 ! OverlayPointer @153 ! PointerLocation @154 ! PointerOn @155 ! PrintFloatingConversion @156 ! ProcessEvents @157 ! ReBuildContainer @158 ! RedrawScreen @159 ! Refresh @160 ! RefreshListRow @161 ! RegisterConversionHandler @162 ! RegisterDragFlag @163 ! RegisterFileType @164 ! RegisterImage @165 ! RegisterRefresh @166 ! Release @167 ! Remove @168 ! RemoveOverlayPointer @169 ! Req @170 ! Request @171 ! SaveDatafileObject @172 ! ScrMode @173 ! SelectContainer @174 ! SelectCursor @175 ! SetBlitLimit @176 ! SetBrowserSize @177 ! SetCguiFont @178 ! SetDateForm @179 ! SetDeleteHandler @180 ! SetDistance @181 ! SetEditData @182 ! SetFocusOn @183 ! SetHotKey @184 ! SetIndexedList @185 ! SetInsertHandler @186 ! SetLinkedList @187 ! SetListColumns @188 ! SetListDoubleClick @189 ! SetListDroppable @190 ! SetListGrippable @191 ! SetMeasure @192 ! SetMouseButtons @193 ! SetMousePos @194 ! SetObjectDouble @195 ! SetObjectDroppable @196 ! SetObjectGrippable @197 ! SetObjectSlidable @198 ! SetOperatingWindow @199 ! SetSizeOffset @200 ! SetSpacing @201 ! SetView @202 ! SetWindowPosition @203 ! ShowPointer @204 ! SimulateHotKeys @205 ! Sound @206 ! StartContainer @207 ! StopProcessEvents @208 ! String2Date @209 ! TabOnCR @210 ! TextboxGetHighlightedText @211 ! TextboxHighlighting @212 ! TextboxScrollDownOneLine @213 ! ToolTipText @214 ! ToUpper @215 ! UnHookCguiDeInit @216 ! UnInstallKBHandler @217 ! UnPackSelection @218 ! UnRegisterDragFlag @219 ! UpdateProgressValue @220 ! UpdateTextBoxText @221 ! UseHotKeys @222 ! Win2Dos @223 |
From: SourceForge.net <no...@so...> - 2009-11-11 07:29:34
|
Feature Requests item #2895751, was opened at 2009-11-11 06:57 Message generated for change (Settings changed) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=2895751&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: Main Branch >Status: Closed >Resolution: Fixed Priority: 2 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Column underlining Initial Comment: It may be desired that only the column part of the row is underlined. This may be useful in when features requested in #2895747 and #2895750 are used to show urls and perform an appropriated action when clicking on it. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=2895751&group_id=75005 |
From: Christer S. <ch...@us...> - 2009-11-11 07:28:54
|
Update of /cvsroot/cgui/cgui/include In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13150/include Modified Files: Tag: Branch_CGUI_1-6-7 cgui.h Log Message: New revision Index: cgui.h =================================================================== RCS file: /cvsroot/cgui/cgui/include/cgui.h,v retrieving revision 1.5.2.7.2.50 retrieving revision 1.5.2.7.2.51 diff -C2 -d -r1.5.2.7.2.50 -r1.5.2.7.2.51 *** cgui.h 11 Nov 2009 07:25:50 -0000 1.5.2.7.2.50 --- cgui.h 11 Nov 2009 07:28:42 -0000 1.5.2.7.2.51 *************** *** 26,31 **** #define CGUI_VERSION_PATCH 2 #define CGUI_VERSION_STRING "2.0.2" ! #define CGUI_DATE 20090927 /* yyyymmdd */ ! #define CGUI_DATE_STRING "Sep 27, 2009" /* Init */ --- 26,31 ---- #define CGUI_VERSION_PATCH 2 #define CGUI_VERSION_STRING "2.0.2" ! #define CGUI_DATE 20091111 /* yyyymmdd */ ! #define CGUI_DATE_STRING "Nov 11, 2009" /* Init */ |
From: Christer S. <ch...@us...> - 2009-11-11 07:28:49
|
Update of /cvsroot/cgui/cgui/docs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13150/docs Modified Files: Tag: Branch_CGUI_1-6-7 changes._tx Log Message: New revision Index: changes._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/changes._tx,v retrieving revision 1.4.2.9.2.74 retrieving revision 1.4.2.9.2.75 diff -C2 -d -r1.4.2.9.2.74 -r1.4.2.9.2.75 *** changes._tx 27 Sep 2009 20:28:18 -0000 1.4.2.9.2.74 --- changes._tx 11 Nov 2009 07:28:42 -0000 1.4.2.9.2.75 *************** *** 42,45 **** --- 42,51 ---- <ul> <li> + Added feature 2895751 + <li> + Added feature 2895750 + <li> + Added feature 2895747 + <li> Fixed bug 2818191 "ConditionalRefresh problems" and cleaned up the handling of registered "refresh callbacks". |
From: Christer S. <ch...@us...> - 2009-11-11 07:26:16
|
Update of /cvsroot/cgui/cgui/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12879/src Modified Files: Tag: Branch_CGUI_1-6-7 hotkey.c list.c msm.c obedbox.c object.h Log Message: Added features 2895747, 2895750 and 2895751 Index: obedbox.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/obedbox.c,v retrieving revision 1.1.2.1.2.25 retrieving revision 1.1.2.1.2.26 diff -C2 -d -r1.1.2.1.2.25 -r1.1.2.1.2.26 *** obedbox.c 14 Jul 2008 20:20:44 -0000 1.1.2.1.2.25 --- obedbox.c 11 Nov 2009 07:25:50 -0000 1.1.2.1.2.26 *************** *** 712,715 **** --- 712,724 ---- } + /** Cut a prefix from a string + \pre s1 < s2 + \param s1 The beginning of the string + \param s2 the end of the prefix (the first character not removed) */ + static void CutSubstring(char *s1, char *s2) + { + memmove(s1, s2, strlen(s2)+1); + } + /* Deletes marked text */ static char *DeleteMarked(t_editbox *edb) *************** *** 727,731 **** edb->mark1 = edb->mark2 = NULL; if (s1 != s2) { ! strcpy(s1, s2); edb->curpos = s1; } --- 736,740 ---- edb->mark1 = edb->mark2 = NULL; if (s1 != s2) { ! CutSubstring(s1, s2); edb->curpos = s1; } *************** *** 868,1161 **** } static int ProcessKeyPress(t_editbox *edb) { ! char *s, *text; ! int ascii, scan, error = 0, nochar, accept = 1; ! int modifier_flags, keypad_keypress_in_locked_mode = 0, main_part_printable_letter = 0; text = edb->text; - s = edb->curpos; - nochar = strlen(text); ascii = edb->ascii; scan = edb->scan; ! modifier_flags = key_shifts & ~(KB_CAPSLOCK_FLAG|KB_SCROLOCK_FLAG|KB_NUMLOCK_FLAG); ! if (modifier_flags & KB_ALT_FLAG) { ! accept = 0; ! } else { ! if (key_shifts&KB_NUMLOCK_FLAG) { ! /* Then the keys should be interpreted as printable letters, because we don't handle any combinations ! with keypad-keys and alt or ctrl. */ ! switch (scan) { ! case KEY_SLASH_PAD: ! case KEY_MINUS_PAD: ! case KEY_PLUS_PAD: ! case KEY_DEL_PAD: ! case KEY_0_PAD: ! case KEY_1_PAD: ! case KEY_2_PAD: ! case KEY_3_PAD: ! case KEY_4_PAD: ! case KEY_5_PAD: ! case KEY_6_PAD: ! case KEY_7_PAD: ! case KEY_8_PAD: ! case KEY_9_PAD: ! keypad_keypress_in_locked_mode = 1; ! break; ! } ! } ! if (!keypad_keypress_in_locked_mode) { ! switch (scan) { ! case KEY_BACKSPACE: ! if (!persistent_selection && edb->mark1 && edb->mark2 && (edb->mark1 != edb->mark2)) { ! s = DeleteMarked(edb); ! } else { ! edb->mark1 = edb->mark2 = NULL; ! if (s > text) { ! s--; ! strcpy(s, s + 1); ! } ! } ! break; ! case KEY_LEFT: ! case KEY_4_PAD: ! if ((modifier_flags ^ (KB_CTRL_FLAG | KB_SHIFT_FLAG)) == 0) { ! /* Ctrl-shift-left arrow: extend selection to include prev word */ ! if (s > text) { ! if (edb->mark1 == NULL) { ! edb->mark1 = s; } ! s = PrevWord(s, text); ! edb->mark2 = s; ! } ! } else if (modifier_flags & KB_SHIFT_FLAG) { ! /* Shift-Left-arrow: extend selection to include prev letter */ ! if (s > text) { ! if (edb->mark1 == NULL) { ! edb->mark1 = s; } - s--; - edb->mark2 = s; } ! } else if (modifier_flags & KB_CTRL_FLAG) { ! /* Ctrl-left: Move to prev word */ ! s = PrevWord(s, text); ! edb->mark1 = edb->mark2 = NULL; ! } else if (modifier_flags == 0) { ! /* Left: move one letter to the left */ ! edb->mark1 = edb->mark2 = NULL; ! if (s > text) { ! s--; ! } ! } ! break; ! case KEY_RIGHT: ! case KEY_6_PAD: ! if ((modifier_flags ^ (KB_CTRL_FLAG | KB_SHIFT_FLAG)) == 0) { ! /* Ctrl-shift-right arrow: extend selection to include next word */ ! if (s < text + nochar) { ! if (edb->mark1 == NULL) { ! edb->mark1 = s; } - s = NextWord(s); - edb->mark2 = s; } ! } else if (modifier_flags & KB_SHIFT_FLAG) { ! /* Shift-Right-arrow: extend selection to include next letter */ ! if (s < text + nochar) { ! if (edb->mark1 == NULL) { ! edb->mark1 = s; } - s++; - edb->mark2 = s; } ! } else if (modifier_flags & KB_CTRL_FLAG) { ! /* Ctrl-right: Move to next word */ ! s = NextWord(s); ! edb->mark1 = edb->mark2 = NULL; ! } else if (modifier_flags == 0) { ! /* Right: move one letter to the right */ ! edb->mark1 = edb->mark2 = NULL; ! if (s < text + nochar) { ! s++; ! } ! } ! break; ! case KEY_END: ! case KEY_1_PAD: ! if ((modifier_flags ^ (KB_CTRL_FLAG | KB_SHIFT_FLAG)) == 0) { ! } else if (modifier_flags & KB_SHIFT_FLAG) { ! /* Shift-End: extend selection to include rest of the line */ ! if (*s) { ! if (edb->mark1 == NULL) { ! edb->mark1 = s; } - s += strlen(s); - edb->mark2 = s; } ! } else if (modifier_flags & KB_CTRL_FLAG) { ! } else if (modifier_flags == 0) { ! /* Left: move to the end */ ! edb->mark1 = edb->mark2 = NULL; ! s += strlen(s); ! } ! break; ! case KEY_HOME: ! case KEY_7_PAD: ! if ((modifier_flags ^ (KB_CTRL_FLAG | KB_SHIFT_FLAG)) == 0) { ! } else if (modifier_flags & KB_SHIFT_FLAG) { ! /* Shift-Home: extend selection to include all from the beginning of the line */ ! if (s != text) { ! if (edb->mark1 == NULL) { ! edb->mark1 = s; } - s = text; - edb->mark2 = s; } ! } else if (modifier_flags & KB_CTRL_FLAG) { ! } else if (modifier_flags == 0) { ! /* Left: move to the start position */ ! edb->mark1 = edb->mark2 = NULL; ! s = text; ! } ! break; ! case KEY_UP: ! if ((modifier_flags ^ (KB_CTRL_FLAG | KB_SHIFT_FLAG)) == 0) { ! } else if (modifier_flags & KB_SHIFT_FLAG) { ! } else if (modifier_flags & KB_CTRL_FLAG) { ! } else if (modifier_flags == 0) { ! /* Up: increment if it is an integer item else ignore */ ! edb->mark1 = edb->mark2 = NULL; ! IncrementItem(edb); ! FormatItem2Text(edb); ! } ! break; ! case KEY_DOWN: ! if ((modifier_flags ^ (KB_CTRL_FLAG | KB_SHIFT_FLAG)) == 0) { ! } else if (modifier_flags & KB_SHIFT_FLAG) { ! } else if (modifier_flags & KB_CTRL_FLAG) { ! } else if (modifier_flags == 0) { ! /* Down: decrement if it is an integer item else ignore */ ! edb->mark1 = edb->mark2 = NULL; ! DecrementItem(edb); ! FormatItem2Text(edb); ! } ! break; ! case KEY_INSERT: ! if ((modifier_flags ^ (KB_CTRL_FLAG | KB_SHIFT_FLAG)) == 0) { ! } else if (modifier_flags & KB_SHIFT_FLAG) { ! /* Shift-Insert: paste from local buffer */ ! if (!persistent_selection) { ! s = DeleteMarked(edb); } ! edb->mark1 = edb->mark2 = NULL; ! s = Paste(edb, clipboard); ! text = edb->text; ! } else if (modifier_flags & KB_CTRL_FLAG) { ! /* Ctrl-insert: copy selection to local buffer */ ! InsertIntoClipBoard(edb); ! } else if (modifier_flags == 0) { ! } ! break; ! case KEY_DEL_PAD: ! case KEY_DEL: ! if ((modifier_flags ^ (KB_CTRL_FLAG | KB_SHIFT_FLAG)) == 0) { ! } else if (modifier_flags & KB_SHIFT_FLAG) { ! /* Shift-delete: Cut to local buffer */ ! if (InsertIntoClipBoard(edb)) { ! s = DeleteMarked(edb); } else { error = 1; } ! } else if (modifier_flags & KB_CTRL_FLAG) { ! /* Ctrl-delete: Delete all. */ ! s = text; ! *s = 0; edb->mark1 = edb->mark2 = NULL; ! } else if (modifier_flags == 0) { ! if (!persistent_selection && edb->mark1 && edb->mark2 && (edb->mark1 != edb->mark2)) { ! s = DeleteMarked(edb); ! } else if (*edb->curpos) { ! edb->mark1 = edb->mark2 = NULL; ! memmove(edb->curpos, edb->curpos + 1, strlen(edb->curpos)); } else { ! error = 1; } ! } ! break; ! ! case KEY_TAB: ! edb->mark1 = edb->mark2 = NULL; ! accept = 0; ! break; ! case KEY_ENTER: ! case KEY_ENTER_PAD: ! edb->mark1 = edb->mark2 = NULL; ! if ((edb->keyaction & CR_TAB) && scan != TERMINATE_EDIT) { ! simulate_keypress((KEY_TAB<<8)|'\t'); ! } else { TerminateEditing(edb); ! } ! break; ! ! case KEY_ESC: ! RestoreItem(edb); ! edb->mark1 = edb->mark2 = NULL; ! TerminateEditing(edb); ! break; ! default: ! /* Might be a key corresponding to a printable letter. */ ! if ((modifier_flags ^ KB_CTRL_FLAG) == 0) { ! /* Handle all possible ctrl-printable letter (which is not printable, but a command. */ ! switch (ascii) { ! case KEY_C: ! /* Ctrl-C: copy selection to Windows clipboard */ ! if (!CopyToWinClip(edb)) { ! error = 1; ! } ! break; ! case KEY_V: ! /* Ctrl-V: paste from Windows clipboard */ ! if (!persistent_selection) { ! s = DeleteMarked(edb); ! } ! edb->mark1 = edb->mark2 = NULL; ! error = CopyFromWinClip(edb); ! s = edb->curpos; ! break; ! case KEY_X: ! /* Ctrl-X: cut selection to Windows clipboard */ ! if (CopyToWinClip(edb)) { ! s = DeleteMarked(edb); ! } else { ! error = 1; } - break; } } - if (ascii >= 32 && (modifier_flags & ~(KB_SHIFT_FLAG|KB_MENU_FLAG)) == 0) { - main_part_printable_letter = 1; - } - break; } ! } ! if (main_part_printable_letter || keypad_keypress_in_locked_mode) { ! /* Normal case: Insert the corrsponding letter into the string. ! If either of no modifier, shift- or altgr modifier then it's for sure a "normal key" if the ascii is >= 32 ! and we can safely issue a letter. */ ! if (!persistent_selection) { ! s = DeleteMarked(edb); } - edb->mark1 = edb->mark2 = NULL; - s = ProcessPrintableLetter(edb); } } --- 877,1198 ---- } + /* Processes the key-press as found in edb->ascii and edb->scan considering also the allegro key array + and the KB_NUMLOCK_FLAG flag from key_shifts (seems that the latter is not possible to obtain in + any other way). + Tries to detect it is a editing command key or a just typing a letter. In case of command, handled + immediately, while the processing of printable letters is passed on to a helper function. + In general we try to mimic what we beleve is some kind of "standard windowed environment behavior" + when interpreting commands. */ static int ProcessKeyPress(t_editbox *edb) { ! char *input_position; ! char *cut_selection_end; ! char *text; ! int ascii, scan, error = 0; ! int input_position_at_end; ! int input_position_at_beginning; ! int accept_keypress; ! int keypad_printable_key = 0; ! int main_keyboard_printable_key = 0; ! int unhandled_modifiers; ! int numlock; ! int shift; ! int ctrl; ! text = edb->text; ascii = edb->ascii; scan = edb->scan; ! input_position = edb->curpos; ! input_position_at_end = input_position >= text + strlen(text); ! input_position_at_beginning = input_position <= text; ! numlock = key_shifts & KB_NUMLOCK_FLAG; ! shift = key[KEY_LSHIFT] || key[KEY_RSHIFT]; ! ctrl = key[KEY_LCONTROL] || key[KEY_LCONTROL]; ! unhandled_modifiers = key[KEY_LWIN] || key[KEY_RWIN] || key[KEY_MENU]; ! if (!unhandled_modifiers) { ! if (key[KEY_ALT]) { ! accept_keypress = 0; ! } else { ! accept_keypress = 1; ! if (numlock) { ! /* Then the below keys should be interpreted as printable letters, because we don't handle any ! combinations with keypad-keys and alt or ctrl. */ ! switch (scan) { ! case KEY_DEL_PAD: ! case KEY_0_PAD: ! case KEY_1_PAD: ! case KEY_2_PAD: ! case KEY_3_PAD: ! case KEY_4_PAD: ! case KEY_5_PAD: ! case KEY_6_PAD: ! case KEY_7_PAD: ! case KEY_8_PAD: ! case KEY_9_PAD: ! keypad_printable_key = 1; ! break; ! } ! } ! if (!keypad_printable_key) { ! switch (scan) { ! case KEY_BACKSPACE: ! if (!input_position_at_beginning) { ! if (!persistent_selection && edb->mark1 && edb->mark2 && (edb->mark1 != edb->mark2)) { ! input_position = DeleteMarked(edb); } ! /* Input might have moved to the beginning. */ ! input_position_at_beginning = input_position <= text; ! if (!input_position_at_beginning) { ! if (shift && ctrl) { ! } else if (ctrl) { ! cut_selection_end = input_position; ! input_position = PrevWord(input_position, text); ! CutSubstring(input_position, cut_selection_end); ! } else { ! input_position--; ! CutSubstring(input_position, input_position + 1); ! } } } ! break; ! case KEY_LEFT: ! case KEY_4_PAD: ! if (!input_position_at_beginning) { ! if (shift && ctrl) { ! /* Ctrl-shift-left arrow: extend selection to include prev word */ ! if (edb->mark1 == NULL) { ! edb->mark1 = input_position; ! } ! input_position = PrevWord(input_position, text); ! edb->mark2 = input_position; ! } else if (shift) { ! /* Shift-Left-arrow: extend selection to include prev letter */ ! if (edb->mark1 == NULL) { ! edb->mark1 = input_position; ! } ! input_position--; ! edb->mark2 = input_position; ! } else if (ctrl) { ! /* Ctrl-left: Move to prev word */ ! input_position = PrevWord(input_position, text); ! edb->mark1 = edb->mark2 = NULL; ! } else { ! /* Left: move one letter to the left */ ! edb->mark1 = edb->mark2 = NULL; ! input_position--; } } ! break; ! ! case KEY_RIGHT: ! case KEY_6_PAD: ! if (!input_position_at_end) { ! if (shift && ctrl) { ! /* Ctrl-shift-right arrow: extend selection to include next word */ ! if (edb->mark1 == NULL) { ! edb->mark1 = input_position; ! } ! input_position = NextWord(input_position); ! edb->mark2 = input_position; ! } else if (shift) { ! /* Shift-Right-arrow: extend selection to include next letter */ ! if (edb->mark1 == NULL) { ! edb->mark1 = input_position; ! } ! input_position++; ! edb->mark2 = input_position; ! } else if (ctrl) { ! /* Ctrl-right: Move to next word */ ! input_position = NextWord(input_position); ! edb->mark1 = edb->mark2 = NULL; ! } else { ! /* Right: move one letter to the right */ ! edb->mark1 = edb->mark2 = NULL; ! input_position++; } } ! break; ! case KEY_END: ! case KEY_1_PAD: ! if (!input_position_at_end) { ! if (shift && ctrl) { ! } else if (shift) { ! /* Shift-End: extend selection to include rest of the line */ ! if (*input_position) { ! if (edb->mark1 == NULL) { ! edb->mark1 = input_position; ! } ! input_position += strlen(input_position); ! edb->mark2 = input_position; ! } ! } else if (ctrl) { ! } else { ! /* Left: move to the end */ ! edb->mark1 = edb->mark2 = NULL; ! input_position += strlen(input_position); } } ! break; ! case KEY_HOME: ! case KEY_7_PAD: ! if (!input_position_at_beginning) { ! if (shift && ctrl) { ! } else if (shift) { ! /* Shift-Home: extend selection to include all from the beginning of the line */ ! if (edb->mark1 == NULL) { ! edb->mark1 = input_position; ! } ! input_position = text; ! edb->mark2 = input_position; ! } else if (ctrl) { ! } else { ! /* Left: move to the start position */ ! edb->mark1 = edb->mark2 = NULL; ! input_position = text; } } ! break; ! case KEY_UP: ! if (shift && ctrl) { ! } else if (shift) { ! } else if (ctrl) { ! } else { ! /* Up: increment if it is an integer item else ignore */ ! edb->mark1 = edb->mark2 = NULL; ! IncrementItem(edb); ! FormatItem2Text(edb); ! } ! break; ! case KEY_DOWN: ! if (shift && ctrl) { ! } else if (shift) { ! } else if (ctrl) { ! } else { ! /* Down: decrement if it is an integer item else ignore */ ! edb->mark1 = edb->mark2 = NULL; ! DecrementItem(edb); ! FormatItem2Text(edb); ! } ! break; ! case KEY_INSERT: ! if (shift && ctrl) { ! } else if (shift) { ! /* Shift-Insert: paste from local buffer */ ! if (!persistent_selection) { ! input_position = DeleteMarked(edb); ! } ! edb->mark1 = edb->mark2 = NULL; ! input_position = Paste(edb, clipboard); ! text = edb->text; ! } else if (ctrl) { ! /* Ctrl-insert: copy selection to local buffer */ ! InsertIntoClipBoard(edb); ! } else { } ! break; ! case KEY_DEL_PAD: ! case KEY_DEL: ! if (!input_position_at_end) { ! if (!persistent_selection && edb->mark1 && edb->mark2 && (edb->mark1 != edb->mark2)) { ! input_position = DeleteMarked(edb); ! } ! /* Might be at the end now */ ! input_position_at_end = input_position >= text + strlen(text); ! if (!input_position_at_end) { ! if (shift && ctrl) { ! } else if (shift) { ! /* Shift-delete: Cut to local buffer */ ! if (InsertIntoClipBoard(edb)) { ! input_position = DeleteMarked(edb); ! } else { ! error = 1; ! } ! } else if (ctrl) { ! /* Ctrl-delete: Delete next word. */ ! CutSubstring(input_position, NextWord(input_position)); ! } else { ! CutSubstring(input_position, input_position + 1); ! } ! } } else { error = 1; } ! break; ! ! case KEY_TAB: edb->mark1 = edb->mark2 = NULL; ! accept_keypress = 0; ! break; ! ! case KEY_ENTER: ! case KEY_ENTER_PAD: ! edb->mark1 = edb->mark2 = NULL; ! if ((edb->keyaction & CR_TAB) && scan != TERMINATE_EDIT) { ! simulate_keypress((KEY_TAB<<8)|'\t'); } else { ! TerminateEditing(edb); } ! break; ! case KEY_ESC: ! RestoreItem(edb); ! edb->mark1 = edb->mark2 = NULL; TerminateEditing(edb); ! break; ! default: ! /* Might be a key corresponding to a printable letter. */ ! if (ctrl) { ! /* Handle all possible ctrl-printable letter (which is not printable, but a command. */ ! switch (ascii) { ! case KEY_C: ! /* Ctrl-C: copy selection to Windows clipboard */ ! if (!CopyToWinClip(edb)) { ! error = 1; ! } ! break; ! case KEY_V: ! /* Ctrl-V: paste from Windows clipboard */ ! if (!persistent_selection) { ! input_position = DeleteMarked(edb); ! } ! edb->mark1 = edb->mark2 = NULL; ! error = CopyFromWinClip(edb); ! input_position = edb->curpos; ! break; ! case KEY_X: ! /* Ctrl-X: cut selection to Windows clipboard */ ! if (CopyToWinClip(edb)) { ! input_position = DeleteMarked(edb); ! } else { ! error = 1; ! } ! break; } } + if (ascii >= 32) { + main_keyboard_printable_key = 1; + } + break; } } ! if (main_keyboard_printable_key || keypad_printable_key) { ! /* Normal case: Insert the corrsponding letter into the string. ! If either of no modifier, shift- or altgr modifier then it's for sure a "normal key" if the ascii is >= 32 ! and we can safely issue a letter. */ ! if (!persistent_selection) { ! input_position = DeleteMarked(edb); ! } ! edb->mark1 = edb->mark2 = NULL; ! input_position = ProcessPrintableLetter(edb); } } } *************** *** 1163,1170 **** ; /* No error handling. */ } ! edb->curpos = s; SetTextStart(edb); RedrawText(edb); ! return accept; } --- 1200,1207 ---- ; /* No error handling. */ } ! edb->curpos = input_position; SetTextStart(edb); RedrawText(edb); ! return accept_keypress; } Index: object.h =================================================================== RCS file: /cvsroot/cgui/cgui/src/object.h,v retrieving revision 1.1.1.1.4.5 retrieving revision 1.1.1.1.4.6 diff -C2 -d -r1.1.1.1.4.5 -r1.1.1.1.4.6 *** object.h 7 Jul 2009 19:59:50 -0000 1.1.1.1.4.5 --- object.h 11 Nov 2009 07:25:50 -0000 1.1.1.1.4.6 *************** *** 229,232 **** --- 229,233 ---- unsigned char view; /* Flags telling the current viewing properties of the object */ + unsigned char action_by_mouse;/* Tells the hardware source of command a (i.e. call to Action) */ int dx1, dy1, dx2, dy2; /* These are offsets for the mouse sensitive area of the object. Can be used if it is Index: list.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/list.c,v retrieving revision 1.1.2.6.2.27 retrieving revision 1.1.2.6.2.28 diff -C2 -d -r1.1.2.6.2.27 -r1.1.2.6.2.28 *** list.c 2 Aug 2009 08:55:25 -0000 1.1.2.6.2.27 --- list.c 11 Nov 2009 07:25:50 -0000 1.1.2.6.2.28 *************** *** 79,82 **** --- 79,84 ---- #define SetListRef(b, l) ((t_listrow*)b->appdata)->l = l #define GetListRef(b) ((t_listrow*)b->appdata)->l + #define SetClickedColumn(b, x) ((t_listrow*)b->appdata)->clicked_column = (x) + #define GetClickedColumn(b) ((t_listrow*)b->appdata)->clicked_column #define GetRowIndex(b) (((t_listrow*)b->appdata)->l->lc->sti+((t_listrow*)b->appdata)->rn) #define IsExpanded(b) (((t_listrow*)b->appdata)->tn->expanded) *************** *** 88,92 **** #define UserStartX(b) (((t_listrow*)b->appdata)->tn->startx) #define GetLevel(b) (((t_listrow*)b->appdata)->tn->level) - /* Row select set the select flag in a row-object (meaning selected for input */ /* this is specially important for multi-line selection */ --- 90,93 ---- *************** *** 225,228 **** --- 226,235 ---- int single_row_sel; + /* If set a certain column will be selected by the mouse. The call back will + not be differently handled, only the view is affected by this option. The + user will need to check explicitly for the column. If the arrow keys are used + the entire row is marked.*/ + int column_selection; + /* Iterator functions for indexed and linked list respectively. */ union { *************** *** 343,346 **** --- 350,356 ---- int metaclick; + /* The last clicked column, if known, else -1. */ + int clicked_column; + /* Pointer to the visible row object that this is a part of. */ t_object *b; *************** *** 786,790 **** } ! static int FixDigitTextOut(BITMAP *bmp, FONT *font, char *s, int ral, int x, int x2, int y, int color, int bcolor) { char buf[] = " ", *s0; --- 796,800 ---- } ! static int FixDigitTextOut(BITMAP *bmp, FONT *font, char *s, int right_align, int x, int x2, int y, int color, int bcolor) { char buf[] = " ", *s0; *************** *** 819,823 **** } } ! if (ral) { if (*s) { x0 = x; --- 829,833 ---- } } ! if (right_align) { if (*s) { x0 = x; *************** *** 921,931 **** } ! /* Draws one row, refered to by the win-object "b". The actual list index is ! needed to know if the row is below the actual list or not. */ ! static void DrawRow(t_object *b, int i) { t_list *l; ! int colnr, x1, x2, imy, bgx, y1, y2, cx2, alx, strike = 0, uline = 0, ret = 0, strike_x, col_x, text_x, fcolor, bcolor, len, ral; int is_clipped, tot_text_length, available_text_width, x_end, fixw, j, prev_parse_label_state, bar_end_x; char *s, *p, buf[50000], tttext[50000]; BITMAP *bmp; --- 931,965 ---- } ! static void ComputeClickedColumn(t_object *b) { t_list *l; ! int column_number = -1; ! int current_column_end; ! int i; ! ! l = GetListRef(b); ! if (l->column_widths) { ! current_column_end = 0; ! for (i=0; i<l->nrcols; i++) { ! current_column_end += l->column_widths[i]; ! if (b->x < current_column_end) { ! break; ! } ! } ! column_number = i; ! } ! SetClickedColumn(b, column_number); ! } ! ! static void Draw(t_object *b) ! { ! t_list *l; ! int i; ! int colnr, x1, x2, imy, bgx=0, y1, y2, cx2, alx, strike = 0, uline = 0, ret = 0, strike_x, col_x, text_x, fcolor, bcolor, len, right_align; int is_clipped, tot_text_length, available_text_width, x_end, fixw, j, prev_parse_label_state, bar_end_x; + int colum_color; + int column_start; + int column_end; + int column_underline; char *s, *p, buf[50000], tttext[50000]; BITMAP *bmp; *************** *** 935,949 **** bmp = b->parent->bmp; if (bmp == NULL) return; l = GetListRef(b); x1 = b->x1; - strike_x = col_x = x1 + 2; x2 = b->x2; y1 = b->y1; y2 = b->y2; set_clip_rect(bmp, x1, y1, x2, y2); hline(bmp, x1, y2, x2, l->row_delimiter_color); if (b->hasfocus && cgui_list_show_focused_row) { if (b->hasfocus == 2) { --- 969,993 ---- bmp = b->parent->bmp; + s = buf; if (bmp == NULL) return; + i = GetRowIndex(b); l = GetListRef(b); x1 = b->x1; x2 = b->x2; y1 = b->y1; y2 = b->y2; + column_start = x1; + column_end = x2; + strike_x = col_x = x1 + 2; set_clip_rect(bmp, x1, y1, x2, y2); hline(bmp, x1, y2, x2, l->row_delimiter_color); + if (b->state == MS_FIRST_DOWN && GetRowIndex(b) < *l->n && (b->usedbutton == LEFT_MOUSE || b->usedbutton == RIGHT_MOUSE)) { + b->hasfocus = 1; + } else if (b->state == MS_FIRST_DOWN_OFF) { + b->hasfocus = 0; + } + ComputeClickedColumn(b); if (b->hasfocus && cgui_list_show_focused_row) { if (b->hasfocus == 2) { *************** *** 964,971 **** if (appdata) { for (colnr = 0; colnr < l->nrcols; colnr++) { CGUI_list_row_font = l->font; CGUI_list_row_f_color = fcolor; CGUI_list_row_b_color = bcolor; - text_x = col_x; s = buf; if (l->CreateColumnTextOfRow) { --- 1008,1015 ---- if (appdata) { for (colnr = 0; colnr < l->nrcols; colnr++) { + /* Prepare globals before calling user function (these may be uppdated by the caller) */ CGUI_list_row_font = l->font; CGUI_list_row_f_color = fcolor; CGUI_list_row_b_color = bcolor; s = buf; if (l->CreateColumnTextOfRow) { *************** *** 974,977 **** --- 1018,1035 ---- ret = l->CreateRowText(appdata, s); } + right_align = (ret & COL_RIGHT_ALIGN) && l->column_widths; + + text_x = col_x; + if (l->column_widths) { + x_end = col_x + l->column_widths[colnr] - 1; + if (colnr > 0) { + column_start = column_end + 1; + } + column_end = column_start + l->column_widths[colnr] - 1; + } else { + x_end = x2; + column_end = x2; + } + /* Note that the colors may have been changed by the user here */ if (colnr == 0) { bgx = x1; *************** *** 984,989 **** bgx += 2; } ! if (bgx > x1) rectfill(bmp, x1, y1, bgx-1, y2 - 1, cgui_colors[CGUI_COLOR_TREE_VIEW_BACKGROUND]); if (CGUI_list_row_bar_diagram_used) { /* Application wants to use this row to display the bar of a bar diagram. */ --- 1042,1048 ---- bgx += 2; } ! if (bgx > x1) { rectfill(bmp, x1, y1, bgx-1, y2 - 1, cgui_colors[CGUI_COLOR_TREE_VIEW_BACKGROUND]); + } if (CGUI_list_row_bar_diagram_used) { /* Application wants to use this row to display the bar of a bar diagram. */ *************** *** 997,1000 **** --- 1056,1061 ---- rectfill(bmp, bgx, y1, bar_end_x-1, y2 - 1, CGUI_list_row_bar_diagram_color); rectfill(bmp, bar_end_x, y1, x2, y2 - 1, CGUI_list_row_b_color); + } else if (l->column_selection && b->hasfocus && b->action_by_mouse) { + /* We wait a while with drawing the backgroud */ } else { /* Normal case */ *************** *** 1002,1005 **** --- 1063,1080 ---- } } + if (l->column_selection && b->hasfocus && b->action_by_mouse) { + /* Then the back-ground is not yet drawn: we should only highlight the background of + the clicked column. */ + if (colnr == GetClickedColumn(b)) { + /* Set to cgui's default selected color. */ + colum_color = cgui_colors[CGUI_COLOR_LISTBOX_FOCUS_BACKGROUND]; + CGUI_list_row_f_color = fcolor = cgui_colors[CGUI_COLOR_LISTBOX_FOCUS_TEXT]; + } else { + /* Set to cgui's default unselected color. */ + colum_color = cgui_colors[CGUI_COLOR_LISTBOX_BACKGROUND]; + CGUI_list_row_f_color = fcolor = cgui_colors[CGUI_COLOR_LISTBOX_TEXT]; + } + rectfill(bmp, column_start, y1, column_end, y2 - 1, colum_color); + } if (l->treeview && colnr == 0) { text_x = DrawNode(bmp, GetTreeNode(b), text_x, y1, y2-1, l->level_width, l); *************** *** 1012,1018 **** text_x += CHECKSPACE; } uline |= ret & ROW_UNDERLINE; strike |= ret & ROW_STRIKE; ! if (b->hasfocus == 1 && CGUI_list_row_b_color != cgui_colors[CGUI_COLOR_LISTBOX_FOCUS_BACKGROUND]) { /* The row is selected and should be highlighed and at the same time app wants to have a different background. We use some heuristics to get merged colors. */ --- 1087,1094 ---- text_x += CHECKSPACE; } + column_underline = ret & ROW_COLUMN_UNDERLINE; uline |= ret & ROW_UNDERLINE; strike |= ret & ROW_STRIKE; ! if (b->hasfocus == 1 && CGUI_list_row_b_color != bcolor) { /* The row is selected and should be highlighed and at the same time app wants to have a different background. We use some heuristics to get merged colors. */ *************** *** 1023,1036 **** CGUI_list_row_f_color = makecol(255-red, 255-green, 255-blue); } if (l->column_widths) { ! x_end = col_x + l->column_widths[colnr] - 1; ! set_clip_rect(bmp, col_x, y1, x_end, y2); ! } else { ! x_end = x2; } - available_text_width = x_end - text_x; if (HAS_IMAGE(s)) { im = ExtractImage(b, &s); if (im) { imy = y1 + (l->lc->rh - im->h) / 2; DrawImage(im, bmp, text_x, imy); --- 1099,1112 ---- CGUI_list_row_f_color = makecol(255-red, 255-green, 255-blue); } + available_text_width = x_end - text_x; if (l->column_widths) { ! set_clip_rect(bmp, x1, y1, column_end, y2); } if (HAS_IMAGE(s)) { im = ExtractImage(b, &s); if (im) { + if (l->column_widths) { + set_clip_rect(bmp, x1, y1, column_end, y2); + } imy = y1 + (l->lc->rh - im->h) / 2; DrawImage(im, bmp, text_x, imy); *************** *** 1039,1045 **** } } - ral = (ret & COL_RIGHT_ALIGN) && l->column_widths; if (CGUI_list_fixfont) { ! if (ral) { alx = text_x + l->column_widths[colnr] - strlen(s) * CGUI_list_fixfont - 2; } else { --- 1115,1120 ---- } } if (CGUI_list_fixfont) { ! if (right_align) { alx = text_x + l->column_widths[colnr] - strlen(s) * CGUI_list_fixfont - 2; } else { *************** *** 1049,1057 **** tot_text_length = CGUI_list_fixfont * strlen(s); } else if (cgui_list_fix_digits) { ! fixw = FixDigitTextOut(bmp, CGUI_list_row_font, s, ral, text_x, x_end, y1 + l->offs, CGUI_list_row_f_color, CGUI_list_row_b_color); tot_text_length = fixw * strlen(s); } else { tot_text_length = text_length(CGUI_list_row_font, s); ! if (ral) { alx = x_end - tot_text_length - 1; } else { --- 1124,1133 ---- tot_text_length = CGUI_list_fixfont * strlen(s); } else if (cgui_list_fix_digits) { ! fixw = FixDigitTextOut(bmp, CGUI_list_row_font, s, right_align, text_x, x_end, y1 + l->offs, ! CGUI_list_row_f_color, CGUI_list_row_b_color); tot_text_length = fixw * strlen(s); } else { tot_text_length = text_length(CGUI_list_row_font, s); ! if (right_align) { alx = x_end - tot_text_length - 1; } else { *************** *** 1059,1063 **** --- 1135,1143 ---- } textout_ex(bmp, CGUI_list_row_font, s, alx, y1 + l->offs, CGUI_list_row_f_color, -1); + if (column_underline) { + hline(bmp, alx, y1 + GetBaseLine(CGUI_list_row_font), alx+tot_text_length, CGUI_list_row_f_color); + } } + set_clip_rect(bmp, x1, y1, x2, y2); if (tot_text_length >= available_text_width) { is_clipped = 1; *************** *** 1067,1089 **** } if (l->col_delimiter) { ! vline(bmp, col_x - 1, y1, y2, l->column_delimiter_color); } } ! } else { /* clear row */ rectfill(bmp, x1, y1, x2, y2 - 1, bcolor); } /* Handle line strike and underline. */ ! set_clip_rect(bmp, x1, y1, x2, y2); ! if (strike | uline) { if (l->column_widths) col_x -= l->column_widths[l->nrcols - 1]; col_x += text_length(CGUI_list_row_font, s); if (strike) ! hline(bmp, strike_x, ! y1 + l->offs + (text_height(l->font) >> 1) + 2, col_x, ! CGUI_list_row_f_color); if (uline) ! hline(bmp, strike_x, y1 + GetBaseLine(CGUI_list_row_font), col_x, ! CGUI_list_row_f_color); } /* Handle tool tip. */ --- 1147,1170 ---- } if (l->col_delimiter) { ! vline(bmp, column_end - 1, y1, y2, l->column_delimiter_color); } + } /* End column iteration */ + if (l->column_selection && b->hasfocus && l->column_widths) { + /* Fill the unused space to the right of the last column. */ + rectfill(bmp, column_end+1, y1, x2, y2 - 1, cgui_colors[CGUI_COLOR_LISTBOX_BACKGROUND]); } ! } else { ! /* Below list end - no selection, no user data just an empty row */ rectfill(bmp, x1, y1, x2, y2 - 1, bcolor); } /* Handle line strike and underline. */ ! if (appdata && l->nrcols && strike) { if (l->column_widths) col_x -= l->column_widths[l->nrcols - 1]; col_x += text_length(CGUI_list_row_font, s); if (strike) ! hline(bmp, strike_x, y1 + l->offs + (text_height(l->font) >> 1) + 2, col_x, CGUI_list_row_f_color); if (uline) ! hline(bmp, strike_x, y1 + GetBaseLine(CGUI_list_row_font), col_x, CGUI_list_row_f_color); } /* Handle tool tip. */ *************** *** 1115,1119 **** CguiParseLabels(prev_parse_label_state); } ! } else { /* clear row */ rectfill(bmp, x1, y1, x2, y2 - 1, bcolor); } --- 1196,1200 ---- CguiParseLabels(prev_parse_label_state); } ! } else { rectfill(bmp, x1, y1, x2, y2 - 1, bcolor); } *************** *** 1133,1137 **** b->tcfun->UnSetFocus(b); } - // b->hasfocus = 2; // ch.y } nb->tf->Refresh(nb); --- 1214,1217 ---- *************** *** 1163,1185 **** } - /* This is the viewer function of the row object. */ - static void Draw(t_object *b) - { - int i; - t_list *l; - t_listchain *lc; - - l = GetListRef(b); - i = GetRowIndex(b); - - lc = l->lc; - if (b->state == MS_FIRST_DOWN && GetRowIndex(b) < *l->n && (b->usedbutton == LEFT_MOUSE || b->usedbutton == RIGHT_MOUSE)) { - b->hasfocus = 1; - } else if (b->state == MS_FIRST_DOWN_OFF) { - b->hasfocus = 0; - } - DrawRow(b, i); - } - static int isShift(void) { --- 1243,1246 ---- *************** *** 1391,1394 **** --- 1452,1456 ---- b = rd->b; + ComputeClickedColumn(b); l = GetListRef(b); if (IsMetaClick(b)) { /* ... but ignore if it is a meta click */ *************** *** 1797,1800 **** --- 1859,1863 ---- rowsnode = nf->node; l = rowsnode->data; + sf->action_by_mouse = 0; switch (scan) { case KEY_DOWN: *************** *** 1864,1867 **** --- 1927,1931 ---- } if (newsf) { + newsf->action_by_mouse = 0; newsf->usedbutton = LEFT_MOUSE; newsf->tcfun->MoveFocusTo(newsf); *************** *** 2112,2115 **** --- 2176,2180 ---- b->tf = &rtf; b->tcfun = &rtc; + SetRowNumber(b, rowno); SetListRef(b, l); *************** *** 3131,3134 **** --- 3196,3221 ---- } + extern int CguiListBoxRowGetClickedColumn(int rowid) + { + t_object *b; + int column_number = -1; + + b = GetObject(rowid); + if (b) { + column_number = GetClickedColumn(b); + } + return column_number; + } + + extern void CguiListBoxSetColumnSelection(int listid, int state) + { + t_list *l; + + l = GetList(listid); + if (l) { + l->column_selection = 1; + } + } + /*void _PrintListTree(int listid) { Index: hotkey.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/hotkey.c,v retrieving revision 1.1.4.3 retrieving revision 1.1.4.4 diff -C2 -d -r1.1.4.3 -r1.1.4.4 *** hotkey.c 1 Dec 2006 17:35:02 -0000 1.1.4.3 --- hotkey.c 11 Nov 2009 07:25:50 -0000 1.1.4.4 *************** *** 66,69 **** --- 66,70 ---- b->tcfun->MoveFocusTo(b); b->usedbutton = LEFT_MOUSE; + b->action_by_mouse = 0; b->Action(b->appdata); return 1; Index: msm.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/msm.c,v retrieving revision 1.1.2.1.2.12 retrieving revision 1.1.2.1.2.13 diff -C2 -d -r1.1.2.1.2.12 -r1.1.2.1.2.13 *** msm.c 7 Aug 2007 07:49:01 -0000 1.1.2.1.2.12 --- msm.c 11 Nov 2009 07:25:50 -0000 1.1.2.1.2.13 *************** *** 167,170 **** --- 167,172 ---- b->usedbutton = mb; m->prev = mb; + b->x = x; + b->action_by_mouse = 1; b->tcfun->MoveFocusTo(b); if ((isSizeableH(b, mb) && (x > b->x2 - cgui_resizing_offset)) || *************** *** 258,261 **** --- 260,265 ---- LaunchMouseEvent(m); b->tcfun->MoveFocusTo(b); + b->x = x; + b->action_by_mouse = 1; Action(data); } |
From: Christer S. <ch...@us...> - 2009-11-11 07:26:05
|
Update of /cvsroot/cgui/cgui/docs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12879/docs Modified Files: Tag: Branch_CGUI_1-6-7 cgui._tx Log Message: Added features 2895747, 2895750 and 2895751 Index: cgui._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/cgui._tx,v retrieving revision 1.4.2.7.2.57 retrieving revision 1.4.2.7.2.58 diff -C2 -d -r1.4.2.7.2.57 -r1.4.2.7.2.58 *** cgui._tx 27 Sep 2009 20:28:17 -0000 1.4.2.7.2.57 --- cgui._tx 11 Nov 2009 07:25:50 -0000 1.4.2.7.2.58 *************** *** 2729,2732 **** --- 2729,2734 ---- <li> ROW_STRIKE will generate a line striking trough the text <li> ROW_UNDERLINE underlines that row + <li> ROW_COLUMN_UNDERLINE underlines a particular column of the current + row (only valid in case list box columns are used). <li> ROW_CHECK puts a check-mark at the beginning of the row <li> ROW_UNCHECK will reserve space at the beginning of the row *************** *** 3037,3040 **** --- 3039,3066 ---- for the first column. + @@int @CguiListBoxRowGetClickedColumn(int rowid); + @xref CguiListBoxSetColumnSelection + @xref SetListColumns + Returns the column that a certain listbox column was clicked on last time, + or -1 in case the information can not be obtained. + <br> + Parameters: + <ul> + <li> rowid: The id key of the row to get the information about. You get the + id as a parameter to the "row select call-back" function ("Action" + parameter to AddList). Note that this call-back function may also be + called because of the users key-presses, not only because of mouse + clicks. In such cases the column is not well defined. + </ul> + + @@void @CguiListBoxSetColumnSelection(int listid, int state); + @xref CguiListBoxRowGetClickedColumn + @xref SetListColumns + Sets or resets the property "column selection" of a list-box. "Column + selection property" This means that when the user clicks on a row then + only the clicked column will be highlighted. This may be useful in + combination with CguiListBoxRowGetClickedColumn. If state is 0 it is + turned off, else on. By default it is turned off. + @\int @SetListColumns(int listid, @\ int (*RowTextCreater)(void *rowdata, char *s, int colnr), |
From: Christer S. <ch...@us...> - 2009-11-11 07:26:01
|
Update of /cvsroot/cgui/cgui/misc In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12879/misc Modified Files: Tag: Branch_CGUI_1-6-7 dllsyms.lst Log Message: Added features 2895747, 2895750 and 2895751 Index: dllsyms.lst =================================================================== RCS file: /cvsroot/cgui/cgui/misc/dllsyms.lst,v retrieving revision 1.1.1.1.2.3.2.6 retrieving revision 1.1.1.1.2.3.2.7 diff -C2 -d -r1.1.1.1.2.3.2.6 -r1.1.1.1.2.3.2.7 *** dllsyms.lst 16 Jul 2008 09:50:04 -0000 1.1.1.1.2.3.2.6 --- dllsyms.lst 11 Nov 2009 07:25:50 -0000 1.1.1.1.2.3.2.7 *************** *** 24,38 **** BrowseToF BrowseToL CGUI_list_fixfont DATA CGUI_list_font DATA CGUI_list_row_b_color DATA CGUI_list_row_f_color DATA CGUI_list_row_font DATA CGUI_list_vspace DATA - CguiEditBoxSetSelectionMode - CguiEventIterateFunction - CguiListBoxSetToolTip CguiLoadImage CguiParseLabels CguiSetBaseLine CguiSetColor --- 24,54 ---- BrowseToF BrowseToL + cgui_calloc + cgui_colors DATA + cgui_desktop_id DATA + cgui_drop_down_list_row_spacing DATA + CguiEditBoxSetSelectionMode + CguiEventIterateFunction + CguiListBoxRowGetClickedColumn + CguiListBoxRowSetBar + CguiListBoxSetColumnSelection + CguiListBoxSetToolTip + cgui_list_fix_digits DATA CGUI_list_fixfont DATA CGUI_list_font DATA + cgui_list_no_multiple_row_selection DATA CGUI_list_row_b_color DATA CGUI_list_row_f_color DATA CGUI_list_row_font DATA + cgui_list_show_focused_row DATA CGUI_list_vspace DATA CguiLoadImage + cgui_malloc + cgui_minor_rev DATA + cgui_mouse_draw_in_interrupt DATA CguiParseLabels + cgui_realloc + cgui_release_date DATA + cgui_rev DATA CguiSetBaseLine CguiSetColor *************** *** 42,45 **** --- 58,63 ---- CguiUseIcons CguiUseUTF8 + cgui_use_vsync DATA + cgui_ver DATA CguiYieldTimeslice CheckDate *************** *** 48,51 **** --- 66,70 ---- CloseWin ConditionalRefresh + continous_update_resize DATA CreateNewDataFile CreateTabWindow *************** *** 64,67 **** --- 83,87 ---- EndMenuBar EndRadioContainer + event_message_buffer_size DATA FileManager FileSelect *************** *** 126,129 **** --- 146,150 ---- MkVerticalBrowser ModifyHeader + msprintf NameCase NotifyBrowser *************** *** 191,196 **** TextboxHighlighting TextboxScrollDownOneLine - ToUpper ToolTipText UnHookCguiDeInit UnInstallKBHandler --- 212,217 ---- TextboxHighlighting TextboxScrollDownOneLine ToolTipText + ToUpper UnHookCguiDeInit UnInstallKBHandler *************** *** 201,220 **** UseHotKeys Win2Dos - cgui_calloc - cgui_colors DATA - cgui_desktop_id DATA - cgui_drop_down_list_row_spacing DATA - cgui_list_fix_digits DATA - cgui_list_no_multiple_row_selection DATA - cgui_list_show_focused_row DATA - cgui_malloc - cgui_minor_rev DATA - cgui_mouse_draw_in_interrupt DATA - cgui_realloc - cgui_release_date DATA - cgui_rev DATA - cgui_use_vsync DATA - cgui_ver DATA - continous_update_resize DATA - event_message_buffer_size DATA - msprintf --- 222,223 ---- |
From: Christer S. <ch...@us...> - 2009-11-11 07:26:00
|
Update of /cvsroot/cgui/cgui/include In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12879/include Modified Files: Tag: Branch_CGUI_1-6-7 cgui.h Log Message: Added features 2895747, 2895750 and 2895751 Index: cgui.h =================================================================== RCS file: /cvsroot/cgui/cgui/include/cgui.h,v retrieving revision 1.5.2.7.2.49 retrieving revision 1.5.2.7.2.50 diff -C2 -d -r1.5.2.7.2.49 -r1.5.2.7.2.50 *** cgui.h 27 Sep 2009 20:28:21 -0000 1.5.2.7.2.49 --- cgui.h 11 Nov 2009 07:25:50 -0000 1.5.2.7.2.50 *************** *** 287,295 **** /* List-boxes */ ! #define ROW_STRIKE 0x80000000 ! #define ROW_UNDERLINE 0x40000000 ! #define ROW_CHECK 0x20000000 ! #define ROW_UNCHECK 0x10000000 ! #define COL_RIGHT_ALIGN 0x08000000 CGUI_FUNC(int, AddList, (int x, int y, void *listdata, int *n, int width, int events, CGUI_METHOD(int, TextFormatter, (void *, char *)), CGUI_METHOD(void, Action, (int id, void *)), int norows)); CGUI_FUNC(int, SetLinkedList, (int id, CGUI_METHOD(void *, NextCreater, (void *list, void *prev)))); --- 287,297 ---- /* List-boxes */ ! #define ROW_STRIKE (1<<31) ! #define ROW_UNDERLINE (1<<30) ! #define ROW_CHECK (1<<29) ! #define ROW_UNCHECK (1<<28) ! #define COL_RIGHT_ALIGN (1<<27) ! #define ROW_COLUMN_UNDERLINE (1<<26) ! CGUI_FUNC(int, AddList, (int x, int y, void *listdata, int *n, int width, int events, CGUI_METHOD(int, TextFormatter, (void *, char *)), CGUI_METHOD(void, Action, (int id, void *)), int norows)); CGUI_FUNC(int, SetLinkedList, (int id, CGUI_METHOD(void *, NextCreater, (void *list, void *prev)))); *************** *** 317,320 **** --- 319,324 ---- CGUI_FUNC(int, CguiListBoxSetToolTip, (int listid, int mode, int options)); CGUI_FUNC(void, CguiListBoxRowSetBar, (int color, double percentage)); + CGUI_FUNC(int, CguiListBoxRowGetClickedColumn, (int rowid)); + CGUI_FUNC(void, CguiListBoxSetColumnSelection, (int listid, int state)); CGUI_VAR(int , cgui_list_no_multiple_row_selection); |
From: SourceForge.net <no...@so...> - 2009-11-11 06:57:53
|
Feature Requests item #2895751, was opened at 2009-11-11 06:57 Message generated for change (Tracker Item Submitted) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=2895751&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: Main Branch Status: Open Resolution: None Priority: 2 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Column underlining Initial Comment: It may be desired that only the column part of the row is underlined. This may be useful in when features requested in #2895747 and #2895750 are used to show urls and perform an appropriated action when clicking on it. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=2895751&group_id=75005 |
From: SourceForge.net <no...@so...> - 2009-11-11 06:54:45
|
Feature Requests item #2895750, was opened at 2009-11-11 06:54 Message generated for change (Tracker Item Submitted) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=2895750&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: Main Branch Status: Open Resolution: None Priority: 2 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Indicate only a column on list box row click. Initial Comment: An optional list property that highlights only the column (the one clicked) of a row that is clicked. This property is useful when using the feature requested in #2895747. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=2895750&group_id=75005 |
From: SourceForge.net <no...@so...> - 2009-11-11 06:50:09
|
Feature Requests item #2895747, was opened at 2009-11-11 06:50 Message generated for change (Tracker Item Submitted) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=2895747&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: Main Branch Status: Open Resolution: None Priority: 2 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Function to get the clicked column Initial Comment: A function that returns the clicked column of a list box row. If the columns can be resized and several other widgets can, then this task would be hard to perform by the application (if possible), while it is information that is probably already present in the list box. The purpose is to perform different actions depending on which column of a row that was clicked. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=2895747&group_id=75005 |
From: SourceForge.net <no...@so...> - 2009-11-11 06:45:00
|
Feature Requests item #2830892, was opened at 2009-08-01 19:35 Message generated for change (Settings changed) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=2830892&group_id=75005 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: Main Branch >Status: Closed >Resolution: Fixed Priority: 2 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Bar diagram Initial Comment: An option to display bar diagrams in list boxes ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=2830892&group_id=75005 |
Update of /cvsroot/cgui/cgui/docs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv8067/docs Modified Files: Tag: Branch_CGUI_1-6-7 cgui._tx changes._tx internal._tx thanks._tx wishlist._tx Log Message: Made new version Index: internal._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/internal._tx,v retrieving revision 1.4.2.3.2.34 retrieving revision 1.4.2.3.2.35 diff -C2 -d -r1.4.2.3.2.34 -r1.4.2.3.2.35 *** internal._tx 16 Jul 2008 09:50:00 -0000 1.4.2.3.2.34 --- internal._tx 27 Sep 2009 20:28:18 -0000 1.4.2.3.2.35 *************** *** 14,18 **** @rtfh=CGUI Internal @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.1" "CGUI" "CGUI Internal" @$\input texinfo @$@setfilename internal.inf --- 14,18 ---- @rtfh=CGUI Internal @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.2" "CGUI" "CGUI Internal" @$\input texinfo @$@setfilename internal.inf Index: wishlist._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/wishlist._tx,v retrieving revision 1.4.2.3.2.34 retrieving revision 1.4.2.3.2.35 diff -C2 -d -r1.4.2.3.2.34 -r1.4.2.3.2.35 *** wishlist._tx 16 Jul 2008 09:50:00 -0000 1.4.2.3.2.34 --- wishlist._tx 27 Sep 2009 20:28:19 -0000 1.4.2.3.2.35 *************** *** 8,12 **** @document_title=CGUI whishlist @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.1" "CGUI" "CGUI whishlist" @rtfh=CGUI Wish List @$\input texinfo --- 8,12 ---- @document_title=CGUI whishlist @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.2" "CGUI" "CGUI whishlist" @rtfh=CGUI Wish List @$\input texinfo Index: thanks._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/thanks._tx,v retrieving revision 1.4.2.4.2.36 retrieving revision 1.4.2.4.2.37 diff -C2 -d -r1.4.2.4.2.36 -r1.4.2.4.2.37 *** thanks._tx 16 Jul 2008 09:50:00 -0000 1.4.2.4.2.36 --- thanks._tx 27 Sep 2009 20:28:19 -0000 1.4.2.4.2.37 *************** *** 10,14 **** @document_title=CGUI Contributors @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.1" "CGUI" "CGUI thanks" @rtfh=Adime Thanks List @$\input texinfo --- 10,14 ---- @document_title=CGUI Contributors @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.2" "CGUI" "CGUI thanks" @rtfh=Adime Thanks List @$\input texinfo Index: cgui._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/cgui._tx,v retrieving revision 1.4.2.7.2.56 retrieving revision 1.4.2.7.2.57 diff -C2 -d -r1.4.2.7.2.56 -r1.4.2.7.2.57 *** cgui._tx 23 Aug 2009 10:15:41 -0000 1.4.2.7.2.56 --- cgui._tx 27 Sep 2009 20:28:17 -0000 1.4.2.7.2.57 *************** *** 12,16 **** @rtfh=CGUI - a C-based GUI @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.1" "CGUI" "CGUI manual" @$\input texinfo @$@setfilename cgui.inf --- 12,16 ---- @rtfh=CGUI - a C-based GUI @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.2" "CGUI" "CGUI manual" @$\input texinfo @$@setfilename cgui.inf *************** *** 30,34 **** <center>Email: <email>chr...@md...</a></center> <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/">http://www.idt.mdh.se/~csg/cgui/</a></center> ! <center><b>The Manual of CGUI 2.0.1 @!text @heading --- 30,34 ---- <center>Email: <email>chr...@md...</a></center> <center>Homepage: <a href="http://www.idt.mdh.se/~csg/cgui/">http://www.idt.mdh.se/~csg/cgui/</a></center> ! <center><b>The Manual of CGUI 2.0.2 @!text @heading Index: changes._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/changes._tx,v retrieving revision 1.4.2.9.2.73 retrieving revision 1.4.2.9.2.74 diff -C2 -d -r1.4.2.9.2.73 -r1.4.2.9.2.74 *** changes._tx 2 Aug 2009 08:55:24 -0000 1.4.2.9.2.73 --- changes._tx 27 Sep 2009 20:28:18 -0000 1.4.2.9.2.74 *************** *** 8,12 **** @document_title=Changes in CGUI @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.1" "CGUI" "CGUI changes" @rtfh=Changes in CGUI @$\input texinfo --- 8,12 ---- @document_title=Changes in CGUI @# Note: this version number is patched by fixver.sh ! @manh="version 2.0.2" "CGUI" "CGUI changes" @rtfh=Changes in CGUI @$\input texinfo |
From: Christer S. <ch...@us...> - 2009-09-27 20:28:34
|
Update of /cvsroot/cgui/cgui/misc In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv8067/misc Modified Files: Tag: Branch_CGUI_1-6-7 fixver.sh makefile.ver zipup.sh Log Message: Made new version Index: makefile.ver =================================================================== RCS file: /cvsroot/cgui/cgui/misc/makefile.ver,v retrieving revision 1.3.2.3.2.20 retrieving revision 1.3.2.3.2.21 diff -C2 -d -r1.3.2.3.2.20 -r1.3.2.3.2.21 *** makefile.ver 16 Jul 2008 09:50:04 -0000 1.3.2.3.2.20 --- makefile.ver 27 Sep 2009 20:28:21 -0000 1.3.2.3.2.21 *************** *** 7,10 **** # Shared library versions for Unix # todo: this is unused at the moment ! shared_version = 2.0.1 shared_major_minor = 2.0 --- 7,10 ---- # Shared library versions for Unix # todo: this is unused at the moment ! shared_version = 2.0.2 shared_major_minor = 2.0 Index: zipup.sh =================================================================== RCS file: /cvsroot/cgui/cgui/misc/zipup.sh,v retrieving revision 1.3.2.5.2.22 retrieving revision 1.3.2.5.2.23 diff -C2 -d -r1.3.2.5.2.22 -r1.3.2.5.2.23 *** zipup.sh 16 Jul 2008 09:50:04 -0000 1.3.2.5.2.22 --- zipup.sh 27 Sep 2009 20:28:21 -0000 1.3.2.5.2.23 *************** *** 10,15 **** # note: these are patched by fixver.sh script. ! zipversion=201 ! tgzversion=2.0.1 if [ "$1" != "-q" ]; then --- 10,15 ---- # note: these are patched by fixver.sh script. ! zipversion=202 ! tgzversion=2.0.2 if [ "$1" != "-q" ]; then Index: fixver.sh =================================================================== RCS file: /cvsroot/cgui/cgui/misc/fixver.sh,v retrieving revision 1.5.2.3.2.34 retrieving revision 1.5.2.3.2.35 diff -C2 -d -r1.5.2.3.2.34 -r1.5.2.3.2.35 *** fixver.sh 16 Jul 2008 09:50:04 -0000 1.5.2.3.2.34 --- fixver.sh 27 Sep 2009 20:28:21 -0000 1.5.2.3.2.35 *************** *** 5,9 **** cv1=2 cv2=0 ! cv3=1 cv4= --- 5,9 ---- cv1=2 cv2=0 ! cv3=2 cv4= |
From: Christer S. <ch...@us...> - 2009-09-27 20:28:31
|
Update of /cvsroot/cgui/cgui/include In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv8067/include Modified Files: Tag: Branch_CGUI_1-6-7 cgui.h Log Message: Made new version Index: cgui.h =================================================================== RCS file: /cvsroot/cgui/cgui/include/cgui.h,v retrieving revision 1.5.2.7.2.48 retrieving revision 1.5.2.7.2.49 diff -C2 -d -r1.5.2.7.2.48 -r1.5.2.7.2.49 *** cgui.h 2 Aug 2009 08:55:25 -0000 1.5.2.7.2.48 --- cgui.h 27 Sep 2009 20:28:21 -0000 1.5.2.7.2.49 *************** *** 24,31 **** #define CGUI_VERSION_MAJOR 2 #define CGUI_VERSION_MINOR 0 ! #define CGUI_VERSION_PATCH 1 ! #define CGUI_VERSION_STRING "2.0.1" ! #define CGUI_DATE 20080716 /* yyyymmdd */ ! #define CGUI_DATE_STRING "Jul 16, 2008" /* Init */ --- 24,31 ---- #define CGUI_VERSION_MAJOR 2 #define CGUI_VERSION_MINOR 0 ! #define CGUI_VERSION_PATCH 2 ! #define CGUI_VERSION_STRING "2.0.2" ! #define CGUI_DATE 20090927 /* yyyymmdd */ ! #define CGUI_DATE_STRING "Sep 27, 2009" /* Init */ |
From: Christer S. <ch...@us...> - 2009-08-23 10:15:51
|
Update of /cvsroot/cgui/cgui/docs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22148/docs Modified Files: Tag: Branch_CGUI_1-6-7 cgui._tx Log Message: Clarified docs Index: cgui._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/cgui._tx,v retrieving revision 1.4.2.7.2.55 retrieving revision 1.4.2.7.2.56 diff -C2 -d -r1.4.2.7.2.55 -r1.4.2.7.2.56 *** cgui._tx 2 Aug 2009 08:55:24 -0000 1.4.2.7.2.55 --- cgui._tx 23 Aug 2009 10:15:41 -0000 1.4.2.7.2.56 *************** *** 4343,4348 **** the image of the normal state. <br> ! Not all object types will make use of images for all tree state ! e.g. the Tag object type will not. <li> The text string to `Req' has a special format with a leading info-text followed by a sequence of at least one button-label, --- 4343,4352 ---- the image of the normal state. <br> ! Not all widget types will make use of images for all tree state ! e.g. the Tag widget type will not. ! As a consequence that also other kinds of commands are possible to ! embed in the label string, and can start with a "#", you can not use ! image names starting with a digit. A specification of an image ! assigned a name starting with a digit will be parsed as a short-cut. <li> The text string to `Req' has a special format with a leading info-text followed by a sequence of at least one button-label, *************** *** 4370,4373 **** --- 4374,4378 ---- @xref ScrMode @xref GetRegisteredImage + @xref Labels This function loads an image with name `imagename' from file `filename'. <br>Why? - The image as well as its name will be registered in the CGUI *************** *** 4376,4380 **** <li> You may later refer to that image when creating objects, i.e. you can use the `imagename' in the label string to ! specify that it shall be the icon used for the object. <li> When node `id' is destroyed the image will also be - you don't need to worry about returning the memory. --- 4381,4387 ---- <li> You may later refer to that image when creating objects, i.e. you can use the `imagename' in the label string to ! specify that it shall be the icon used for the widget. Any ! widget type that has a label will support showing images this awy. ! See the section Labels for details. <li> When node `id' is destroyed the image will also be - you don't need to worry about returning the memory. *************** *** 4407,4411 **** display the image) this name must be used. <br>In case the file is an Allegro-datafile (detected by the ! extension ".dat") the imagename is ignored. <ul> <li> In case of loading a single image from a DATA-file --- 4414,4420 ---- display the image) this name must be used. <br>In case the file is an Allegro-datafile (detected by the ! extension ".dat") the imagename is ignored. The name must be be chosen ! so that it does not conflict with other commands embedded in labels. ! See the section Labels for details. <ul> <li> In case of loading a single image from a DATA-file |
From: Christer S. <ch...@us...> - 2009-08-02 08:55:34
|
Update of /cvsroot/cgui/cgui/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv21024/src Modified Files: Tag: Branch_CGUI_1-6-7 list.c Log Message: fixes due to feature 2830892 Index: list.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/list.c,v retrieving revision 1.1.2.6.2.26 retrieving revision 1.1.2.6.2.27 diff -C2 -d -r1.1.2.6.2.26 -r1.1.2.6.2.27 *** list.c 8 Feb 2009 10:43:55 -0000 1.1.2.6.2.26 --- list.c 2 Aug 2009 08:55:25 -0000 1.1.2.6.2.27 *************** *** 110,113 **** --- 110,118 ---- #endif + /* To hold values for a bar diagram bar of a specific row (to be set by the application). */ + static int CGUI_list_row_bar_diagram_color; + static double CGUI_list_row_bar_diagram_percentage; + static int CGUI_list_row_bar_diagram_used; + typedef struct t_listchain t_listchain; typedef struct t_tree_node t_tree_node; *************** *** 922,926 **** t_list *l; int colnr, x1, x2, imy, bgx, y1, y2, cx2, alx, strike = 0, uline = 0, ret = 0, strike_x, col_x, text_x, fcolor, bcolor, len, ral; ! int is_clipped, tot_text_length, available_text_width, x_end, fixw, j, prev_parse_label_state; char *s, *p, buf[50000], tttext[50000]; BITMAP *bmp; --- 927,931 ---- t_list *l; int colnr, x1, x2, imy, bgx, y1, y2, cx2, alx, strike = 0, uline = 0, ret = 0, strike_x, col_x, text_x, fcolor, bcolor, len, ral; ! int is_clipped, tot_text_length, available_text_width, x_end, fixw, j, prev_parse_label_state, bar_end_x; char *s, *p, buf[50000], tttext[50000]; BITMAP *bmp; *************** *** 954,957 **** --- 959,963 ---- } is_clipped = 0; + CGUI_list_row_bar_diagram_used = 0; if (l->nrcols) { appdata = GetApplicationData(i, l, b); *************** *** 980,984 **** if (bgx > x1) rectfill(bmp, x1, y1, bgx-1, y2 - 1, cgui_colors[CGUI_COLOR_TREE_VIEW_BACKGROUND]); ! rectfill(bmp, bgx, y1, x2, y2 - 1, CGUI_list_row_b_color); } if (l->treeview && colnr == 0) { --- 986,1004 ---- if (bgx > x1) rectfill(bmp, x1, y1, bgx-1, y2 - 1, cgui_colors[CGUI_COLOR_TREE_VIEW_BACKGROUND]); ! if (CGUI_list_row_bar_diagram_used) { ! /* Application wants to use this row to display the bar of a bar diagram. */ ! bar_end_x = (x2 - bgx + 1) * CGUI_list_row_bar_diagram_percentage + 0.5; ! if (b->hasfocus == 1) { ! red = getr(CGUI_list_row_b_color) / 2 + getr(CGUI_list_row_bar_diagram_color) / 2; ! green = getg(CGUI_list_row_b_color) / 2 + getg(CGUI_list_row_bar_diagram_color) / 2; ! blue = getb(CGUI_list_row_b_color) / 2 + getb(CGUI_list_row_bar_diagram_color) / 2; ! CGUI_list_row_bar_diagram_color = makecol(red, green, blue); ! } ! rectfill(bmp, bgx, y1, bar_end_x-1, y2 - 1, CGUI_list_row_bar_diagram_color); ! rectfill(bmp, bar_end_x, y1, x2, y2 - 1, CGUI_list_row_b_color); ! } else { ! /* Normal case */ ! rectfill(bmp, bgx, y1, x2, y2 - 1, CGUI_list_row_b_color); ! } } if (l->treeview && colnr == 0) { *************** *** 3104,3107 **** --- 3124,3134 ---- } + extern void CguiListBoxRowSetBar(int color, double percentage) + { + CGUI_list_row_bar_diagram_color = color; + CGUI_list_row_bar_diagram_percentage = percentage; + CGUI_list_row_bar_diagram_used = 1; + } + /*void _PrintListTree(int listid) { |
From: Christer S. <ch...@us...> - 2009-08-02 08:55:34
|
Update of /cvsroot/cgui/cgui/include In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv21024/include Modified Files: Tag: Branch_CGUI_1-6-7 cgui.h Log Message: fixes due to feature 2830892 Index: cgui.h =================================================================== RCS file: /cvsroot/cgui/cgui/include/cgui.h,v retrieving revision 1.5.2.7.2.47 retrieving revision 1.5.2.7.2.48 diff -C2 -d -r1.5.2.7.2.47 -r1.5.2.7.2.48 *** cgui.h 16 Jul 2008 09:50:01 -0000 1.5.2.7.2.47 --- cgui.h 2 Aug 2009 08:55:25 -0000 1.5.2.7.2.48 *************** *** 316,319 **** --- 316,320 ---- CGUI_FUNC(int, InstallBelowListEndCallBack, (int listid, CGUI_METHOD(void, CallBack, (int id, void *data)), void *data)); CGUI_FUNC(int, CguiListBoxSetToolTip, (int listid, int mode, int options)); + CGUI_FUNC(void, CguiListBoxRowSetBar, (int color, double percentage)); CGUI_VAR(int , cgui_list_no_multiple_row_selection); |
From: Christer S. <ch...@us...> - 2009-08-02 08:55:34
|
Update of /cvsroot/cgui/cgui/docs In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv21024/docs Modified Files: Tag: Branch_CGUI_1-6-7 cgui._tx changes._tx Log Message: fixes due to feature 2830892 Index: changes._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/changes._tx,v retrieving revision 1.4.2.9.2.72 retrieving revision 1.4.2.9.2.73 diff -C2 -d -r1.4.2.9.2.72 -r1.4.2.9.2.73 *** changes._tx 7 Jul 2009 19:59:50 -0000 1.4.2.9.2.72 --- changes._tx 2 Aug 2009 08:55:24 -0000 1.4.2.9.2.73 *************** *** 53,56 **** --- 53,58 ---- RegisterImage(). This conforms to the docs for RegisterImage saying "...see also the examples". + <li> + Added feature 2830892 </ul> Index: cgui._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/cgui._tx,v retrieving revision 1.4.2.7.2.54 retrieving revision 1.4.2.7.2.55 diff -C2 -d -r1.4.2.7.2.54 -r1.4.2.7.2.55 *** cgui._tx 7 Jul 2009 19:59:50 -0000 1.4.2.7.2.54 --- cgui._tx 2 Aug 2009 08:55:24 -0000 1.4.2.7.2.55 *************** *** 3022,3025 **** --- 3022,3040 ---- The return value is 1 if a listid is a valid id of a list, else 0. + @@void @CguiListBoxRowSetBar(int color, double percentage); + This function may be useful in case you want to use a list-box to show the + rows like in a bar diagram. + <br> + Parameters: + <ul> + <li> color: The color of the bar (the first part of the row's background). + <li> percentage: The lenght of the bar as a fraction of a full rows width + (where 1.0 is a full row). + </ul> + This function has only affect when called from a list-box row drawing + function, and it will only affect the currently drawn row. If the list-box + uses columns, the function only have effect when the call-back is called + for the first column. + @\int @SetListColumns(int listid, @\ int (*RowTextCreater)(void *rowdata, char *s, int colnr), |