diff options
author | Loïc Hoguin <[email protected]> | 2014-04-03 19:50:59 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2014-04-03 19:50:59 +0200 |
commit | a1afe564f1b5a3e8b91e3f706fbd5d7d66a9978c (patch) | |
tree | 1b1e0e8662ab8fe8b8ad20b2ef456a0f71292483 /src/esdl2.erl | |
parent | 89b594e3a86da6cc6d08009bfe0fb26a18ce8365 (diff) | |
download | esdl2-a1afe564f1b5a3e8b91e3f706fbd5d7d66a9978c.tar.gz esdl2-a1afe564f1b5a3e8b91e3f706fbd5d7d66a9978c.tar.bz2 esdl2-a1afe564f1b5a3e8b91e3f706fbd5d7d66a9978c.zip |
Add sdl_window:set_pos/3
Diffstat (limited to 'src/esdl2.erl')
-rw-r--r-- | src/esdl2.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/esdl2.erl b/src/esdl2.erl index 8067c5f..c1e7651 100644 --- a/src/esdl2.erl +++ b/src/esdl2.erl @@ -95,6 +95,7 @@ -export([set_window_icon/2]). -export([set_window_maximum_size/3]). -export([set_window_minimum_size/3]). +-export([set_window_position/3]). %% @todo We probably want to accept an env variable or somthing for the location. -on_load(on_load/0). @@ -309,3 +310,6 @@ set_window_maximum_size(_, _, _) -> set_window_minimum_size(_, _, _) -> erlang:nif_error({not_loaded, ?MODULE}). + +set_window_position(_, _, _) -> + erlang:nif_error({not_loaded, ?MODULE}). |