| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
gl:getDebugMessageLog returned one list instead of several,
and gl:debugMessageInsert had an unused lenght parameter.
|
|
|
|
|
|
| |
Some changed macros in 3.2.
Also add support function for OpenGL contexts.
|
| |
|
|\
| |
| | |
Use new -nifs([]) attribute for our own NIFs
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
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").
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
| |
The functions was missing, other functions are missing too,
but they seems to be for wxRichtext which is not yet
implemented/supported.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Use (and modify) wxWidgets doc input to generate documenation for erlang.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
The API will change to an option list in OTP-24,
so change the API now before it is used.
|
| |
|
|
|
|
| |
The generated code and not the generator was updated in a previous commit.
|
| |
|
|
|
|
| |
Add the possibility to handle high resolution screens.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Needed on the Mac for some programs.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Been included in wxWidgets since 2.7.1, but not documented and
have been missed in wx.
Is documented in 3.0.0
|
|
|
|
|
| |
Have been around since 2.6 but undocumented, add it since it is
useful in multi-display setup.
|
|
|
|
| |
They have moved from opengl.org to www.khronos.org
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Fix some configurations so that it works with new doxygen and
with complete install outside of /usr/include/wx...
|
| |
|
| |
|
|
|
|
| |
Fix error handling in gl as in wx.
|
| |
|
|
|
|
|
|
| |
Previously only accepted lists tough a call is made to
unicode:characters_to_binary/1, and the functions where specified to
handle chardata.
|
|
|
|
| |
Enable window to handle drop file events.
|
|
|
|
| |
Added wxDropFiles event
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
* dgud/wx/fix-seqfault-in-cleanup:
wx: Fix occasional seq fault after appliction stops
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
| |
Follow the convention and make atom more visibile in types and specs
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| | |
* henrik/update-copyrightyear:
update copyright-year
|
| | |
|
|/
|
|
|
| |
May cause incompatibility for applications but the flags argument is
out only in C++.
|