~ubuntu-branches/ubuntu/trusty/plee-the-bear/trusty-proposed

« back to all changes in this revision

Viewing changes to bear-factory/model-editor/src/bf/model_view_ctrl.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Julien Jorge, Julien Jorge
  • Date: 2010-11-17 20:13:34 UTC
  • mfrom: (6.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20101117201334-o4dp7uq437to7oxb
Tags: 0.5.1-1
[ Julien Jorge ]
* New upstream release (Closes: #565062, #546514).
* Add armhf architecture (Closes: #604689).
* Remove patches integrated upstream: rpath-editors.diff, rpath-game.diff,
  editors-menu-section.diff.
* Bump the Standard-Version, no changes.
* Update my email address.
* Set build dependency of libclaw to 1.6.0.
* Add the missing ${misc:Depends} in debian/control.
* List gettext translations in bear-factory.install and plee-the-bear.install.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
    Bear Engine - Model editor
3
3
 
4
 
    Copyright (C) 2005-2009 Julien Jorge, Sebastien Angibaud
 
4
    Copyright (C) 2005-2010 Julien Jorge, Sebastien Angibaud
5
5
 
6
6
    This program is free software; you can redistribute it and/or modify it
7
7
    under the terms of the GNU General Public License as published by the
53
53
      {
54
54
        ID_MODEL_VIEW
55
55
      }; // enum control_id
56
 
    
 
56
 
57
57
 
58
58
  public:
59
59
    model_view_ctrl( wxWindow& parent, wxWindowID id, gui_model& m );
69
69
    unsigned int get_zoom() const;
70
70
    void auto_zoom();
71
71
 
 
72
    void toggle_wireframe_mode();
 
73
    bool get_wireframe_drawing() const;
 
74
 
72
75
  private:
73
76
    void create_controls( gui_model& m );
74
77
    void create_sizers();
75
78
 
76
79
    void adjust_scrollbars();
77
 
    
 
80
 
78
81
    void on_scroll(wxScrollEvent& event);
79
82
    void on_size(wxSizeEvent& event);
80
83
    void on_mark_change(mark_event& event);
81
84
    void on_placement_change(placement_event& event);
82
85
    void on_bounding_box_change(bounding_box_event& event);
83
 
    
 
86
 
84
87
  private:
85
88
    /** \brief The control that displays the model. */
86
89
    model_view* m_model_view;