NeoMutt  2021-10-29-43-g6b8931
Teaching an old dog new tricks
DOXYGEN
reflow.h File Reference

Window management. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void window_reflow (struct MuttWindow *win)
 Reflow Windows. More...
 

Detailed Description

Window management.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file reflow.h.

Function Documentation

◆ window_reflow()

void window_reflow ( struct MuttWindow win)

Reflow Windows.

Parameters
winRoot Window

Using the rules coded into the Windows, such as Fixed or Maximise, allocate space to a set of nested Windows.

Definition at line 222 of file reflow.c.

223 {
224  if (!win)
225  return;
226  if (win->orient == MUTT_WIN_ORIENT_VERTICAL)
227  window_reflow_vert(win);
228  else
229  window_reflow_horiz(win);
230 }
@ MUTT_WIN_ORIENT_VERTICAL
Window uses all available vertical space.
Definition: mutt_window.h:38
static void window_reflow_vert(struct MuttWindow *win)
Reflow Windows using all the available vertical space.
Definition: reflow.c:129
static void window_reflow_horiz(struct MuttWindow *win)
Reflow Windows using all the available horizontal space.
Definition: reflow.c:39
enum MuttWindowOrientation orient
Which direction the Window will expand.
Definition: mutt_window.h:130
+ Here is the call graph for this function:
+ Here is the caller graph for this function: