Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Development / Re: Problem compěling after r11701 (related to Direct2D)
« Last post by sodev on Yesterday at 11:21:02 pm »
I am using MSVC and i get GDI+ and Direct 2D out-of-the-box without any special setup. I remember in the past even GDI+ wasn't working on MinGW so this might indeed be a compiler issue. You can check setup.h, it should contain #ifdefs for these features to test the compiler version, might give you a hint which version is required.

Thats one of the reasons why i don't like to use GCC on Windows ;)
2
Development / Re: Problem compěling after r11701 (related to Direct2D)
« Last post by oBFusCATed on Yesterday at 05:23:16 pm »
Can you build the stc sample and see if it works? There is a chance your compiler (mingw stuff in fact) has missing all the direct2d libs which are required. I think, I'm using mingw-w64 8.x.x.
3
Development / Re: Problem compěling after r11701 (related to Direct2D)
« Last post by Miguel Gimenez on Yesterday at 04:02:58 pm »
Windows 10 64 bits
MinGW 7.2
wxWidgets 3.1.2 compiled in 32 bits

When I set wxUSE_GRAPHICS_DIRECT2D to 1 wxWidgets compiles OK, but when linking C::B sdk the linker does not find the Direct2D functions. I am now on a different computer, don't have the exact error messages at hand.
4
Development / Re: Problem compěling after r11701 (related to Direct2D)
« Last post by stahta01 on Yesterday at 03:55:00 pm »
Operating System version?
wxWidgets version? 3.1.2

What happen to make you think it failed to find Direct2D functions?
Build error or what?

Tim S.

5
Development / Re: Problem compěling after r11701 (related to Direct2D)
« Last post by Miguel Gimenez on Yesterday at 03:46:49 pm »
In a first step I only changed wxUSE_GRAPHICS_DIRECT2D to 1; wxWidgets compiled OK, but when linking C::B sdk the linker does not find the Direct2D functions.

I then read that Direct2D was intended to replace GDI+, so I disabled GDI+ just in case it was blocking Direct2D. This breaks libwxscntilla.a creation.

So I prefer asking before recompiling wxWidgets for a third time.
6
Development / Re: Problem compěling after r11701 (related to Direct2D)
« Last post by oBFusCATed on Yesterday at 03:19:43 pm »
Why do you disable wxUSE_GRAPHICS_GDIPLUS?

Unfortunately I don't remember what I did to enable direct2d. :(
7
Development / Problem compěling after r11701 (related to Direct2D)
« Last post by Miguel Gimenez on Yesterday at 01:57:33 pm »
After updating to r11701 I can't compile C::B due to this lines in PlatWX.cpp

Code: [Select]
#if wxCHECK_VERSION(3, 1, 0) && defined(__WXMSW__) && !defined(HAVE_DIRECTWRITE_TECHNOLOGY)
    #error "You need to have Direct2D capable wxWidget build to build Code::Blocks. We want to support fonts with ligatures!!!"
#endif // wxCHECK_VERSION(3, 1, 0) && defined(__WXMSW__) && !defined(HAVE_DIRECTWRITE_TECHNOLOGY)

I have changed wxUSE_GRAPHICS_GDIPLUS to 0 and wxUSE_GRAPHICS_DIRECT2D to 1 in my setup.h and recompiled wx3.1.2, but now I get linking errors when creating libwxscintilla.a:

Code: [Select]
undefined reference to wxGCDC::AcquireHDC()
undefined reference to wxGraphicsRenderer::GetDefaultRenderer()

and more like those. Which configuration should I use to get this to work?.
8
Development / Re: Problem with icons on HiDPI displays
« Last post by darmar on May 18, 2019, 09:27:32 pm »
Thank you, oBFusCATed, for the reply and your contribution to 'hidpi' things in general.

Atlases are cool idea. I already fixed misspelled icon names few hours ago.

I was asking because Specialmart, a guy which created most of the svg icons, maybe could contribute further his efforts in the coming summer. So, I will ask him to start from wxSmith icons.

 
9
Development / Re: Problem with icons on HiDPI displays
« Last post by oBFusCATed on May 18, 2019, 07:35:00 pm »
I don't know yet, I have a list of things which I have to make hidpi aware.

Currently we use 16x16 as scale 1.0x and we have images up to 64x64 which is 4.0x. So, I guess we need most of the image in these scales. The start here page would probably work fine with only 1x and 2x scales (no in-betweens and no bigger scales).

If you make atlases you'll see that some images aren't spelled correctly. I'd be happy if you can fix those, first. :)

p.s. For wxSmith we would need all scales 1-4x + in-betweens.
p.p.s. For the scripted wizard probably the same 1-4x.
10
Development / Re: Problem with icons on HiDPI displays
« Last post by darmar on May 18, 2019, 06:48:59 pm »
I have a question: What icons are still needed?

For example, wxSmith plugin has 16x16 and 32x32 size icons. Do we need other size icons?
How with the SciptedWizard?
Pages: [1] 2 3 4 5 6 ... 10