<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>i3: include/resize.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.2-20100208 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <h1>include/resize.h</h1><a href="a00049.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment"> * vim:ts=8:expandtab</span> <a name="l00003"></a>00003 <span class="comment"> *</span> <a name="l00004"></a>00004 <span class="comment"> * i3 - an improved dynamic tiling window manager</span> <a name="l00005"></a>00005 <span class="comment"> *</span> <a name="l00006"></a>00006 <span class="comment"> * (c) 2009 Michael Stapelberg and contributors</span> <a name="l00007"></a>00007 <span class="comment"> *</span> <a name="l00008"></a>00008 <span class="comment"> * See file LICENSE for license information.</span> <a name="l00009"></a>00009 <span class="comment"> *</span> <a name="l00010"></a>00010 <span class="comment"> */</span> <a name="l00011"></a>00011 <a name="l00012"></a>00012 <span class="preprocessor">#ifndef _RESIZE_H</span> <a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define _RESIZE_H</span> <a name="l00014"></a>00014 <span class="preprocessor"></span> <a name="l00015"></a>00015 <span class="preprocessor">#include <xcb/xcb.h></span> <a name="l00016"></a>00016 <a name="l00017"></a><a class="code" href="a00049.html#a71bd35b8b1c20409e895e1d16db16048">00017</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> { <a class="code" href="a00049.html#a71bd35b8b1c20409e895e1d16db16048aab98751893c49db72a388d69fbeaaaea">O_HORIZONTAL</a>, <a class="code" href="a00049.html#a71bd35b8b1c20409e895e1d16db16048adf2421ce8287797fba766ef7785fd15f">O_VERTICAL</a> } <a class="code" href="a00049.html#a71bd35b8b1c20409e895e1d16db16048">resize_orientation_t</a>; <a name="l00018"></a>00018 <a name="l00024"></a>00024 <span class="keywordtype">int</span> <a class="code" href="a00074.html#a27c4cf5725c0f69ee91992c98f38dc5c" title="Renders the resize window between the first/second container and resizes the table...">resize_graphical_handler</a>(xcb_connection_t *conn, <a class="code" href="a00025.html" title="The concept of Workspaces is known from various other window managers.">Workspace</a> *ws, <span class="keywordtype">int</span> first, <a name="l00025"></a>00025 <span class="keywordtype">int</span> second, <a class="code" href="a00049.html#a71bd35b8b1c20409e895e1d16db16048">resize_orientation_t</a> orientation, <a name="l00026"></a>00026 xcb_button_press_event_t *event); <a name="l00033"></a>00033 <span class="keywordtype">void</span> <a class="code" href="a00074.html#aa9b01c3afa38f9471b7a99ea145066f0" title="Resizes a column/row by the given amount of pixels.">resize_container</a>(xcb_connection_t *conn, <a class="code" href="a00025.html" title="The concept of Workspaces is known from various other window managers.">Workspace</a> *ws, <span class="keywordtype">int</span> first, <span class="keywordtype">int</span> second, <a name="l00034"></a>00034 <a class="code" href="a00049.html#a71bd35b8b1c20409e895e1d16db16048">resize_orientation_t</a> orientation, <span class="keywordtype">int</span> pixels); <a name="l00035"></a>00035 <a name="l00036"></a>00036 <span class="preprocessor">#endif</span> </pre></div></div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>