Search found 2092 matches

by evstevemd
Sun Sep 09, 2018 5:50 pm
Forum: C++ Development
Topic: wxDataViewTreeCtrl different icons for expanded and collapsed item [SOLVED]
Replies: 3
Views: 388

Re: wxDataViewTreeCtrl different icons for expanded and collapsed item [SOLVED]

Thanks DM,
let me test it and see if there is any side effect.
I will then report the bug to tracker!
by evstevemd
Sat Sep 08, 2018 8:17 am
Forum: C++ Development
Topic: wxDataViewTreeCtrl different icons for expanded and collapsed item [SOLVED]
Replies: 3
Views: 388

wxDataViewTreeCtrl different icons for expanded and collapsed item [SOLVED]

I have lived with this problem for many years now without bumping a solution. It have become annoyance to my application. How can make AppendContainer show different icons? Here is the code I use: mTree->AppendContainer(parentNode, nodeName, iconClosed, iconOpen, data); But it always shows iconOpen ...
by evstevemd
Tue Jun 19, 2018 8:57 pm
Forum: The Code Dump
Topic: wxVLC - a wxWidgets VLC Media Player
Replies: 7
Views: 1898

Re: wxVLC - a wxWidgets VLC Media Player

tomay3000 wrote:in the first post I updated the previous link

Oh! I see. Thanks
by evstevemd
Tue Jun 19, 2018 7:49 pm
Forum: The Code Dump
Topic: wxVLC - a wxWidgets VLC Media Player
Replies: 7
Views: 1898

Re: wxVLC - a wxWidgets VLC Media Player

tomay3000 wrote:I have uploaded the new stable release.
All is working fine now.
Tested under wxMSW and wxGTK.
wxOSX Testers needed.

Thank you.

Where's the Link?
by evstevemd
Mon Jun 18, 2018 6:25 pm
Forum: General Development
Topic: Profiling and Optimizing app
Replies: 4
Views: 256

Re: Profiling and Optimizing app

Using GCC compiler you can use two different profilers: * GCOV: https://gcc.gnu.org/onlinedocs/gcc/Gcov.html#Gcov * GPROF: There are some toturials in the Web. If the bottleneck is saving to a file, then my wild guess is that your best option is to use std::streams (or wx' streams). Also, the way y...
by evstevemd
Sun Jun 17, 2018 6:34 am
Forum: General Development
Topic: Profiling and Optimizing app
Replies: 4
Views: 256

Re: Profiling and Optimizing app

I only know the profiling tools in Visual Studio, so i can't help with that. But as a programmer you should have a general idea when the application is slow. What are the symptoms? Slow redraws? Slow reaction to user actions? Do you use wxUpdateUIEvent? That's a real performance killer. I have a ge...
by evstevemd
Sun Jun 17, 2018 6:30 am
Forum: C++ Development
Topic: Emulate Debounce with wxTextCtrl [SOLVED]
Replies: 3
Views: 204

Re: Emulate Debounce with wxTextCtrl [SOLVED]

By the way, Debounce in other platforms that supports Rx like RxJava library is a breeze. Only one function in the chain and you are debounce-ed :)
by evstevemd
Sun Jun 17, 2018 6:27 am
Forum: C++ Development
Topic: Emulate Debounce with wxTextCtrl [SOLVED]
Replies: 3
Views: 204

Re: Emulate Debounce with wxTextCtrl [SOLVED]

If not is it possible to know user have stopped typing? No. We have no mind-reading API yet. But i'm sure Google is working on that ;) Google at it again :lol: But you're on the right track: a) Each time the user presses a key, start a one-shot timer, e.g. with 1 second delay b) When the timer is f...
by evstevemd
Sat Jun 16, 2018 11:50 am
Forum: C++ Development
Topic: Emulate Debounce with wxTextCtrl [SOLVED]
Replies: 3
Views: 204

Emulate Debounce with wxTextCtrl [SOLVED]

Hi, I have this TextCtrl that I bind to observe text changes. When Text changes, it runs resource intense search and I would not like to keep searching as user types in. I want to put some delay to take user Text only in certain intervals. I have put times to check when user last typed and ignore if...
by evstevemd
Sat Jun 16, 2018 11:10 am
Forum: General Development
Topic: Profiling and Optimizing app
Replies: 4
Views: 256

Profiling and Optimizing app

Hi, I have this app that have grown to be a monster ;) Now the app is sometimes slow and I cannot figure out which parts contribute to that. I know I can start disconnecting parts to figure out but that is time consuming. Is there a simple profiler? I only need to see method calls and time they cons...
by evstevemd
Sat Jun 16, 2018 10:31 am
Forum: wxCode
Topic: wxPDFView compile problem.
Replies: 14
Views: 1453

Re: wxPDFView compile problem.

Hi, So we need from developer exactly the information step by step to make wxPDFView lib, or how to use with sources, or an upload a new branch with all pdfium sources. You can see that this is very profecional and costs... see at https://www.winsoft.sk/pdfium.htm but there is not open source code. ...
by evstevemd
Sun Jun 10, 2018 11:59 am
Forum: The Code Dump
Topic: wxVLC - a wxWidgets VLC Media Player
Replies: 7
Views: 1898

Re: wxVLC - a wxWidgets VLC Media Player

tomay3000 wrote:Good idea, I just found that the wxMSW port has one bug: VLC will prevent event propagation (e.g double click is not working on the video panel).
And I just found a solution and I am fixing it.
When everything is OK I will do it :wink:

That'll be great
by evstevemd
Thu Jun 07, 2018 9:45 am
Forum: The Code Dump
Topic: wxVLC - a wxWidgets VLC Media Player
Replies: 7
Views: 1898

Re: wxVLC - a wxWidgets VLC Media Player

Well done. I remember that project died at some time back.
Can you organize the project as a library and host it on github?
Am sure you are going to get interested people there.
by evstevemd
Wed Jun 06, 2018 4:37 pm
Forum: C++ Development
Topic: Use SVG Icons with wxDataViewCtrl (and others)
Replies: 3
Views: 232

Re: Use SVG Icons with wxDataViewCtrl (and others)

wxWidgets itself has no SVG reading support. There is http://wxsvg.sourceforge.net/ but unfortunately it requires Cairo under Windows, so that's not an option for me. For simple SVGs you can use https://github.com/memononen/nanosvg It's very easy to integrate as it only consists of two header files...
by evstevemd
Wed Jun 06, 2018 2:44 pm
Forum: C++ Development
Topic: Use SVG Icons with wxDataViewCtrl (and others)
Replies: 3
Views: 232

Use SVG Icons with wxDataViewCtrl (and others)

Hi,
I want to replace my png icons with SVG ones. I have tried to google and I could not find any useful information so far. Have anyone tried that? How far does wxWidgets support it?

Thanks!

Go to advanced search