Search found 127 matches

by Mick P.
Tue Jan 07, 2020 6:56 pm
Forum: C++ Development
Topic: Accelerator shortcuts (Scroll_lock?) and pretty names (wxTRANSLATE?)
Replies: 3
Views: 127

Re: Accelerator shortcuts (Scroll_lock?) and pretty names (wxTRANSLATE?)

Thanks again for saving from hunting down a dead end. I can at least link to this discussion when I write some bandaid code for this. I suppose it should be reported, sometime. (I have to dispatch the accelerators manually already, so rewriting the labels isn't so much an issue as an extra layer of ...
by Mick P.
Mon Jan 06, 2020 11:17 am
Forum: C++ Development
Topic: Accelerator shortcuts (Scroll_lock?) and pretty names (wxTRANSLATE?)
Replies: 3
Views: 127

Accelerator shortcuts (Scroll_lock?) and pretty names (wxTRANSLATE?)

https://github.com/wxWidgets/wxWidgets/blob/53df59a14a7b84fcfba9ef4d085269417c55d5c7/src/common/accelcmn.cpp#L88 Sorry, I wanted to be able to use Scroll Lock as a hotkey. Tracing the code I found Scroll_lock from the code in the link above: { WXK_SCROLL, /*TRANSLATORS: Name of keyboard key*/ wxTRAN...
by Mick P.
Sat Jan 04, 2020 3:51 pm
Forum: C++ Development
Topic: Hidden wxImageHandler requirements (SetType? wxQuantize?)
Replies: 3
Views: 178

Re: Hidden wxImageHandler requirements (SetType? wxQuantize?)

You could argue that saving a single image to GIF should perform the quantization internally if no palette is present. But apart from that, i don't see the problem. If you want to save a GIF animation, you need dedicated code for that case anyway. I didn't try the regular GIF path. I just now quick...
by Mick P.
Thu Jan 02, 2020 2:51 pm
Forum: C++ Development
Topic: Hidden wxImageHandler requirements (SetType? wxQuantize?)
Replies: 3
Views: 178

Hidden wxImageHandler requirements (SetType? wxQuantize?)

Sorry, in a hurry... I think these fall into the category of defects but I'd like to gather some information before taking it to the issue tracker. I hadn't had problems saving images with wxImageHandler until trying to use the animated GIF feature that would be cool for sharing 3D animations online...
by Mick P.
Fri Dec 13, 2019 2:33 am
Forum: Platform Related Issues
Topic: Win 8 toolbar toggle is awfully funny looking (checker background, etc.)
Replies: 6
Views: 253

Re: Win 8 toolbar toggle is awfully funny looking (checker background, etc.)

Thank you http://www.swordofmoonlight.net/bbs/Smileys/default/thumbup.gif I think this must be a driver difference since everything looks normal except for the backgrounds. I haven't updated the demo or anything but the simplest explanation is the glClear (background fill) call is done before glView...
by Mick P.
Wed Dec 11, 2019 5:51 pm
Forum: Platform Related Issues
Topic: Win 8 toolbar toggle is awfully funny looking (checker background, etc.)
Replies: 6
Views: 253

Re: Win 8 toolbar toggle is awfully funny looking (checker background, etc.)

EDITED: I added a test model (https://github.com/mick-p1982/mm3d/releases/download/win32-demo/model_equal_test.mm3d) to the demo set with animations in case anyone cares to see the software in action. One of its images (https://github.com/mick-p1982/mm3d/releases/download/win32-demo/test_rgba_uncomp...
by Mick P.
Wed Dec 11, 2019 5:04 pm
Forum: Platform Related Issues
Topic: Win 8 toolbar toggle is awfully funny looking (checker background, etc.)
Replies: 6
Views: 253

Re: Win 8 toolbar toggle is awfully funny looking (checker background, etc.)

Thank you! It does look normal for you, so my guess like yours is something about this user's theme. I don't think it's a Classic/Contrast theme, but it's hard to imagine what the strategy is there for Win32. Do you mean the dark grey background of the icons? Well, no, that's to match the rest of th...
by Mick P.
Wed Dec 11, 2019 12:57 am
Forum: Platform Related Issues
Topic: Win 8 toolbar toggle is awfully funny looking (checker background, etc.)
Replies: 6
Views: 253

Win 8 toolbar toggle is awfully funny looking (checker background, etc.)

A Windows 8 user has pointed out to me their toolbar looks unusual. I've added wxTB_FLAT to get it too look more correct, however the toggled button-like tools still look really strange. I'm not sure if there are any more wxToolBar styles but it would be hard for me to test, so I wonder if anyone he...
by Mick P.
Wed Nov 13, 2019 7:13 am
Forum: Platform Related Issues
Topic: Help? GTK events do/dont's for dummies (nothing works)
Replies: 44
Views: 2350

Re: Help? GTK events do/dont's for dummies (nothing works)

They don't. Who tod you that? If not I would not call something a UI framework, since it's too low-level to do layout if it doesn't provide meaningful layout facilities. I think you're playing cat and mouse with me. Yes the system uses wxWidgets to implement itself. In OpenGL mode it uses wxGLCanva...
by Mick P.
Wed Nov 13, 2019 7:02 am
Forum: Platform Related Issues
Topic: wxHTML cells are 0 width/height with wxGTK3/Linux?
Replies: 3
Views: 211

Re: wxHTML cells are 0 width/height with wxGTK3/Linux?

Thanks guys. I think I should delete this topic since the problem was the new C++11 vsnprintf specification returns a positive value on buffer overflow instead of the old negative error indicator. wxWidgets initializes the HTML document with a dummy html string that looked like mine as truncated in ...
by Mick P.
Tue Nov 12, 2019 4:16 am
Forum: Platform Related Issues
Topic: Help? GTK events do/dont's for dummies (nothing works)
Replies: 44
Views: 2350

Re: Help? GTK events do/dont's for dummies (nothing works)

This accusation is based on what? Accusation? Did you even tried to learn and understand sizers? Did you try to create something based on different sizers? Did you build and run the layout sample? No, I have work to do. Every UI framework has layout elements. But they position controls relative to ...
by Mick P.
Mon Nov 11, 2019 10:59 pm
Forum: Platform Related Issues
Topic: wxHTML cells are 0 width/height with wxGTK3/Linux?
Replies: 3
Views: 211

wxHTML cells are 0 width/height with wxGTK3/Linux?

Sorry to ask. My last hours I've been slowly (gdb) stepping through wxHTML code to try to figure out why it doesn't work like wxMSW to generate a page size matching the document's or display any content... From what I can tell the InitParser uses a system font that has a basic nonzero width and heig...
by Mick P.
Sun Nov 10, 2019 5:50 am
Forum: Platform Related Issues
Topic: Help? GTK events do/dont's for dummies (nothing works)
Replies: 44
Views: 2350

Re: Help? GTK events do/dont's for dummies (nothing works)

A sizer is for a layout, it doesn't help with absolute positioning. In any case I think it would surely work if wxGTK implemented the immediate pass-through option, but since it doesn't it gets the events out of order or something. I'm not sure why you are so confident. Basic positioning doesn't see...
by Mick P.
Fri Nov 08, 2019 7:33 pm
Forum: Platform Related Issues
Topic: Help? GTK events do/dont's for dummies (nothing works)
Replies: 44
Views: 2350

Re: Help? GTK events do/dont's for dummies (nothing works)

Hi, All you trouble with the sizes/positioning of controls should go away when you start using sizers and abandon the idea of absolute positioning for good. Thank you. I think I missed this, but anyway, that's no excuse! There's nothing to use a sizer with, anyway, other than a dummy. With a wxGLCa...
by Mick P.
Sun Oct 06, 2019 3:57 pm
Forum: C++ Development
Topic: Move top of wxHtmlWindow view (wxHW_SCROLLBAR_NEVER)
Replies: 3
Views: 209

Re: Move top of wxHtmlWindow view (wxHW_SCROLLBAR_NEVER)

Maybe you're running into the issue that every re-format of the page (e.g. when the content changes or when you resize the window) will force the window to scroll to the top. Which is pretty annoying. I think that's caused by this, which is called at the top of "Layout" (wxHtmlContainerCell). void ...