summaryrefslogtreecommitdiff
path: root/lib/wx/src/gen
Commit message (Collapse)AuthorAgeFilesLines
* gl: Fix glDebugMessage functionalityDan Gudmundsson2023-04-241-6/+5
| | | | | gl:getDebugMessageLog returned one list instead of several, and gl:debugMessageInsert had an unused lenght parameter.
* Fix wx-3.2 macros and OpenGL supportDan Gudmundsson2023-04-243-1137/+1165
| | | | | | Some changed macros in 3.2. Also add support function for OpenGL contexts.
* wx: Add debug printouts for OpenGLDan Gudmundsson2023-04-021-4/+7
|
* Merge PR-5834 from sverker/add-nifs-attribSverker Eriksson2022-03-311-1/+2
|\ | | | | Use new -nifs([]) attribute for our own NIFs
| * wx: Use new -nifs([]) attributeSverker Eriksson2022-03-291-1/+2
| |
* | wx: Add MacGetCommonMenuBar and MacSetCommonMenuBarWojtek Mach2022-03-252-2698/+2714
|/ | | | | | | | | | | | This is especially useful for apps that manage multiple wxFrames where we can close the last window but want the application to keep running. Before this patch we'd be stuck with the default menu bar, created in `wxe_impl.cpp`, that we cannot interact with. After this patch we can, which means we can add new menu items, subscribe to events, etc. Example: wx:new(), MB = wxMenuBar:macGetCommonMenuBar(), M = wxMenuBar:oSXGetAppleMenu(MB), wxMenu:setTitle(M, "Test").
* wx: Add aux1 and aux2 fields to the wxMouseState recordDan Gudmundsson2022-02-183-896/+952
| | | | | Don't add it to the event record, you can already subscribe to events of aux1 and aux2 so I don't want make the event record larger and incompatible.
* Merge branch 'maint'Dan Gudmundsson2022-02-173-238/+95
|\
| * wx: Update wxGridEvent eventsDan Gudmundsson2022-02-081-2/+2
| | | | | | | | | | | | Removed 'grid_row_size', 'grid_col_size', 'grid_range_select' and 'grid_editor_created' they have other events and have not worked. Add 'grid_col_move', 'grid_col_sort' and 'grid_tabbing' events.
| * wx: Remove static_data from wxImage functionsDan Gudmundsson2022-02-082-236/+93
| | | | | | | | | | | | | | | | Only a few functions where correct and even they will cause crashes if the original binary is garbage collected. Instead remove the option and always copy the data and let wxWidgets free it when done.
* | Update copyright yearErlang/OTP2022-02-151-1/+1
| |
* | Fix typos in lib/wxKian-Meng Ang2022-01-191-1/+1
|/
* Update copyright yearRickard Green2021-12-131-1/+1
|
* wx: add some font functions to wxtextattrDan Gudmundsson2021-08-252-1810/+1956
| | | | | | The functions was missing, other functions are missing too, but they seems to be for wxRichtext which is not yet implemented/supported.
* wx: Check wxColour type harderDan Gudmundsson2021-08-2425-124/+124
| | | | | | | | | Can't check that argument is a tuple of size 4 is a color, since it could also be an object_ref and make the clause match stuff the shouldn't be matched. Also make color to have a seperate type footprint to discover those cases.
* wxNotificationMessage macos & win polishDominic Letz2021-03-012-53/+83
|
* Add wxWebViewDominic Letz2021-02-194-1/+1099
| | | | | | | 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-223-3/+188
| | | | | | | | 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
* wx: Generate docsDan Gudmundsson2020-12-21232-9230/+7195
| | | | Use (and modify) wxWidgets doc input to generate documenation for erlang.
* Build all wx constsDan Gudmundsson2020-12-212-2/+2
| | | | | | | | | So a lookup on atom can be done. Also test that the integer values in wx.hrl don't change when it is run on different backends. Make changes to the above is true.
* Rewrite wx, use wxWidgets 3 as base and use nif interfaceDan Gudmundsson2020-12-21224-33688/+26768
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-6/+9
| | | | | The API will change to an option list in OTP-24, so change the API now before it is used.
* Added wxTaskBarIcon:new/1Dominic Letz2020-10-131-4/+17
|
* Update code-gen to gen correct deprecated functionsDan Gudmundsson2020-02-172-6/+5
| | | | The generated code and not the generator was updated in a previous commit.
* otp: Add descriptions to all deprecation attributesJohn Högberg2020-02-1211-11/+18
|
* wx: Add To/FromDIP functionalityDan Gudmundsson2019-12-0279-8099/+8606
| | | | Add the possibility to handle high resolution screens.
* Add wxMouseEvent:getWheelAxis functionDan Gudmundsson2019-11-213-1649/+1660
| | | | | | Allows users see if the events was from the horizontal mouse wheel. Have not changed the wxMouse record, would be incompatible, but this allows the user to check for it in an event callback.
* Add Mac specific menubar functionsDan Gudmundsson2019-10-293-5268/+5296
| | | | Needed on the Mac for some programs.
* Add wxWindow:isShownOnScreen/1Dan Gudmundsson2019-10-2979-7504/+7710
| | | | | | | Many functions on gtk relies on that the window is actually shown on screen, i.e. realized. Create window/frame is an async request and it may take some time before it is actually shown on screen, so add this to allow user to test it.
* Add wxGCDCDan Gudmundsson2018-12-133-0/+297
| | | | | | | Been included in wxWidgets since 2.7.1, but not documented and have been missed in wx. Is documented in 3.0.0
* wx: Add wxDisplayDan Gudmundsson2018-12-133-2/+155
| | | | | Have been around since 2.6 but undocumented, add it since it is useful in multi-display setup.
* wx: Update doc, OpenGL external linksDan Gudmundsson2017-09-142-481/+481
| | | | They have moved from opengl.org to www.khronos.org
* wx: Reduce Opengl docsDan Gudmundsson2017-09-142-8891/+5
| | | | | | Only use the first paragraph in the doc which contains an overview, the result of the more detailed doc generated non valid xml, and all math expressions was rendered poorly. Remove for now.
* Remove deprecation of non deprecated functionsDan Gudmundsson2017-08-161-3/+1
| | | | | | | | | Functions where missing and where without alternatives, and the functions are available in wxWidgets-3.0.*. So either I missed it or they where removed for a while in wxWidgets-2.9 branch, but that should not be used anywhere as it was only a development branch.
* Update so that doxygen 1.8.11 can generate codeDan Gudmundsson2017-08-162-10/+10
| | | | | Fix some configurations so that it works with new doxygen and with complete install outside of /usr/include/wx...
* Avoid unnecessary length calculations in glDan Gudmundsson2016-11-222-181/+318
|
* Add option to send prebuilt binaries to multiDrawArraysDan Gudmundsson2016-11-221-483/+489
|
* wx: Improve error handlingDan Gudmundsson2016-10-171-5/+9
| | | | Fix error handling in gl as in wx.
* wx: Add wxWindow:getContentScaleFactorDan Gudmundsson2016-10-0779-6841/+7011
|
* Fix guard test for chardataDan Gudmundsson2016-10-0580-390/+390
| | | | | | Previously only accepted lists tough a call is made to unicode:characters_to_binary/1, and the functions where specified to handle chardata.
* wx: add wxWindowDragAcceptFilesDan Gudmundsson2016-09-2979-8339/+8515
| | | | Enable window to handle drop file events.
* wx: Add simple dropfiles supportDan Gudmundsson2016-09-283-0/+95
| | | | Added wxDropFiles event
* wx: Add missing specsDan Gudmundsson2016-07-052-31/+37
| | | | | | Some taylormade functions still used edoc spec's, and some where wrong which caused broken links. Change them to be real spec's and correct the types.
* Merge branch 'dgud/wx/fix-seqfault-in-cleanup'Dan Gudmundsson2016-05-311-1/+1
|\ | | | | | | | | * dgud/wx/fix-seqfault-in-cleanup: wx: Fix occasional seq fault after appliction stops
| * wx: Fix occasional seq fault after appliction stopsDan Gudmundsson2016-05-301-1/+1
| | | | | | | | | | | | | | | | 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: Quote atoms in types and specsDan Gudmundsson2016-05-24189-3260/+3260
|/ | | | Follow the convention and make atom more visibile in types and specs
* wx: Remove non implemented wxGauge functionsDan Gudmundsson2016-04-283-3875/+3832
| | | | | | | | These functions have been removed from wxWidgets-3.1 and according to documentation have been noops anyway. So remove them to make wx build with wxWidgets-3.1 if wxWidgets is compiled with --enable-compat28
* Merge branch 'henrik/update-copyrightyear'Henrik Nord2016-04-13139-139/+139
|\ | | | | | | | | * henrik/update-copyrightyear: update copyright-year
| * update copyright-yearHenrik Nord2016-03-15139-139/+139
| |
* | wx: Fix wxListCtrl:hitTest arguments and delivered resultsDan Gudmundsson2016-04-042-7/+8
|/ | | | | May cause incompatibility for applications but the flags argument is out only in C++.