Search found 105 matches

by pvn
Sun Mar 24, 2024 3:23 am
Forum: Platform Related Issues
Topic: Display emojis with color in Windows
Replies: 2
Views: 129

Display emojis with color in Windows

Question: Is there a way to display color emojis in Windows :?: Building for Mac, text that contains emoji characters is displayed properly, but not on Windows see the 2 screenshots Untitled_mac1.png Untitled_win1.png These screenshots use a wxGrid to display the text, but that can be changed if nee...
by pvn
Sat Mar 23, 2024 10:38 am
Forum: C++ Development
Topic: Suggestion to display list of images and text in twitter clone
Replies: 10
Views: 355

Re: Suggestion to display list of images and text in twitter clone

thanks, but I found a better solution, just detect these 2 events of the wxPanels on the scrolled window EVT_LEAVE_WINDOW(EntryPanel::OnMouseLeave) EVT_ENTER_WINDOW(EntryPanel::OnMouseEnter) Untitled.png In this code , I switch to color red when the mouse entered. I tried to add a text control to th...
by pvn
Sat Mar 23, 2024 7:09 am
Forum: C++ Development
Topic: Suggestion to display list of images and text in twitter clone
Replies: 10
Views: 355

Re: Suggestion to display list of images and text in twitter clone

Thank you for the suggestions. This screenshot shows a wxScrolledWindow that will act as the "feed". Untitled.png I added some child wxPanel (s) to it. these child windows will display text, images, media, etc Next problem: How to detect an "active" child Active means : 1) it cou...
by pvn
Tue Mar 19, 2024 8:32 am
Forum: C++ Development
Topic: Suggestion to display list of images and text in twitter clone
Replies: 10
Views: 355

Re: Suggestion to display list of images and text in twitter clone

I just did the image load... looks good, interesting that you can control the location and size of the image class wxGridCellImageRenderer : public wxGridCellStringRenderer { public: virtual void Draw(wxGrid& grid, wxGridCellAttr& attr, wxDC& dc, const wxRect& rect, int row, int col,...
by pvn
Tue Mar 19, 2024 8:22 am
Forum: C++ Development
Topic: Suggestion to display list of images and text in twitter clone
Replies: 10
Views: 355

Re: Suggestion to display list of images and text in twitter clone

I meant for the actual GUI, like HTML/CSS + React/Vue/Svelte/etc. Javascript ? :shock: :oops: [-X No thank you :wink: I would loose years of my life if I ever had to do Javascript programming but the idea is good for some cases. I once did a project for a wxWidgets app , using wx webview (web engin...
by pvn
Tue Mar 19, 2024 8:07 am
Forum: C++ Development
Topic: Suggestion to display list of images and text in twitter clone
Replies: 10
Views: 355

Re: Suggestion to display list of images and text in twitter clone

TBH, i think using web technologies would be the best for this kind of task. Yes, I am using web technologies ( a websockets library), that loads some JSON. then I have to parse this JSON to detect any web components, these are typically static images , that show a preview of the item on the twitte...
by pvn
Tue Mar 19, 2024 6:39 am
Forum: C++ Development
Topic: Suggestion to display list of images and text in twitter clone
Replies: 10
Views: 355

Suggestion to display list of images and text in twitter clone

I am doing a Twitter clone that displays a feed , that can have images , text, other widgets (e.g like or retweet widgets) some widgets have a "follow up" action, example, an image click will load an URL with an image, or a video What would be the best class to order this feed? Options cou...
by pvn
Fri May 26, 2023 8:14 am
Forum: Compiler / Linking / IDE Related
Topic: Mac build fail with missing tif_config.h
Replies: 2
Views: 1068

Re: Mac build fail with missing tif_config.h

Are you sure this is not caused by missing source code from modules just like the zip in your other thread? Yes, the previous issue was my mistake. 'tif_config.h' is a file not included in the TIFF library , it is auto generated on the build configuration for each system probably a bit of twisting ...
by pvn
Fri May 26, 2023 8:07 am
Forum: Compiler / Linking / IDE Related
Topic: GitHub source code zip file missing dependencies
Replies: 2
Views: 937

Re: GitHub source code zip file missing dependencies

Instead, download one of wxWidgets-3.2.2.1.zip or wxWidgets-3.2.2.1.7z,
I did not write the question very well, this was what I did AND these compressed versions DO have the dependencies (some confusion here, sorry #-o )
by pvn
Fri May 26, 2023 1:41 am
Forum: Compiler / Linking / IDE Related
Topic: Mac build fail with missing tif_config.h
Replies: 2
Views: 1068

Mac build fail with missing tif_config.h

/wxWidgets-3.2.2.1/src/tiff/libtiff/tiffiop.h:31:10: fatal error: 'tif_config.h' file not found
#include <tif_config.h>
by pvn
Thu May 25, 2023 11:58 pm
Forum: Compiler / Linking / IDE Related
Topic: GitHub source code zip file missing dependencies
Replies: 2
Views: 937

GitHub source code zip file missing dependencies

I downloaded the latest release https://github.com/wxWidgets/wxWidgets/releases/tag/v3.2.2.1 but on build , it errors on missing dependencies (png, etc) How can I download a .zip that builds out of the box? Note: I know I can use git clone but I want to use the .zip and git submodule update --init c...
by pvn
Wed May 24, 2023 5:08 pm
Forum: C++ Development
Topic: 3 panes with 2 splitters
Replies: 0
Views: 71675

3 panes with 2 splitters

I am using https://docs.wxwidgets.org/3.0/classwx_splitter_window.html to divide a frame into 3 equal size panes But I don't quite get the desired result with these parameters below in splitter_1->SetMinSize(wxSize(1000, -1)); splitter_2->SplitVertically(panel_2, panel_3, 700); complete code where s...
by pvn
Mon May 17, 2021 11:08 pm
Forum: Compiler / Linking / IDE Related
Topic: 3.1.5 Mac sample errors with Cmake
Replies: 8
Views: 5822

Re: 3.1.5 Mac sample errors with Cmake

BTW, the automatic wxWidgets build/test framework doesn't fail and didn't fail even when configuring with CMake-thingy.
I does fail;
I tried just to use the 3.1.5 distribution with CMake (not my app),
did you try to build with CMake on a Mac?
by pvn
Mon May 17, 2021 10:47 pm
Forum: Compiler / Linking / IDE Related
Topic: 3.1.5 Mac sample errors with Cmake
Replies: 8
Views: 5822

Re: 3.1.5 Mac sample errors with Cmake

this error /Volumes/Home/pvn/git/wx/wxwidgets-3.1.5/samples/menu/menu.cpp:191:5: error: unknown type name 'wxFileHistory' wxFileHistory* m_fileHistory; can be fixed by simply adding these 2 headers to the sample menu.cpp #include "wx/filehistory.h" #include "wx/filename.h" I don'...
by pvn
Mon May 17, 2021 10:32 pm
Forum: Compiler / Linking / IDE Related
Topic: 3.1.4 to 3.15 link error
Replies: 9
Views: 6545

Re: 3.1.4 to 3.15 link error

I build everything with configure and MSVC solution and then use MSVC, Anjuta w/Makefile and Xcode to build my program. I use CMake because I develop for these 3 platforms, and with 1 script I build everywhere; I hope MaartenB can chime in and help you include wx-config... I appreciate the concern,...