/[svn]/gigedit/trunk/src/gigedit/scriptslots.h
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/scriptslots.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2893 by schoenebeck, Sun Jun 8 19:09:26 2014 UTC revision 2894 by schoenebeck, Sat Apr 30 14:42:14 2016 UTC
# Line 1  Line 1 
1  /*  /*
2      Copyright (c) 2014 Christian Schoenebeck      Copyright (c) 2014 - 2016 Christian Schoenebeck
3            
4      This file is part of "gigedit" and released under the terms of the      This file is part of "gigedit" and released under the terms of the
5      GNU General Public License version 2.      GNU General Public License version 2.
# Line 12  Line 12 
12  #include <gtkmm.h>  #include <gtkmm.h>
13  #include "compat.h"  #include "compat.h"
14  #include <vector>  #include <vector>
15    #include "Settings.h"
16    #include "ManagedWindow.h"
17    
18  class ScriptSlots : public Gtk::Window {  class ScriptSlots : public ManagedWindow {
19  public:  public:
20      ScriptSlots();      ScriptSlots();
21     ~ScriptSlots();     ~ScriptSlots();
22      void setInstrument(gig::Instrument* instrument);      void setInstrument(gig::Instrument* instrument);
23    
24        // implementation for abstract methods of interface class "ManagedWindow"
25        virtual Settings::Property<int>* windowSettingX() { return &Settings::singleton()->scriptSlotsWindowX; }
26        virtual Settings::Property<int>* windowSettingY() { return &Settings::singleton()->scriptSlotsWindowY; }
27        virtual Settings::Property<int>* windowSettingWidth() { return &Settings::singleton()->scriptSlotsWindowW; }
28        virtual Settings::Property<int>* windowSettingHeight() { return &Settings::singleton()->scriptSlotsWindowH; }
29    
30  protected:  protected:
31      struct Row {      struct Row {
32          int id;          int id;

Legend:
Removed from v.2893  
changed lines
  Added in v.2894

  ViewVC Help
Powered by ViewVC