MySQL Workbench  6.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
container.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; version 2 of the
7  * License.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
17  * 02110-1301 USA
18  */
19 
20 #ifndef _MFORMS_CONTAINER_H_
21 #define _MFORMS_CONTAINER_H_
22 
23 #include "mforms/view.h"
24 
25 namespace mforms {
26 
31  class MFORMS_EXPORT Container : public View
32  {
33  public:
34  Container() {}
35 
36  virtual void set_padding(int left, int top, int right, int bottom);
37  void set_padding(int padding);
38 
39  virtual void set_back_image(const std::string& path, Alignment alignment) { View::set_back_image(path, alignment); }
40  };
41 };
42 
43 #endif
virtual void set_back_image(const std::string &path, Alignment alignment)
#define MFORMS_EXPORT
Definition: base.h:33
virtual void set_back_image(const std::string &path, Alignment alignment)
Definition: container.h:39
Alignment
Definition: view.h:40
Intermediate class used to collectively check for containers and later maybe implement special contai...
Definition: container.h:31
MySQL Workbench 6.1 documentation