Skip to content

Commit

Permalink
Added simple fireworks
Browse files Browse the repository at this point in the history
Added toggling of motion blur
Shrunk screen size
Renamed window to lumines
  • Loading branch information
pterofractal committed Mar 27, 2010
1 parent 6029bac commit deb815e
Show file tree
Hide file tree
Showing 3 changed files with 355 additions and 310 deletions.
5 changes: 3 additions & 2 deletions appwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

AppWindow::AppWindow()
{
set_title("488 Tetrominoes on the Wall");
set_title("Lumines");

// A utility class for constructing things that go into menus, which
// we'll set up next.
Expand All @@ -30,6 +30,7 @@ AppWindow::AppWindow()
m_menu_drawMode.items().push_back(MenuElem("_Bump Mapping 1", Gtk::AccelKey("b"), sigc::mem_fun(m_viewer, &Viewer::toggleBumpMapping ) ) );
m_menu_drawMode.items().push_back(MenuElem("_Translucency", Gtk::AccelKey("u"), sigc::mem_fun(m_viewer, &Viewer::toggleTranslucency ) ) );
m_menu_drawMode.items().push_back(MenuElem("_Move Light Source", Gtk::AccelKey("l"), sigc::mem_fun(m_viewer, &Viewer::toggleMoveLightSource ) ) );
m_menu_drawMode.items().push_back(MenuElem("Motion _Blur", Gtk::AccelKey("m"), sigc::mem_fun(m_viewer, &Viewer::toggleMotionBlur ) ) );

m_menu_buffer.items().push_back(CheckMenuElem("_Double Buffer", Gtk::AccelKey("b"), buffer_slot ));

Expand Down Expand Up @@ -58,7 +59,7 @@ AppWindow::AppWindow()
// by default, so it'll take up the rest of the window.

//m_viewer.set_size_request(300, 600);
m_viewer.set_size_request(900, 600);
m_viewer.set_size_request(600, 400);
m_vbox.pack_start(m_viewer);

show_all();
Expand Down
Loading

0 comments on commit deb815e

Please sign in to comment.