/[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 2610 by schoenebeck, Sun Jun 8 19:09:26 2014 UTC revision 3068 by schoenebeck, Mon Jan 2 22:13:01 2017 UTC
# Line 1  Line 1 
1  /*  /*
2      Copyright (c) 2014 Christian Schoenebeck      Copyright (c) 2014 - 2017 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 8  Line 8 
8  #ifndef GIGEDIT_SCRIPTSLOTS_H  #ifndef GIGEDIT_SCRIPTSLOTS_H
9  #define GIGEDIT_SCRIPTSLOTS_H  #define GIGEDIT_SCRIPTSLOTS_H
10    
11  #include <gig.h>  #ifdef LIBGIG_HEADER_FILE
12    # include LIBGIG_HEADER_FILE(gig.h)
13    #else
14    # include <gig.h>
15    #endif
16    
17  #include <gtkmm.h>  #include <gtkmm.h>
18  #include "compat.h"  #include "compat.h"
19  #include <vector>  #include <vector>
20    #include "Settings.h"
21    #include "ManagedWindow.h"
22    
23  class ScriptSlots : public Gtk::Window {  class ScriptSlots : public ManagedWindow {
24  public:  public:
25      ScriptSlots();      ScriptSlots();
26     ~ScriptSlots();     ~ScriptSlots();
27      void setInstrument(gig::Instrument* instrument);      void setInstrument(gig::Instrument* instrument);
28    
29        // implementation for abstract methods of interface class "ManagedWindow"
30        virtual Settings::Property<int>* windowSettingX() { return &Settings::singleton()->scriptSlotsWindowX; }
31        virtual Settings::Property<int>* windowSettingY() { return &Settings::singleton()->scriptSlotsWindowY; }
32        virtual Settings::Property<int>* windowSettingWidth() { return &Settings::singleton()->scriptSlotsWindowW; }
33        virtual Settings::Property<int>* windowSettingHeight() { return &Settings::singleton()->scriptSlotsWindowH; }
34    
35  protected:  protected:
36      struct Row {      struct Row {
37          int id;          int id;

Legend:
Removed from v.2610  
changed lines
  Added in v.3068

  ViewVC Help
Powered by ViewVC