Commit graph

62 commits

Author SHA1 Message Date
Mirek Fidler
9a16396f90 TreeCtrl: ScrollIntoX 2025-04-04 16:09:09 +02:00
Mirek Fidler
d9a58cecfd CtrlLib: Fixed appearance of empty TreeCtrl, .examples 2025-01-23 08:56:26 +01:00
Mirek Fidler
f878d03f67 CtrlCore: Horizontal mouse wheel improvements 2024-02-17 13:44:44 +01:00
Mirek Fidler
4580ca77db CtrlLib, ide: Horizontal scrool wheel support in LineEdit, TreeCtrl, ide IconDes, LayDes and DiffCtrl 2024-02-15 21:04:05 +01:00
Mirek Fidler
f484b64c19 CtrlLib: DisplayPopup/TreeCtrl adjustments 2022-10-19 10:48:18 +02:00
Mirek Fidler
1b9a2887a2 CtrlLib: TreeCtrl look&feel fixes 2022-10-17 17:09:42 +02:00
Mirek Fidler
b3bdf28dbf uppsrc: Fixed various valgrind detected issues 2022-09-20 11:41:29 +02:00
mezise
8ca63f02f7
Added option for real case of column names. (#58)
* Added option for real case of column names.

* Added horizontal scroll on Shift+mouse wheel.
2022-01-08 09:39:07 +01:00
Mirek Fidler
34ff691308 sizeof(wchar) is changed to 4 (32 bits) to support non BMP unicode characters
This might bring some incompatibilities in the code that expects wchar to be 16 bit, which
  escpecially involves dealing with Win32 (and to lesser extend MacOS) APIs, so if your application
  is doing that, please check all instances of WCHAR (UniChar on MacOS) or even wchar
  especially type casts.

  To support host APIs, char16 is introduced (but there is no 16-bit String varian).

  Use ToSystemCharsetW, FromSystemCharsetW to convert texts to Win32 API.

- Support of drawing non-BMP characters in GUI
- Vastly improved character font replacement code (when drawing characters missing with requested font, replacement font is used)
- Last instances of Win32 ANSI calls (those ending with A) are removed
- UTF handling routines are refactored and their's naming is unified
- RTF is now being able to handle non-BMP characters (RTF is used as clipboard format for RichText)

Other minor changes:

- fixed TryRealloc issue
- improved MemoryCheck
- Removed MemoryAlloc48/MemoryFree48
- In theide Background parsing should less often cause delays in the main thread
2021-12-02 12:03:19 +01:00
Mirek Fidler
69ff6d2dd5 CtrlLib: TreeCtrl subwidgets not appearing after Layout issue fixed 2021-09-30 17:26:32 +02:00
cxl
88bcec9a99 CtrlLib: Minor fix in TreeCtrl
git-svn-id: svn://ultimatepp.org/upp/trunk@15946 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-05-04 13:53:45 +00:00
cxl
5490db7a7a CtrlLib: ArrayCtrl new optimised r-value Add, TreeCtrl: Fix of DoClick
git-svn-id: svn://ultimatepp.org/upp/trunk@15831 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-10 15:01:05 +00:00
cxl
719042275c TreeCtrl: Inplace editor fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@15361 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-06 16:54:45 +00:00
cxl
c07d182780 CtrlLib: TreeCtrl::WhenEdited improved for situation when there is both value and ctrl
git-svn-id: svn://ultimatepp.org/upp/trunk@15317 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-10-28 14:55:47 +00:00
cxl
182275359b TreeCtrl now supports edit on click - WhenEdited
git-svn-id: svn://ultimatepp.org/upp/trunk@15316 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-10-28 14:24:31 +00:00
cxl
edbc34961d CtrlLib: TreeCtrl UHD fix
git-svn-id: svn://ultimatepp.org/upp/trunk@13480 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-07-09 15:55:55 +00:00
cxl
aa0b9b1774 uppsrc: Ide fixed to run valgrind clean
git-svn-id: svn://ultimatepp.org/upp/trunk@13008 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-04-18 08:50:22 +00:00
cxl
748b1f5525 CtrlLib: TreeCtrl improved, Core: FoldHash improved
git-svn-id: svn://ultimatepp.org/upp/trunk@12976 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-04-09 21:12:10 +00:00
cxl
ad9292b27f CtrlLib: Fixed issue with DisplayPopup
git-svn-id: svn://ultimatepp.org/upp/trunk@12654 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-01-08 18:15:52 +00:00
cxl
b0dbae6234 ide: Xml and Json file format now shows viewer, TreeCtrl: GetOpenIds, OpenIds, Core: RegisterGlobalSerialize
git-svn-id: svn://ultimatepp.org/upp/trunk@11290 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-08-05 13:59:30 +00:00
cxl
8eef7c3d57 CtrlLib: Fixed minor visual glitch in TreeCtrl displaypopup
git-svn-id: svn://ultimatepp.org/upp/trunk@11162 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-13 19:01:18 +00:00
cxl
417050c1cc CtrlLib: TreeCtrl: Fixed visual glitch with DisplayPopUp
git-svn-id: svn://ultimatepp.org/upp/trunk@11125 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-05-27 14:35:38 +00:00
cxl
42704aa973 CtrlLib: TreeCtrl full info tips now fixed if there is addional Ctrl in the node
git-svn-id: svn://ultimatepp.org/upp/trunk@10354 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-24 11:50:31 +00:00
cxl
3f75b5d39f TreeCtrl Shift-select optimized
git-svn-id: svn://ultimatepp.org/upp/trunk@10247 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-09-27 10:51:12 +00:00
cxl
8ebdcbb0d5 uppsrc: NAMESPACE_UPP / END_UPP_NAMESPACE removed
git-svn-id: svn://ultimatepp.org/upp/trunk@10186 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-08-26 17:15:30 +00:00
cxl
fbd1fa0a4d TreeCtrl: Fixed visuals of multiselect cursor
git-svn-id: svn://ultimatepp.org/upp/trunk@9623 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-03-23 08:22:51 +00:00
cxl
e6e0cc74d3 CtrlLib: TreeCtrl Clear now resets sb, visual fix of ScrollBars box area
git-svn-id: svn://ultimatepp.org/upp/trunk@9602 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-03-15 11:45:24 +00:00
cxl
140573e73c pdb: Fixed visualise issues #1306, CtrlLib: fixed multirrot TreeCtrl flag init
git-svn-id: svn://ultimatepp.org/upp/trunk@9087 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-10-26 20:12:37 +00:00
cxl
01629cc737 CtrlLib: TreeCtrl::RenderMultiRoot (thanks cbpporter)
git-svn-id: svn://ultimatepp.org/upp/trunk@8857 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-08-28 07:01:02 +00:00
cxl
a202040446 upp.src: UHD issues
git-svn-id: svn://ultimatepp.org/upp/trunk@8803 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-08-09 11:14:16 +00:00
cxl
1c6cc19a40 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@7192 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-04-08 17:36:26 +00:00
cxl
ff04f27147 issues with font metrics in X11
git-svn-id: svn://ultimatepp.org/upp/trunk@6574 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-11-18 19:23:42 +00:00
cxl
bd9522418b CtrlLib: TreeCtrl: Helper overloads of Insert/Add to resolve overloading ambiguity
git-svn-id: svn://ultimatepp.org/upp/trunk@6573 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-11-18 14:44:14 +00:00
cxl
efde1af062 CtrlLib: Fixed WhenSel behaviour in TreeCtrl
git-svn-id: svn://ultimatepp.org/upp/trunk@6544 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-11-11 14:43:07 +00:00
cxl
2c2076f7b8 CtrlLib: Fixed focus issues of embedded widgets TreeCtrl
git-svn-id: svn://ultimatepp.org/upp/trunk@6537 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-11-07 14:53:35 +00:00
cxl
163268d6af CtrlLib: TreeCtrl ctrl item size with margin issue fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@6471 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-10-23 06:50:21 +00:00
cxl
e025587bb5 Fixed focus issue with TreeCtrl
git-svn-id: svn://ultimatepp.org/upp/trunk@6404 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-10-07 18:18:06 +00:00
cxl
42d6936a09 *CtrlLib: TreeCtrl now using GetMinSize for widgets (instead of GetStdSize), OptionTree::SetOption/SetChildren now protected (thanks Typhoor)
git-svn-id: svn://ultimatepp.org/upp/trunk@6249 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-08-18 14:56:20 +00:00
cxl
d5291b7d48 *uppsrc: Fixed many GCC warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@4457 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-01-21 14:24:31 +00:00
cxl
59baf714e4 Fixed some warning
git-svn-id: svn://ultimatepp.org/upp/trunk@4453 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-01-21 11:39:05 +00:00
rylek
0939abd350 .CtrlLib: new method TreeCtrl::IsValid checks validity of a given node ID
.Web: HttpClient extended to support intermediate status code 100 server replies ('continue')

git-svn-id: svn://ultimatepp.org/upp/trunk@3546 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-06-18 12:11:26 +00:00
rylek
1abacfff26 .CtrlLib: TreeCtrl - added setter for Item::margin attribute
.Geom: hrr bug fix (Draw::GetPageSize -> GetPaintRect), minor optimizations (Pointf -> const Pointf&)
.TCore: CalcContext::Global constructor made outline to simplify debugging

git-svn-id: svn://ultimatepp.org/upp/trunk@2911 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-12-16 09:55:38 +00:00
cxl
2641d9bc0f *CtrlLib: TreeCtrl::Insert fix (thanks mrjt)
git-svn-id: svn://ultimatepp.org/upp/trunk@2878 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-12-01 18:50:21 +00:00
cxl
9989cedd2e *TreeCtrl: Hopefuly fixed WindowProc in Paint issue
git-svn-id: svn://ultimatepp.org/upp/trunk@2668 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-09-08 07:06:11 +00:00
rylek
ec3ec7ae33 - CtrlLib: TreeCtrl bug fix - SyncInfo crashed on an empty tree
* CtrlLib: CtrlCore.h, Win32Wnd.cpp - Unicode support in coreCmdLine / SplitCommandLine to support dynamic application charset
* Core: App.cpp - CommandLine() and Environment() support dynamic charset switching
- Geom/Draw: plotter.h & cpp - fixed orientation bug in PlotterTool::Circle routine

git-svn-id: svn://ultimatepp.org/upp/trunk@2211 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-03-10 19:41:59 +00:00
cxl
6a21e475d7 OptionTree behaviour improved
git-svn-id: svn://ultimatepp.org/upp/trunk@1932 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-01-24 13:40:38 +00:00
rylek
8d7cd39bb2 Fixed minor multiselect-related bugs in TreeCtrl
git-svn-id: svn://ultimatepp.org/upp/trunk@1808 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-12-13 14:46:01 +00:00
cxl
69e9d692e0 CtrlLib: TreeCtrl InsertDrop now returns ids of inserted nodes
git-svn-id: svn://ultimatepp.org/upp/trunk@1691 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-11-12 21:35:45 +00:00
cxl
f891a880f7 CtrlLib: TreeCtrl fix
git-svn-id: svn://ultimatepp.org/upp/trunk@1671 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-10-31 09:37:21 +00:00
cxl
b49c6731a6 Draw: DisplayWithIcon, CtrlLib: DropTree
git-svn-id: svn://ultimatepp.org/upp/trunk@1603 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-10-02 12:51:38 +00:00