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

« back to all changes in this revision

Viewing changes to bear-factory/bear-editor/src/bf/slider_with_ticks.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
59
59
 
60
60
  public:
61
61
    slider_with_ticks
62
 
    (wxWindow* parent, wxWindowID id, slider_ctrl::tick value=0, 
 
62
    (wxWindow* parent, wxWindowID id, slider_ctrl::tick value=0,
63
63
     slider_ctrl::tick min_value=0, slider_ctrl::tick max_value=100);
64
64
 
65
65
    void add_tick(double pos);
66
66
    void remove_tick(double pos);
67
67
    void clear_ticks();
68
 
    
 
68
 
69
69
    double get_value() const;
70
70
    void set_value( double value );
71
71
    void set_max_value( double max );
79
79
    void fill_controls();
80
80
    void send_event_change_value();
81
81
    void send_event_tick_move( tick_event& event );
82
 
   
 
82
 
83
83
    void on_previous( wxCommandEvent& event );
84
84
    void on_next( wxCommandEvent& event );
85
85
    void on_date_change(spin_event<double>& event);