cgui-develop Mailing List for CGUI - a gui lib for multiplatform (Page 6)
Brought to you by:
chrisan,
rasmusmyklebust
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) |
From: Christer S. <ch...@us...> - 2008-06-11 07:23:10
|
Update of /cvsroot/cgui/cgui/include In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv11882/include Modified Files: Tag: Branch_CGUI_1-6-7 cgui.h Log Message: added features 1990500 1990492 and 1990491 Index: cgui.h =================================================================== RCS file: /cvsroot/cgui/cgui/include/cgui.h,v retrieving revision 1.5.2.7.2.42 retrieving revision 1.5.2.7.2.43 diff -C2 -d -r1.5.2.7.2.42 -r1.5.2.7.2.43 *** cgui.h 27 Apr 2008 10:54:23 -0000 1.5.2.7.2.42 --- cgui.h 11 Jun 2008 07:23:07 -0000 1.5.2.7.2.43 *************** *** 161,164 **** --- 161,168 ---- CGUI_FUNC(int, AddStatusField, (int x, int y, int width, CGUI_METHOD(void, FormatFunc, (void *data, char *string)), void *data)); CGUI_FUNC(int, AddTextBox, (int x, int y, const char *text, int width, int nrows, int option)); + CGUI_FUNC(void, TextboxHighlighting, (int id, int bgcolor, int textcolor, int line_nr)); + CGUI_FUNC(void, TextboxScrollDownOneLine, (int id)); + CGUI_FUNC(const char*, TextboxGetHighlightedText, (int id)); + #define TB_FRAMERAISE 0x80000000 /* text-box options */ #define TB_FRAMESINK 0x40000000 |
From: Christer S. <ch...@us...> - 2008-06-11 07:18:34
|
Update of /cvsroot/cgui/cgui/examples In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9843/examples Modified Files: Tag: Branch_CGUI_1-6-7 05txtbox.c Log Message: added features 1990500 1990492 and 1990491 Index: 05txtbox.c =================================================================== RCS file: /cvsroot/cgui/cgui/examples/05txtbox.c,v retrieving revision 1.1.2.5.2.1 retrieving revision 1.1.2.5.2.2 diff -C2 -d -r1.1.2.5.2.1 -r1.1.2.5.2.2 *** 05txtbox.c 28 Sep 2007 22:17:00 -0000 1.1.2.5.2.1 --- 05txtbox.c 11 Jun 2008 07:18:29 -0000 1.1.2.5.2.2 *************** *** 70,74 **** 120, 8, TB_FRAMESINK|TB_PREFORMAT); MakeStretchable(id, NULL, 0,0); - AddTextBox(DOWNLEFT, "You will experiance yet another mode of the text-box " "if you click on the button \"Show code\"._" --- 70,73 ---- |
From: Christer S. <ch...@us...> - 2008-06-11 07:18:33
|
Update of /cvsroot/cgui/cgui/src In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9843/src Modified Files: Tag: Branch_CGUI_1-6-7 browsbar.c obtext.c Log Message: added features 1990500 1990492 and 1990491 Index: browsbar.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/browsbar.c,v retrieving revision 1.1 retrieving revision 1.1.4.1 diff -C2 -d -r1.1 -r1.1.4.1 *** browsbar.c 2 Mar 2003 17:45:16 -0000 1.1 --- browsbar.c 11 Jun 2008 07:18:29 -0000 1.1.4.1 *************** *** 221,224 **** --- 221,225 ---- bb->handle_pos = MIN(*bb->pos * scale + 0.5, bb->sliding_area_length - bb->handle_length); bb->b->inactive = 0; + bb->handle_length = MAX(bb->handle_length, 20); } return bb->b->inactive == 0; Index: obtext.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/obtext.c,v retrieving revision 1.1.2.3.2.6 retrieving revision 1.1.2.3.2.7 diff -C2 -d -r1.1.2.3.2.6 -r1.1.2.3.2.7 *** obtext.c 6 Sep 2007 18:57:24 -0000 1.1.2.3.2.6 --- obtext.c 11 Jun 2008 07:18:29 -0000 1.1.2.3.2.7 *************** *** 60,63 **** --- 60,67 ---- int br; int dirty; + int hilite; + int hrow; + int bgcolor; + int textcolor; } t_textob; *************** *** 238,242 **** t_textob *to; char **p; ! int y, clip_x2, clip_y2, fixw = 0; BITMAP *bmp; --- 242,246 ---- t_textob *to; char **p; ! int y, clip_x2, clip_y2, fixw = 0, highlightcolor = -1, textcolor, row_index; BITMAP *bmp; *************** *** 257,266 **** /* 3 pixels for the frame */ set_clip_rect(bmp, bmp->cl, bmp->ct, b->x2 - 3, b->y2 - 3); for (y = b->y1 + 3, p = to->page + to->sti; *p && y < b->y2; p++, y += to->rh) { if (to->fixfont) { ! FixTextOut(bmp, b->font, *p, b->x1 + 2, y, cgui_black, cgui_gray, fixw); } else { ! textout_ex(bmp, b->font, *p, b->x1 + 2, y, cgui_black, -1); } } set_clip_rect(bmp, bmp->cl, bmp->ct, clip_x2, clip_y2); --- 261,282 ---- /* 3 pixels for the frame */ set_clip_rect(bmp, bmp->cl, bmp->ct, b->x2 - 3, b->y2 - 3); + textcolor = cgui_black; + if (to->hilite) { + rectfill(bmp, b->x1+1, b->y1+(to->hrow*to->rh)+3, b->x2, b->y1+(to->hrow*to->rh+to->rh)+2, to->bgcolor); + highlightcolor = to->textcolor; + } + row_index = 0; for (y = b->y1 + 3, p = to->page + to->sti; *p && y < b->y2; p++, y += to->rh) { + if (row_index == to->hrow && highlightcolor != -1) { + textcolor = highlightcolor; + } else { + textcolor = cgui_black; + } if (to->fixfont) { ! FixTextOut(bmp, b->font, *p, b->x1 + 2, y, textcolor, cgui_gray, fixw); } else { ! textout_ex(bmp, b->font, *p, b->x1 + 2, y, textcolor, -1); } + row_index++; } set_clip_rect(bmp, bmp->cl, bmp->ct, clip_x2, clip_y2); *************** *** 379,411 **** } ! static int FetchTextBoxText(t_object *b) { t_textob *to; int h; ! if (fetching_in_progress) { ! fetching_in_progress = 0; ! to = b->appdata; ! DestroyPage(to->page); ! Release(to->s); ! if (to->preformat) ! CopyPreformattedText(to, new_string); ! else ! CopyText(to, new_string); ! to->page = MakePage(b->font, to->s, to->width + b->rex - 4, ! to->preformat, to->lf_, &to->n); ! h = b->y2 - b->y1 + 1; ! if (to->focus_end) { ! to->sti = to->n - h / text_height(b->font); /* start index */ ! if (to->sti < 0) ! to->sti = 0; } else { ! to->sti = 0; ! } ! to->pos = to->sti*to->rh; ! if (to->browsed) { ! SetBrowserSize(to->br, h-6, h); ! NotifyBrowser(to->br, to->rh, to->n*to->rh); } to->dirty = 1; return 1; --- 395,467 ---- } ! static void DelayedErrorMessage(void *data) ! { ! char *s = data; ! ! Req("", s); ! Release(s); ! } ! ! static void GenerateTextLayout(t_object *b, const char *new_string) { t_textob *to; int h; + int size; + char *mem = NULL; + PACKFILE *fp; ! to = b->appdata; ! DestroyPage(to->page); ! Release(to->s); ! ! if (to->load) { ! fp = pack_fopen(new_string, "rt"); ! if (fp) { ! size = file_size_ex(new_string); ! new_string = mem = GetMem(char, size + 1); ! pack_fread(mem, size, fp); ! pack_fclose(fp); ! mem[size] = 0; } else { ! const char *const*txt; ! int nr; ! txt = LoadCompiledTexts(cgui_labels+CGUI_CGUILABL, "obtext", &nr); ! if (nr == SIZE_obtext) { ! char *tmp = GetMem(char, strlen(new_string) + strlen(txt[ERROR_OPENING_FILE_NN_OK]) + 1); ! sprintf(tmp, txt[ERROR_OPENING_FILE_NN_OK], new_string); ! _GenEventOfCgui(DelayedErrorMessage, tmp, 0, 0); ! } } + } + if (to->preformat) + CopyPreformattedText(to, new_string); + else + CopyText(to, new_string); + if (mem) + Release(mem); + to->page = MakePage(b->font, to->s, to->width + b->rex - 4, to->preformat, to->lf_, &to->n); + h = b->y2 - b->y1 + 1; + if (to->focus_end) { + to->sti = to->n - h / text_height(b->font); /* start index */ + if (to->sti < 0) + to->sti = 0; + } else { + to->sti = 0; + } + to->pos = to->sti*to->rh; + if (to->browsed) { + SetBrowserSize(to->br, h-6, h); + NotifyBrowser(to->br, to->rh, to->n*to->rh); + } + } + + static int FetchTextBoxText(t_object *b) + { + t_textob *to; + + to = b->appdata; + if (fetching_in_progress) { + fetching_in_progress = 0; + GenerateTextLayout(b, new_string); to->dirty = 1; return 1; *************** *** 486,497 **** } - static void DelayedErrorMessage(void *data) - { - char *s = data; - - Req("", s); - Release(s); - } - /* Application interface: */ --- 542,545 ---- *************** *** 500,510 **** t_textob *to; t_object *b; - char *mem = NULL; struct t_node *nd = NULL; static t_typefun tf; static t_tcfun tc; static int virgin = 1; - int size; - PACKFILE *fp; if (virgin) { --- 548,555 ---- *************** *** 547,583 **** to->browsed = n; to->b = b; - if (to->load) { - fp = pack_fopen(s, "rt"); - if (fp) { - size = file_size_ex(s); - s = mem = GetMem(char, size + 1); - pack_fread(mem, size, fp); - pack_fclose(fp); - mem[size] = 0; - } else { - const char *const*txt; - int nr; - txt = LoadCompiledTexts(cgui_labels+CGUI_CGUILABL, "obtext", &nr); - if (nr == SIZE_obtext) { - char *tmp = GetMem(char, strlen(s) + strlen(txt[ERROR_OPENING_FILE_NN_OK]) + 1); - sprintf(tmp, txt[ERROR_OPENING_FILE_NN_OK], s); - _GenEventOfCgui(DelayedErrorMessage, tmp, 0, 0); - } - } - } - if (to->preformat) - CopyPreformattedText(to, s); - else - CopyText(to, s); - if (mem) - Release(mem); b->tf = &tf; b->Action = Stub; b->appdata = to; if (to->browsed) { to->br = MkVerticalBrowser(RIGHT|FILLSPACE|VERTICAL, BrCallBack, to, &to->pos); nd->ob->tf->DoJoinTabChain(nd->ob); nd->ob->tcfun = &tc; ! CloseNode(); } return b->id; --- 592,604 ---- to->browsed = n; to->b = b; b->tf = &tf; b->Action = Stub; b->appdata = to; + GenerateTextLayout(b, s); if (to->browsed) { to->br = MkVerticalBrowser(RIGHT|FILLSPACE|VERTICAL, BrCallBack, to, &to->pos); nd->ob->tf->DoJoinTabChain(nd->ob); nd->ob->tcfun = &tc; ! CloseNode(); } return b->id; *************** *** 601,604 **** --- 622,672 ---- } + extern void TextboxHighlighting(int id, int bgcolor, int textcolor, int line_nr) + { + t_object *b; + t_textob *to; + + b=GetObject(id); + if (b) { + to = b->appdata; + to->hilite = 1; + to->hrow = line_nr; + to->textcolor = textcolor; + to->bgcolor = bgcolor; + } + } + + extern const char *TextboxGetHighlightedText(int id) + { + t_object *b; + t_textob *to; + int i; + b = GetObject(id); + if (b) { + to = b->appdata; + i = to->sti + to->hrow; + return to->page[i]; + } + return NULL; + } + + extern void TextboxScrollDownOneLine(int id) + { + t_object *b; + t_textob *to; + + b = GetObject(id); + if (b) { + to = b->appdata; + if (to->sti < to->n - 1) { + to->sti++; + to->b->tf->Refresh(to->b); + to->pos = to->sti*to->rh; + NotifyBrowser(to->br, to->rh, to->n*to->rh); + Refresh(to->br); + } + } + } + /* Obsolete */ extern int MkTextObject(int x, int y, const char *s, int w, |
From: Christer S. <ch...@us...> - 2008-06-11 07:18:33
|
Update of /cvsroot/cgui/cgui/docs In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv9843/docs Modified Files: Tag: Branch_CGUI_1-6-7 changes._tx Log Message: added features 1990500 1990492 and 1990491 Index: changes._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/changes._tx,v retrieving revision 1.4.2.9.2.63 retrieving revision 1.4.2.9.2.64 diff -C2 -d -r1.4.2.9.2.63 -r1.4.2.9.2.64 *** changes._tx 27 Apr 2008 10:54:21 -0000 1.4.2.9.2.63 --- changes._tx 11 Jun 2008 07:18:29 -0000 1.4.2.9.2.64 *************** *** 42,45 **** --- 42,51 ---- <ul> <li> + Added feature 1990500 "Too small handle in the browse bar" + <li> + Added feature 1990492 "Forced scrolling of a textbox" + <li> + Added feature 1990491 "Highlighted row in textbox" + <li> Fixed bug 1952663 "Right click in listbox does not set focus" </ul> |
From: SourceForge.net <no...@so...> - 2008-06-11 06:51:27
|
Feature Requests item #1990500, was opened at 2008-06-11 06:51 Message generated for change (Settings changed) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=1990500&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: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Christer Sandberg (chrisan) >Assigned to: Christer Sandberg (chrisan) Summary: Too small handle in the browse bar Initial Comment: The handle in the browse bar should have a minimum size. The current size is "the viewable area"/"the scrollable area" which can make it principle 0-height. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=1990500&group_id=75005 |
From: SourceForge.net <no...@so...> - 2008-06-11 06:51:00
|
Feature Requests item #1990500, was opened at 2008-06-11 06:51 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=1990500&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: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Nobody/Anonymous (nobody) Summary: Too small handle in the browse bar Initial Comment: The handle in the browse bar should have a minimum size. The current size is "the viewable area"/"the scrollable area" which can make it principle 0-height. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=1990500&group_id=75005 |
From: SourceForge.net <no...@so...> - 2008-06-11 06:48:00
|
Feature Requests item #1990491, was opened at 2008-06-11 06:42 Message generated for change (Settings changed) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=1990491&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: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Christer Sandberg (chrisan) Summary: Highlighted row in textbox Initial Comment: Specifying if a certain row in a textbox is highlighted, and the ability to return the string on the highligted row. This may be useful in conjunction with the file-loading option. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=1990491&group_id=75005 |
From: SourceForge.net <no...@so...> - 2008-06-11 06:47:25
|
Feature Requests item #1990492, was opened at 2008-06-11 06:43 Message generated for change (Settings changed) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=1990492&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: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Christer Sandberg (chrisan) Summary: Forced scrolling of a textbox Initial Comment: A function that forces a textbox to scroll. This may be useful in conjunction with the suggested feature to highlight a row. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=1990492&group_id=75005 |
From: SourceForge.net <no...@so...> - 2008-06-11 06:43:50
|
Feature Requests item #1990492, was opened at 2008-06-10 23:43 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=1990492&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: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Forced scrolling of a textbox Initial Comment: A function that forces a textbox to scroll. This may be useful in conjunction with the suggested feature to highlight a row. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=1990492&group_id=75005 |
From: SourceForge.net <no...@so...> - 2008-06-11 06:42:24
|
Feature Requests item #1990491, was opened at 2008-06-10 23:42 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=1990491&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: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Highlighted row in textbox Initial Comment: Specifying if a certain row in a textbox is highlighted, and the ability to return the string on the highligted row. This may be useful in conjunction with the file-loading option. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542645&aid=1990491&group_id=75005 |
Update of /cvsroot/cgui/cgui/docs In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20936/docs Modified Files: Tag: Branch_CGUI_1-6-7 cgui._tx changes._tx internal._tx thanks._tx wishlist._tx Log Message: Fixed bug 1952663 Index: internal._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/internal._tx,v retrieving revision 1.4.2.3.2.31 retrieving revision 1.4.2.3.2.32 diff -C2 -d -r1.4.2.3.2.31 -r1.4.2.3.2.32 *** internal._tx 25 Apr 2008 21:13:29 -0000 1.4.2.3.2.31 --- internal._tx 27 Apr 2008 10:54:21 -0000 1.4.2.3.2.32 *************** *** 14,18 **** @rtfh=CGUI Internal @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.25" "CGUI" "CGUI Internal" @$\input texinfo @$@setfilename internal.inf --- 14,18 ---- @rtfh=CGUI Internal @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.26" "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.31 retrieving revision 1.4.2.3.2.32 diff -C2 -d -r1.4.2.3.2.31 -r1.4.2.3.2.32 *** wishlist._tx 25 Apr 2008 21:13:29 -0000 1.4.2.3.2.31 --- wishlist._tx 27 Apr 2008 10:54:22 -0000 1.4.2.3.2.32 *************** *** 8,12 **** @document_title=CGUI whishlist @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.25" "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 1.6.26" "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.31 retrieving revision 1.4.2.4.2.32 diff -C2 -d -r1.4.2.4.2.31 -r1.4.2.4.2.32 *** thanks._tx 25 Apr 2008 21:13:29 -0000 1.4.2.4.2.31 --- thanks._tx 27 Apr 2008 10:54:21 -0000 1.4.2.4.2.32 *************** *** 10,14 **** @document_title=CGUI Contributors @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.25" "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 1.6.26" "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.46 retrieving revision 1.4.2.7.2.47 diff -C2 -d -r1.4.2.7.2.46 -r1.4.2.7.2.47 *** cgui._tx 25 Apr 2008 21:13:29 -0000 1.4.2.7.2.46 --- cgui._tx 27 Apr 2008 10:54:21 -0000 1.4.2.7.2.47 *************** *** 12,16 **** @rtfh=CGUI - a C-based GUI @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.25" "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 1.6.26" "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 1.6.25 @!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 1.6.26 @!text @heading Index: changes._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/changes._tx,v retrieving revision 1.4.2.9.2.62 retrieving revision 1.4.2.9.2.63 diff -C2 -d -r1.4.2.9.2.62 -r1.4.2.9.2.63 *** changes._tx 25 Apr 2008 21:13:29 -0000 1.4.2.9.2.62 --- changes._tx 27 Apr 2008 10:54:21 -0000 1.4.2.9.2.63 *************** *** 8,12 **** @document_title=Changes in CGUI @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.25" "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 1.6.26" "CGUI" "CGUI changes" @rtfh=Changes in CGUI @$\input texinfo *************** *** 39,42 **** --- 39,48 ---- @heading + <b>Changes from 1.6.25 to 1.6.26:</b> + <ul> + <li> + Fixed bug 1952663 "Right click in listbox does not set focus" + </ul> + <b>Changes from 1.6.24 to 1.6.25:</b> <ul> |
From: Christer S. <ch...@us...> - 2008-04-27 10:54:29
|
Update of /cvsroot/cgui/cgui/src In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20936/src Modified Files: Tag: Branch_CGUI_1-6-7 list.c Log Message: Fixed bug 1952663 Index: list.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/list.c,v retrieving revision 1.1.2.6.2.21 retrieving revision 1.1.2.6.2.22 diff -C2 -d -r1.1.2.6.2.21 -r1.1.2.6.2.22 *** list.c 3 Nov 2007 18:28:58 -0000 1.1.2.6.2.21 --- list.c 27 Apr 2008 10:54:23 -0000 1.1.2.6.2.22 *************** *** 1161,1165 **** lc = l->lc; ! if (b->state == MS_FIRST_DOWN && GetRowIndex(b) < *l->n && b->usedbutton == LEFT_MOUSE) { b->hasfocus = 1; } else if (b->state == MS_FIRST_DOWN_OFF) { --- 1161,1165 ---- 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) { *************** *** 1279,1283 **** } else if (isControl() && !l->single_row_sel) { XorClick(b); ! } else if (b->usedbutton == LEFT_MOUSE) { MakeSingleRowSelected(l, b); } else if (!b->hasfocus) { --- 1279,1283 ---- } else if (isControl() && !l->single_row_sel) { XorClick(b); ! } else if (b->usedbutton == LEFT_MOUSE || b->usedbutton == RIGHT_MOUSE) { MakeSingleRowSelected(l, b); } else if (!b->hasfocus) { *************** *** 1286,1293 **** } } else { ! // MakeSingleRowSelected(l, b); ! if (b->usedbutton == LEFT_MOUSE) { // ch.y ! MakeSingleRowSelected(l, b); ! } } return 1; --- 1286,1290 ---- } } else { ! MakeSingleRowSelected(l, b); } return 1; |
From: Christer S. <ch...@us...> - 2008-04-27 10:54:29
|
Update of /cvsroot/cgui/cgui/misc In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20936/misc Modified Files: Tag: Branch_CGUI_1-6-7 fixver.sh makefile.ver zipup.sh Log Message: Fixed bug 1952663 Index: makefile.ver =================================================================== RCS file: /cvsroot/cgui/cgui/misc/makefile.ver,v retrieving revision 1.3.2.3.2.17 retrieving revision 1.3.2.3.2.18 diff -C2 -d -r1.3.2.3.2.17 -r1.3.2.3.2.18 *** makefile.ver 25 Apr 2008 21:13:30 -0000 1.3.2.3.2.17 --- makefile.ver 27 Apr 2008 10:54:23 -0000 1.3.2.3.2.18 *************** *** 7,10 **** # Shared library versions for Unix # todo: this is unused at the moment ! shared_version = 1.6.25 shared_major_minor = 1.6 --- 7,10 ---- # Shared library versions for Unix # todo: this is unused at the moment ! shared_version = 1.6.26 shared_major_minor = 1.6 Index: zipup.sh =================================================================== RCS file: /cvsroot/cgui/cgui/misc/zipup.sh,v retrieving revision 1.3.2.5.2.19 retrieving revision 1.3.2.5.2.20 diff -C2 -d -r1.3.2.5.2.19 -r1.3.2.5.2.20 *** zipup.sh 25 Apr 2008 21:13:30 -0000 1.3.2.5.2.19 --- zipup.sh 27 Apr 2008 10:54:23 -0000 1.3.2.5.2.20 *************** *** 10,15 **** # note: these are patched by fixver.sh script. ! zipversion=1625 ! tgzversion=1.6.25 if [ "$1" != "-q" ]; then --- 10,15 ---- # note: these are patched by fixver.sh script. ! zipversion=1626 ! tgzversion=1.6.26 if [ "$1" != "-q" ]; then Index: fixver.sh =================================================================== RCS file: /cvsroot/cgui/cgui/misc/fixver.sh,v retrieving revision 1.5.2.3.2.31 retrieving revision 1.5.2.3.2.32 diff -C2 -d -r1.5.2.3.2.31 -r1.5.2.3.2.32 *** fixver.sh 25 Apr 2008 21:13:30 -0000 1.5.2.3.2.31 --- fixver.sh 27 Apr 2008 10:54:23 -0000 1.5.2.3.2.32 *************** *** 5,9 **** cv1=1 cv2=6 ! cv3=25 cv4= --- 5,9 ---- cv1=1 cv2=6 ! cv3=26 cv4= |
From: Christer S. <ch...@us...> - 2008-04-27 10:54:28
|
Update of /cvsroot/cgui/cgui/include In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20936/include Modified Files: Tag: Branch_CGUI_1-6-7 cgui.h Log Message: Fixed bug 1952663 Index: cgui.h =================================================================== RCS file: /cvsroot/cgui/cgui/include/cgui.h,v retrieving revision 1.5.2.7.2.41 retrieving revision 1.5.2.7.2.42 diff -C2 -d -r1.5.2.7.2.41 -r1.5.2.7.2.42 *** cgui.h 25 Apr 2008 21:13:29 -0000 1.5.2.7.2.41 --- cgui.h 27 Apr 2008 10:54:23 -0000 1.5.2.7.2.42 *************** *** 24,31 **** #define CGUI_VERSION_MAJOR 1 #define CGUI_VERSION_MINOR 6 ! #define CGUI_VERSION_PATCH 25 ! #define CGUI_VERSION_STRING "1.6.25" ! #define CGUI_DATE 20080425 /* yyyymmdd */ ! #define CGUI_DATE_STRING "Apr 25, 2008" /* Init */ --- 24,31 ---- #define CGUI_VERSION_MAJOR 1 #define CGUI_VERSION_MINOR 6 ! #define CGUI_VERSION_PATCH 26 ! #define CGUI_VERSION_STRING "1.6.26" ! #define CGUI_DATE 20080427 /* yyyymmdd */ ! #define CGUI_DATE_STRING "Apr 27, 2008" /* Init */ |
From: SourceForge.net <no...@so...> - 2008-04-27 10:52:49
|
Bugs item #1952663, was opened at 2008-04-27 10:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=1952663&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: All platforms Group: v1.6.9 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Right click in listbox does not set focus Initial Comment: Right click in a list box that is right clickable and that do not have focus will not move focus to that list making the right click fail. Moving focus using other means (e.g. tabbing or left click) will make right click work. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=1952663&group_id=75005 |
From: SourceForge.net <no...@so...> - 2008-04-25 21:14:49
|
Bugs item #1951905, was opened at 2008-04-25 20:57 Message generated for change (Settings changed) made by chrisan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=1951905&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: All platforms Group: v1.6.9 >Status: Closed >Resolution: Fixed Priority: 8 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Crash when focusing an edit box Initial Comment: When an edit box is set in focus (using SetFocusOn()) before DisplayWin is called the first time, the program crashes. The same situation occur when setting focus in a tab-window callback. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=1951905&group_id=75005 |
From: Christer S. <ch...@us...> - 2008-04-25 21:13:43
|
Update of /cvsroot/cgui/cgui/include In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv27685/include Modified Files: Tag: Branch_CGUI_1-6-7 cgui.h Log Message: New version Index: cgui.h =================================================================== RCS file: /cvsroot/cgui/cgui/include/cgui.h,v retrieving revision 1.5.2.7.2.40 retrieving revision 1.5.2.7.2.41 diff -C2 -d -r1.5.2.7.2.40 -r1.5.2.7.2.41 *** cgui.h 25 Dec 2007 11:46:05 -0000 1.5.2.7.2.40 --- cgui.h 25 Apr 2008 21:13:29 -0000 1.5.2.7.2.41 *************** *** 24,31 **** #define CGUI_VERSION_MAJOR 1 #define CGUI_VERSION_MINOR 6 ! #define CGUI_VERSION_PATCH 24 ! #define CGUI_VERSION_STRING "1.6.24" ! #define CGUI_DATE 20071225 /* yyyymmdd */ ! #define CGUI_DATE_STRING "Dec 25, 2007" /* Init */ --- 24,31 ---- #define CGUI_VERSION_MAJOR 1 #define CGUI_VERSION_MINOR 6 ! #define CGUI_VERSION_PATCH 25 ! #define CGUI_VERSION_STRING "1.6.25" ! #define CGUI_DATE 20080425 /* yyyymmdd */ ! #define CGUI_DATE_STRING "Apr 25, 2008" /* Init */ |
Update of /cvsroot/cgui/cgui/docs In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv27685/docs Modified Files: Tag: Branch_CGUI_1-6-7 cgui._tx changes._tx internal._tx thanks._tx wishlist._tx Log Message: New version Index: internal._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/internal._tx,v retrieving revision 1.4.2.3.2.30 retrieving revision 1.4.2.3.2.31 diff -C2 -d -r1.4.2.3.2.30 -r1.4.2.3.2.31 *** internal._tx 25 Dec 2007 11:46:05 -0000 1.4.2.3.2.30 --- internal._tx 25 Apr 2008 21:13:29 -0000 1.4.2.3.2.31 *************** *** 14,18 **** @rtfh=CGUI Internal @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.24" "CGUI" "CGUI Internal" @$\input texinfo @$@setfilename internal.inf --- 14,18 ---- @rtfh=CGUI Internal @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.25" "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.30 retrieving revision 1.4.2.3.2.31 diff -C2 -d -r1.4.2.3.2.30 -r1.4.2.3.2.31 *** wishlist._tx 25 Dec 2007 11:46:05 -0000 1.4.2.3.2.30 --- wishlist._tx 25 Apr 2008 21:13:29 -0000 1.4.2.3.2.31 *************** *** 8,12 **** @document_title=CGUI whishlist @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.24" "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 1.6.25" "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.30 retrieving revision 1.4.2.4.2.31 diff -C2 -d -r1.4.2.4.2.30 -r1.4.2.4.2.31 *** thanks._tx 25 Dec 2007 11:46:05 -0000 1.4.2.4.2.30 --- thanks._tx 25 Apr 2008 21:13:29 -0000 1.4.2.4.2.31 *************** *** 10,14 **** @document_title=CGUI Contributors @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.24" "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 1.6.25" "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.45 retrieving revision 1.4.2.7.2.46 diff -C2 -d -r1.4.2.7.2.45 -r1.4.2.7.2.46 *** cgui._tx 25 Dec 2007 11:46:04 -0000 1.4.2.7.2.45 --- cgui._tx 25 Apr 2008 21:13:29 -0000 1.4.2.7.2.46 *************** *** 12,16 **** @rtfh=CGUI - a C-based GUI @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.24" "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 1.6.25" "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 1.6.24 @!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 1.6.25 @!text @heading Index: changes._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/changes._tx,v retrieving revision 1.4.2.9.2.61 retrieving revision 1.4.2.9.2.62 diff -C2 -d -r1.4.2.9.2.61 -r1.4.2.9.2.62 *** changes._tx 25 Apr 2008 21:05:47 -0000 1.4.2.9.2.61 --- changes._tx 25 Apr 2008 21:13:29 -0000 1.4.2.9.2.62 *************** *** 8,12 **** @document_title=Changes in CGUI @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.24" "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 1.6.25" "CGUI" "CGUI changes" @rtfh=Changes in CGUI @$\input texinfo |
From: Christer S. <ch...@us...> - 2008-04-25 21:13:43
|
Update of /cvsroot/cgui/cgui/misc In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv27685/misc Modified Files: Tag: Branch_CGUI_1-6-7 fixver.sh makefile.ver zipup.sh Log Message: New version Index: makefile.ver =================================================================== RCS file: /cvsroot/cgui/cgui/misc/makefile.ver,v retrieving revision 1.3.2.3.2.16 retrieving revision 1.3.2.3.2.17 diff -C2 -d -r1.3.2.3.2.16 -r1.3.2.3.2.17 *** makefile.ver 6 Sep 2007 18:57:24 -0000 1.3.2.3.2.16 --- makefile.ver 25 Apr 2008 21:13:30 -0000 1.3.2.3.2.17 *************** *** 7,10 **** # Shared library versions for Unix # todo: this is unused at the moment ! shared_version = 1.6.24 shared_major_minor = 1.6 --- 7,10 ---- # Shared library versions for Unix # todo: this is unused at the moment ! shared_version = 1.6.25 shared_major_minor = 1.6 Index: zipup.sh =================================================================== RCS file: /cvsroot/cgui/cgui/misc/zipup.sh,v retrieving revision 1.3.2.5.2.18 retrieving revision 1.3.2.5.2.19 diff -C2 -d -r1.3.2.5.2.18 -r1.3.2.5.2.19 *** zipup.sh 6 Sep 2007 18:57:24 -0000 1.3.2.5.2.18 --- zipup.sh 25 Apr 2008 21:13:30 -0000 1.3.2.5.2.19 *************** *** 10,15 **** # note: these are patched by fixver.sh script. ! zipversion=1624 ! tgzversion=1.6.24 if [ "$1" != "-q" ]; then --- 10,15 ---- # note: these are patched by fixver.sh script. ! zipversion=1625 ! tgzversion=1.6.25 if [ "$1" != "-q" ]; then Index: fixver.sh =================================================================== RCS file: /cvsroot/cgui/cgui/misc/fixver.sh,v retrieving revision 1.5.2.3.2.30 retrieving revision 1.5.2.3.2.31 diff -C2 -d -r1.5.2.3.2.30 -r1.5.2.3.2.31 *** fixver.sh 25 Dec 2007 11:46:05 -0000 1.5.2.3.2.30 --- fixver.sh 25 Apr 2008 21:13:30 -0000 1.5.2.3.2.31 *************** *** 5,9 **** cv1=1 cv2=6 ! cv3=24 cv4= --- 5,9 ---- cv1=1 cv2=6 ! cv3=25 cv4= |
From: Christer S. <ch...@us...> - 2008-04-25 21:05:57
|
Update of /cvsroot/cgui/cgui/src In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv24641/src Modified Files: Tag: Branch_CGUI_1-6-7 ndresize.c obdrag.c obedbox.c Log Message: fixed bug 1951905 Index: ndresize.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/ndresize.c,v retrieving revision 1.1.4.1 retrieving revision 1.1.4.2 diff -C2 -d -r1.1.4.1 -r1.1.4.2 *** ndresize.c 28 Sep 2007 22:17:01 -0000 1.1.4.1 --- ndresize.c 25 Apr 2008 21:05:47 -0000 1.1.4.2 *************** *** 131,139 **** case SL_PROGRESS: if (continous_update_resize) { ! if (rs->CallBack) ! rs->CallBack(rs->data, x - oldx, y - oldy); ! ReMakeWindow(fwin); ! oldx = x; ! oldy = y; } break; --- 131,143 ---- case SL_PROGRESS: if (continous_update_resize) { ! if (oldx == x && oldy == y) { ! ; ! } else { ! if (rs->CallBack) ! rs->CallBack(rs->data, x - oldx, y - oldy); ! ReMakeWindow(fwin); ! oldx = x; ! oldy = y; ! } } break; Index: obedbox.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/obedbox.c,v retrieving revision 1.1.2.1.2.23 retrieving revision 1.1.2.1.2.24 diff -C2 -d -r1.1.2.1.2.23 -r1.1.2.1.2.24 *** obedbox.c 16 Dec 2007 10:50:31 -0000 1.1.2.1.2.23 --- obedbox.c 25 Apr 2008 21:05:47 -0000 1.1.2.1.2.24 *************** *** 602,623 **** s = edb->curpos; b = edb->b; ! maxx = edb->bmp->w - 1; ! if (s - text <= edb->vstart) { ! edb->vstart = s - text; ! tmp = *s; ! *s = 0; ! edb->x = text_length(b->font, text + edb->vstart); ! *s = tmp; ! } else { ! do { tmp = *s; *s = 0; edb->x = text_length(b->font, text + edb->vstart); *s = tmp; ! if (edb->x > maxx && text[edb->vstart]) ! edb->vstart++; ! else ! break; ! } while (1); } } --- 602,627 ---- s = edb->curpos; b = edb->b; ! if (edb->bmp) { ! maxx = edb->bmp->w - 1; ! if (s - text <= edb->vstart) { ! edb->vstart = s - text; tmp = *s; *s = 0; edb->x = text_length(b->font, text + edb->vstart); *s = tmp; ! } else { ! do { ! tmp = *s; ! *s = 0; ! edb->x = text_length(b->font, text + edb->vstart); ! *s = tmp; ! if (edb->x > maxx && text[edb->vstart]) ! edb->vstart++; ! else ! break; ! } while (1); ! } ! } else { ! edb->vstart = edb->x = 0; } } *************** *** 1281,1306 **** col = cgui_black; ! rectfill(bmp, x1, y1, x2, y2, cgui_gray); ! x1 += offset; ! if (b->im) { ! diff = (y2 - y1 + 1) - b->im->h; ! imy1 = y1 + diff/2 + offset; ! if (diff > 0) ! diff = 0; ! h = b->im->h + diff; ! set_clip_rect(bmp, x1, y1, x2, y2); ! DrawImage(b->im, bmp, x1, imy1 + diff); ! set_clip_rect(bmp, 0, 0, bmp->w - 1, bmp->h - 1); ! x1 += b->im->w + 1; ! } ! if (b->inactive) { ! textout_ex(bmp, b->font, b->label, x1 + 1, yt + offset + 1, cgui_dgray, -1); ! } ! textout_ex(bmp, b->font, b->label, x1, yt + offset, col, -1); ! if (b->hklen) { ! xh = x1 + b->hkxoffs; ! xh2 = xh + b->hklen - 1; ! yh = _cgui_hot_key_line + yt + offset; ! hline(bmp, xh, yh, xh2, col); } } --- 1285,1312 ---- col = cgui_black; ! if (bmp) { ! rectfill(bmp, x1, y1, x2, y2, cgui_gray); ! x1 += offset; ! if (b->im) { ! diff = (y2 - y1 + 1) - b->im->h; ! imy1 = y1 + diff/2 + offset; ! if (diff > 0) ! diff = 0; ! h = b->im->h + diff; ! set_clip_rect(bmp, x1, y1, x2, y2); ! DrawImage(b->im, bmp, x1, imy1 + diff); ! set_clip_rect(bmp, 0, 0, bmp->w - 1, bmp->h - 1); ! x1 += b->im->w + 1; ! } ! if (b->inactive) { ! textout_ex(bmp, b->font, b->label, x1 + 1, yt + offset + 1, cgui_dgray, -1); ! } ! textout_ex(bmp, b->font, b->label, x1, yt + offset, col, -1); ! if (b->hklen) { ! xh = x1 + b->hkxoffs; ! xh2 = xh + b->hklen - 1; ! yh = _cgui_hot_key_line + yt + offset; ! hline(bmp, xh, yh, xh2, col); ! } } } *************** *** 1351,1355 **** if (edb->bmp == NULL) ! /* This may be the case if the editbox is placed outside the node */ return; if (b->inactive) { --- 1357,1361 ---- if (edb->bmp == NULL) ! /* This may be the case e.g. if the editbox is placed outside the node */ return; if (b->inactive) { Index: obdrag.c =================================================================== RCS file: /cvsroot/cgui/cgui/src/obdrag.c,v retrieving revision 1.1.2.1.2.1 retrieving revision 1.1.2.1.2.2 diff -C2 -d -r1.1.2.1.2.1 -r1.1.2.1.2.2 *** obdrag.c 25 Sep 2005 17:10:54 -0000 1.1.2.1.2.1 --- obdrag.c 25 Apr 2008 21:05:47 -0000 1.1.2.1.2.2 *************** *** 51,57 **** break; case SL_PROGRESS: ! RedrawDraggingWindow(w, x - oldx, y - oldy); ! oldx = x - (x - oldx); ! oldy = y - (y - oldy); break; case SL_STOPPED: --- 51,59 ---- break; case SL_PROGRESS: ! if (x != oldx || y != oldy) { ! RedrawDraggingWindow(w, x - oldx, y - oldy); ! oldx = x - (x - oldx); ! oldy = y - (y - oldy); ! } break; case SL_STOPPED: |
From: Christer S. <ch...@us...> - 2008-04-25 21:05:57
|
Update of /cvsroot/cgui/cgui/docs In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv24641/docs Modified Files: Tag: Branch_CGUI_1-6-7 changes._tx Log Message: fixed bug 1951905 Index: changes._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/changes._tx,v retrieving revision 1.4.2.9.2.60 retrieving revision 1.4.2.9.2.61 diff -C2 -d -r1.4.2.9.2.60 -r1.4.2.9.2.61 *** changes._tx 25 Dec 2007 11:46:05 -0000 1.4.2.9.2.60 --- changes._tx 25 Apr 2008 21:05:47 -0000 1.4.2.9.2.61 *************** *** 39,42 **** --- 39,48 ---- @heading + <b>Changes from 1.6.24 to 1.6.25:</b> + <ul> + <li> + Fixed bug 1951905 "Crash when focusing an edit box" + </ul> + <b>Changes from 1.6.23 to 1.6.24:</b> <ul> |
From: SourceForge.net <no...@so...> - 2008-04-25 20:57:24
|
Bugs item #1951905, was opened at 2008-04-25 20:57 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=1951905&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: All platforms Group: v1.6.9 Status: Open Resolution: None Priority: 8 Private: No Submitted By: Christer Sandberg (chrisan) Assigned to: Christer Sandberg (chrisan) Summary: Crash when focusing an edit box Initial Comment: When an edit box is set in focus (using SetFocusOn()) before DisplayWin is called the first time, the program crashes. The same situation occur when setting focus in a tab-window callback. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=542642&aid=1951905&group_id=75005 |
From: Christer S. <ch...@us...> - 2007-12-25 11:46:10
|
Update of /cvsroot/cgui/cgui/include In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv18245/include Modified Files: Tag: Branch_CGUI_1-6-7 cgui.h Log Message: Final changes for new release Index: cgui.h =================================================================== RCS file: /cvsroot/cgui/cgui/include/cgui.h,v retrieving revision 1.5.2.7.2.39 retrieving revision 1.5.2.7.2.40 diff -C2 -d -r1.5.2.7.2.39 -r1.5.2.7.2.40 *** cgui.h 25 Dec 2007 11:41:42 -0000 1.5.2.7.2.39 --- cgui.h 25 Dec 2007 11:46:05 -0000 1.5.2.7.2.40 *************** *** 25,29 **** #define CGUI_VERSION_MINOR 6 #define CGUI_VERSION_PATCH 24 ! #define CGUI_VERSION_STRING "1.6.24 (RC1)" #define CGUI_DATE 20071225 /* yyyymmdd */ #define CGUI_DATE_STRING "Dec 25, 2007" --- 25,29 ---- #define CGUI_VERSION_MINOR 6 #define CGUI_VERSION_PATCH 24 ! #define CGUI_VERSION_STRING "1.6.24" #define CGUI_DATE 20071225 /* yyyymmdd */ #define CGUI_DATE_STRING "Dec 25, 2007" |
Update of /cvsroot/cgui/cgui/docs In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv18245/docs Modified Files: Tag: Branch_CGUI_1-6-7 cgui._tx changes._tx internal._tx thanks._tx wishlist._tx Log Message: Final changes for new release Index: internal._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/internal._tx,v retrieving revision 1.4.2.3.2.29 retrieving revision 1.4.2.3.2.30 diff -C2 -d -r1.4.2.3.2.29 -r1.4.2.3.2.30 *** internal._tx 25 Dec 2007 11:41:41 -0000 1.4.2.3.2.29 --- internal._tx 25 Dec 2007 11:46:05 -0000 1.4.2.3.2.30 *************** *** 14,18 **** @rtfh=CGUI Internal @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.24 (RC1)" "CGUI" "CGUI Internal" @$\input texinfo @$@setfilename internal.inf --- 14,18 ---- @rtfh=CGUI Internal @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.24" "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.29 retrieving revision 1.4.2.3.2.30 diff -C2 -d -r1.4.2.3.2.29 -r1.4.2.3.2.30 *** wishlist._tx 25 Dec 2007 11:41:41 -0000 1.4.2.3.2.29 --- wishlist._tx 25 Dec 2007 11:46:05 -0000 1.4.2.3.2.30 *************** *** 8,12 **** @document_title=CGUI whishlist @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.24 (RC1)" "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 1.6.24" "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.29 retrieving revision 1.4.2.4.2.30 diff -C2 -d -r1.4.2.4.2.29 -r1.4.2.4.2.30 *** thanks._tx 25 Dec 2007 11:41:41 -0000 1.4.2.4.2.29 --- thanks._tx 25 Dec 2007 11:46:05 -0000 1.4.2.4.2.30 *************** *** 10,14 **** @document_title=CGUI Contributors @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.24 (RC1)" "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 1.6.24" "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.44 retrieving revision 1.4.2.7.2.45 diff -C2 -d -r1.4.2.7.2.44 -r1.4.2.7.2.45 *** cgui._tx 25 Dec 2007 11:41:40 -0000 1.4.2.7.2.44 --- cgui._tx 25 Dec 2007 11:46:04 -0000 1.4.2.7.2.45 *************** *** 12,16 **** @rtfh=CGUI - a C-based GUI @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.24 (RC1)" "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 1.6.24" "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 1.6.24 (RC1) @!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 1.6.24 @!text @heading Index: changes._tx =================================================================== RCS file: /cvsroot/cgui/cgui/docs/changes._tx,v retrieving revision 1.4.2.9.2.59 retrieving revision 1.4.2.9.2.60 diff -C2 -d -r1.4.2.9.2.59 -r1.4.2.9.2.60 *** changes._tx 25 Dec 2007 11:44:22 -0000 1.4.2.9.2.59 --- changes._tx 25 Dec 2007 11:46:05 -0000 1.4.2.9.2.60 *************** *** 8,12 **** @document_title=Changes in CGUI @# Note: this version number is patched by fixver.sh ! @manh="version 1.6.24 (RC1)" "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 1.6.24" "CGUI" "CGUI changes" @rtfh=Changes in CGUI @$\input texinfo |
From: Christer S. <ch...@us...> - 2007-12-25 11:46:09
|
Update of /cvsroot/cgui/cgui/misc In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv18245/misc Modified Files: Tag: Branch_CGUI_1-6-7 fixver.sh Log Message: Final changes for new release Index: fixver.sh =================================================================== RCS file: /cvsroot/cgui/cgui/misc/fixver.sh,v retrieving revision 1.5.2.3.2.29 retrieving revision 1.5.2.3.2.30 diff -C2 -d -r1.5.2.3.2.29 -r1.5.2.3.2.30 *** fixver.sh 25 Dec 2007 11:41:42 -0000 1.5.2.3.2.29 --- fixver.sh 25 Dec 2007 11:46:05 -0000 1.5.2.3.2.30 *************** *** 6,10 **** cv2=6 cv3=24 ! cv4=RC1 echo "Changing version from $cv1.$cv2.$cv3 $cv4 to $1.$2.$3 $4" 1>&2 --- 6,10 ---- cv2=6 cv3=24 ! cv4= echo "Changing version from $cv1.$cv2.$cv3 $cv4 to $1.$2.$3 $4" 1>&2 |