Home » Community » U++ community news and announcements » 2024rc
|
|
|
Re: 2024rc3 [message #61152 is a reply to message #61150] |
Mon, 25 November 2024 10:31  |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
cbpporter wrote on Mon, 25 November 2024 09:36
- lately my main PC, after the RC update, has started showing weird number in code navigator panel, between []. It is often something small like [21], but for some symbols is over [1000]. This in on RC4 and only one PC .
int PaintCpp(Draw& w, const Rect& r, int kind, const String& name, const String& pretty, Color ink, bool focuscursor, bool retval_last)
{
int x = r.left;
Image img = CxxIcon(kind);
Size isz = img.GetSize();
w.DrawImage(x + (DPI(16) - isz.cx) / 2, r.top + (r.GetHeight() - isz.cy) / 2, img);
x += DPI(16);
int y = r.top + (r.GetHeight() - Draw::GetStdFontCy()) / 2;
#ifdef _DEBUG
String ks = " [" + AsString(kind) + "] ";
w.DrawText(x, y, ks);
x += GetTextSize(ks, StdFont()).cx;
#endif
That is debug feature. Compile it in release...
|
|
|
Goto Forum:
Current Time: Wed Jun 18 01:18:35 CEST 2025
Total time taken to generate the page: 0.05101 seconds
|