Skip to content
Browse files

Changing some file names.

  • Loading branch information...
1 parent cd36e77 commit 3f8e51d4a25b6648848aed1e026bde1551ae2b8f @Falc committed
View
6 src/Makefile.am
@@ -50,9 +50,9 @@ easyrpg_editor_SOURCES = \
view_database_dialog.vala \
view_generic_widgets.vala \
view_main_window.vala \
- view_map_dialog.vala \
- view_map_shift.vala \
- view_project_create.vala \
+ view_map_properties_dialog.vala \
+ view_map_shift_dialog.vala \
+ view_project_create_dialog.vala \
xml_node.vala \
xml_parser.vala \
xml_writer.vala
View
12 src/controller_main.vala
@@ -644,7 +644,7 @@ public class MainController : Controller {
* Opens a dialog to create a new project and opens this project afterwards
*/
public void create_project () {
- var dialog = new CreateProjectDialog ();
+ var dialog = new ProjectCreateDialog ();
bool exit = false;
while (!exit) {
@@ -971,14 +971,23 @@ public class MainController : Controller {
this.map_references.set(map_id, map_new_reference);
}
+ /**
+ * Returns the tileset list.
+ */
public string[] get_tilesets () {
return this.tilesets;
}
+ /**
+ * Returns the current map.
+ */
public unowned Map get_map () {
return this.maps.get (this.current_map_id);
}
+ /**
+ * Returns the changes done to the current map.
+ */
public unowned UndoManager.Stack get_map_changes () {
return this.map_changes.get (this.current_map_id);
}
@@ -992,7 +1001,6 @@ public class MainController : Controller {
}
this.main_view.set_undo_available (can_undo);
-
this.main_view.set_redo_available (can_redo);
}
}
View
0 src/view_map_dialog.vala → src/view_map_properties_dialog.vala
File renamed without changes.
View
0 src/view_map_shift.vala → src/view_map_shift_dialog.vala
File renamed without changes.
View
0 src/view_project_create.vala → src/view_project_create_dialog.vala
File renamed without changes.

0 comments on commit 3f8e51d

Please sign in to comment.
Something went wrong with that request. Please try again.