summaryrefslogtreecommitdiff
path: root/lib/wx/examples
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearErlang/OTP2022-04-111-1/+1
|
* Merge pull request #5795 from wojtekmach/wm-observer-improvementsDan Gudmundsson2022-03-251-1/+1
|\ | | | | | | wx, observer: macOS menu bar improvements OTP-17996
| * wx: Call original event handlers for menu commandsWojtek Mach2022-03-211-1/+1
| |
* | Update copyright yearErlang/OTP2022-02-159-9/+9
| |
* | Merge pull request #5597 from garazdawi/lukas/add-gh-actions-testing/OTP-17710Lukas Larsson2022-01-213-3/+3
|\ \ | | | | | | Add DEVELOPMENT.md and expand gh actions to run tests
| * | otp: Fix `make TYPE=$TYPE` to work for all typesLukas Larsson2022-01-213-3/+3
| |/
* | Fix typos in lib/wxKian-Meng Ang2022-01-196-9/+9
|/
* Update copyright yearRickard Green2021-12-1310-10/+10
|
* Change icon filesDan Gudmundsson2021-04-2836-2948/+5
| | | | | And remove wxWidgets licenced icons. Remove xrc example as I don't have time to re-write it.
* Add wxWebViewDominic Letz2021-02-194-3/+311
| | | | | | | This patch adds support for the wxWebView component of wxWidgets. This finally enables Erlang developers to write modern desktop applications comparable in look and feel with state of the art applications. The patchset ships with an addition of the demo application and adds a sample component in examples/demo/ This patchset also depends on adding libwxgtk-webveiw3.0-gtk3-dev to the base images for the CI builds to succeed.
* wxNotificationMessage supportDominic Letz2021-01-222-0/+145
| | | | | | | | This enables native os notification events on the platform. For implementing messaging and background apps this is especially important. E.g. imagine an app wanting to announce 'Update available' or 'New Mail Received' or 'Download Completed'. For MacOS even which discourages applications raising themself to focus, using the native OS notifications is the only correct way to get the users attention to an app. Note that the underlying wxWidgets implementation in 3.0.x is very basic and has been completely reworked in 3.1.x for best experience use wxWidgets 3.1
* Rewrite wx, use wxWidgets 3 as base and use nif interfaceDan Gudmundsson2020-12-215-49/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Complete overhaul of wx. Use nif interface instead of erlang driver interface. Use wxWidgets interface files as base for doxygen and code generation. This upgrades the base to 3.1.4. Change the interface files so we can generate code that is backward as compatible as possible. Compatibility with the old 2.8 API Reduce incompatibility with the old API as much as possible. Changes to the old API include: wxNotebookEvent have been replaced by the wxBookctrlEvent (NOTE) wxWindowDC default creators have been removed wxClientDC default creators have been removed wxPaintDC default creators have been removed wxWindow:setVirtualSizeHints(..) have been deprecated wxWindow:makeModal(..) have been deprecated wxWindow:makeModal(..) have been deprecated wxToolBar add/insertTool without label have been deprecated wxStyledTextCtrl some functions have changed args from boolean to int wxSizerItem:new() Some args have become options Removed depr wxSizerItem:setWindow() use assignWindow Removed depr wxSizerItem:setSpacer() use assignSpacer Removed depr wxSizerItem:setSpacer() use assignSpacer Removed depr wxSizerItem:setSizer() use assignSizer wxMenu append/insert/prepend have changed return value and lost IsCheckable argument wxListCtrl:setItem/4 changed return value wxListCtrl:setItem/4 changed return value wxImage::convertToGreyscale opts incompatible wxGridSizer::wxGridSizer opts incompatible wxGrid API have many changes wxGraphicsRenderer:create*GradientBrush(..) uses GradientStops now wxGraphicsRenderer:createPen(..) have been removed wxGraphicsRenderer:create*GradientBrush(..) uses GradientStops now wxGLCanvas API is incompatible wxFlexGridSizer::wxFlexGridSizer opts incompatible wxDisplay::wxDisplay opts incompatible wxCalendarDateAttr:new(ColText [,OptList]) have been removed wxBitmapButton:[g|s]etBitmapSelected have been removed
* Change the taskbar api to be forward compatDan Gudmundsson2020-12-071-3/+1
| | | | | The API will change to an option list in OTP-24, so change the API now before it is used.
* Moved example into existing menuDominic Letz2020-10-132-168/+5
|
* Added wxTaskBarIcon:new/1Dominic Letz2020-10-131-0/+168
|
* Merge pull request #2197 from lbolla/spelling-mistakes-fixBjörn Gustavsson2019-04-101-1/+1
|\ | | | | Fix various spelling mistakes
| * Fix various spelling mistakesLorenzo Bolla2019-03-311-1/+1
| | | | | | | | Fix ERL-541 and various other unreported spelling mistakes.
* | Change "can not" into "cannot"Raimo Niskanen2018-07-271-1/+1
|/ | | | | I did not find any legitimate use of "can not", however skipped changing e.g RFCs archived in the source tree.
* Update copyright yearHenrik Nord2018-06-189-9/+9
|
* wx: Do not call erlang:get_stacktrace()Hans Bolinder2018-02-061-2/+1
|
* Merge branch 'maint'Dan Gudmundsson2017-09-188-59/+10
|\ | | | | | | | | | | | | | | | | | | | | * maint: reltool: Remove export_all warning in tests et: Remove export_all warnings in test mnesia: Remove export_all in tests wx: Remove export_all in example code wx: test remove export_all wx: Update doc, OpenGL external links wx: Reduce Opengl docs
| * wx: Remove export_all in example codeDan Gudmundsson2017-09-148-59/+10
| |
* | Remove query keyword residuesbitnitdit2017-08-031-1/+1
|/ | | | | There are still some query residues used as a keyword. Remove them. query was no longer a keyword since the commit 0dc3a29744bed0b7f483ad72e19773dc0982ea50 2012-11-19.
* Update copyright yearRaimo Niskanen2017-05-041-1/+1
|
* Avoid livelock in driver when batching commandsDan Gudmundsson2017-04-061-0/+3
| | | | | | | | With a bad timing in wx:batch() the driver could get stuck handling commands without ever checking for gui events. Avoid that by exiting loop after the driver have done cond_wait a couple of times.
* wx: add wxWindowDragAcceptFilesDan Gudmundsson2016-09-291-5/+14
| | | | Enable window to handle drop file events.
* wx: Fix occasional seq fault after appliction stopsDan Gudmundsson2016-05-301-0/+2
| | | | | | | | There seems to be a timeing dependent double delete when doing reference cleanup after wx:destroy(). wxGraphicsObjects can thus not be free'ed by wx in the cleanup phase. A guess is that the underlying rendering context deletes all graphics objects without careeing about wxWidgets reference counting.
* wx: Fix warnings in exampleDan Gudmundsson2016-05-032-11/+18
| | | | | Bitmaps of size less than 1 generates asserts, and size 0 event is before window is realized.
* update copyright-yearHenrik Nord2016-03-1541-41/+41
|
* wx: Replace 'random' with 'rand'Björn Gustavsson2015-12-112-5/+4
|
* wx: Add wxOverlayDan Gudmundsson2015-11-241-5/+42
|
* wx: Add missing aui functionalityDan Gudmundsson2015-08-281-29/+52
|
* Change license text to APLv2Bruce Yinhe2015-06-1842-414/+456
|
* wx: Use module erl_annoHans Bolinder2015-04-301-3/+5
|
* wx: Prefer wxWidgets-3.0. branch on windowsDan Gudmundsson2015-03-271-1/+9
| | | | | Since no bug fixes are done anymore on the 2.8 branch it is time to switch the preferred version to 3.0 branch.
* wx: Fix typo in graphicsContext exampleJosh Adams2014-10-171-1/+1
|
* Update copyright yearsBjörn-Egil Dahlberg2013-01-2521-21/+21
|
* Remove support for the query keyword and query expressionsLoïc Hoguin2013-01-161-1/+0
|
* wx: Fix demo and testsDan Gudmundsson2013-01-092-17/+62
| | | | Added debugging and workarounds for wx-2.9 on Mac
* wx: Fix the demoDan Gudmundsson2013-01-0926-33/+125
| | | | | Changing demo, didn't close the previous choosen demo, which looked really bad on Windows.
* wx: Update examples so they work with both wxWidgets 2.8 and 2.9Dan Gudmundsson2013-01-0910-99/+89
|
* Update to work with whitespace in exec pathLukas Larsson2012-06-054-4/+4
| | | | | OTP-10106 OTP-10107
* [wx] Cleanup MakefilesDan Gudmundsson2012-02-095-88/+32
| | | | Remove old "outside" otp building support.
* Merge branch 'dgud/wx/behaviour-spec'Dan Gudmundsson2011-12-1028-53/+168
|\ | | | | | | | | | | | | | | * dgud/wx/behaviour-spec: [wx] Add handle_cast to avoid behaviour warning [wx] Avoid missing wx_object behaviour warning [wx] Remove warnings Add an additional cast when casting buffer offsets, to remove warnings "cast to pointer from integer of different size" [wx] Add callback specs to wx_object
| * [wx] Add handle_cast to avoid behaviour warningDan Gudmundsson2011-12-0928-55/+170
| |
* | Update copyright yearsBjörn-Egil Dahlberg2011-12-0912-12/+12
|/
* Merge branch 'bmk/inets/inets58_integration'Micael Karlberg2011-11-154-5/+6
|\
| * Add missing dependency for target release (opt).Micael Karlberg2011-10-194-5/+6
| |
* | Remove exec bit from files related to: XML, make, CRicardo Catalinas Jiménez2011-11-103-0/+0
| |
* | Remove exec bit from: erl, hrl, xml, html, asn, gif, xpmRicardo Catalinas Jiménez2011-11-109-0/+0
|/