diff options
author | Jan Darmochwal | 2010-07-13 17:55:06 +0200 |
---|---|---|
committer | Jan Darmochwal | 2010-07-13 17:55:06 +0200 |
commit | f29300c556e541f2bf1b63ed8c6399a6c2044c8d (patch) | |
tree | 4a549ef967177e82e6b20536f9484e8461893c7b /fltk/fltk/layout.h | |
parent | initial qt4 version (diff) | |
download | vmchooser-f29300c556e541f2bf1b63ed8c6399a6c2044c8d.tar.gz vmchooser-f29300c556e541f2bf1b63ed8c6399a6c2044c8d.tar.xz vmchooser-f29300c556e541f2bf1b63ed8c6399a6c2044c8d.zip |
qmake -> cmake; (mostly) cosmetic changes
Switched to cmake:
CMakeLists.txt in base directory
use ./build.sh to build vmchooser (or mkdir -p build; cd build cmake .. && make)
updated README
removed fltk/
removed libxml2/
removed mesgdisp/
renamed vmchooser/ to src/
moved all header files (.h) from vmchooser/inc/ to src/
added files to repository that must have slipped the last time
Diffstat (limited to 'fltk/fltk/layout.h')
-rw-r--r-- | fltk/fltk/layout.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/fltk/fltk/layout.h b/fltk/fltk/layout.h deleted file mode 100644 index 6b110da..0000000 --- a/fltk/fltk/layout.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef fltk_layout_h -#define fltk_layout_h - -namespace fltk { - -/*! - Values of the bits stored in Widget::layout_damage(). - - When a widget resized or moved (or when it is initially created), - flags are set in Widget::layout_damage() to indicate the layout is - damaged. This will cause the virtual function Widget::layout() to be - called just before fltk attempts to draw the windows on the screen. - This is useful because often calculating the new layout is quite - expensive, this expense is now deferred until the user will actually - see the new size. - - Some Group widgets such as fltk::PackedGroup will also use the - virtual Widget::layout() function to find out how big a widget - should be. A Widget is allowed to change it's own dimensions in - layout() (except it is not allowed to change it if called a second - time with no changes other than it's x/y position). This allows - widgets to resize to fit their contents. - - The layout bits are turned on by calling Widget::relayout(). -*/ -enum { - LAYOUT_X = 0x01, /*!< Widget::x() changed by resize() */ - LAYOUT_Y = 0x02, /*!< Widget::y() changed by resize() */ - LAYOUT_XY = 0x03, /*!< Same as LAYOUT_X|LAYOUT_Y */ - LAYOUT_W = 0x04, /*!< Widget::w() changed by resize() */ - LAYOUT_H = 0x08, /*!< Widget::h() changed by resize() */ - LAYOUT_WH = 0x0C, /*!< Same as LAYOUT_W|LAYOUT_H */ - LAYOUT_XYWH = 0x0F, /*!< Same as LAYOUT_XY|LAYOUT_WH */ - LAYOUT_CHILD = 0x10, /*!< Widget::layout() needs to be called on a child of this group widget. */ - LAYOUT_USER = 0x20, /*!< The moving/resizing is being caused by the user and not internal code. */ - LAYOUT_DAMAGE = 0x80 /*!< Widget::relayout() was called. */ -}; - -} - -#endif |