aboutsummaryrefslogtreecommitdiffstats
path: root/src/esdl2.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-04-03 13:29:12 +0200
committerLoïc Hoguin <[email protected]>2014-04-03 13:29:12 +0200
commitbc5bcab82c15731b585936f375330b5c1aad3ed5 (patch)
tree26c5a251de3d021e3ace0ea8b74a2b6a5fad3128 /src/esdl2.erl
parent84b4ea732c0f2a54bbbe664e50e1af314a0bdb38 (diff)
downloadesdl2-bc5bcab82c15731b585936f375330b5c1aad3ed5.tar.gz
esdl2-bc5bcab82c15731b585936f375330b5c1aad3ed5.tar.bz2
esdl2-bc5bcab82c15731b585936f375330b5c1aad3ed5.zip
Add sdl_window:get_pos/1
Diffstat (limited to 'src/esdl2.erl')
-rw-r--r--src/esdl2.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/esdl2.erl b/src/esdl2.erl
index 0483779..0d838d4 100644
--- a/src/esdl2.erl
+++ b/src/esdl2.erl
@@ -80,6 +80,7 @@
-export([get_window_id/1]).
-export([get_window_maximum_size/1]).
-export([get_window_minimum_size/1]).
+-export([get_window_position/1]).
%% @todo We probably want to accept an env variable or somthing for the location.
-on_load(on_load/0).
@@ -249,3 +250,6 @@ get_window_maximum_size(_) ->
get_window_minimum_size(_) ->
erlang:nif_error({not_loaded, ?MODULE}).
+
+get_window_position(_) ->
+ erlang:nif_error({not_loaded, ?MODULE}).