logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Banner - one line title bar

Description

       A  banner  is  an  interactor that draws a one line title bar with optional left-justified, centered, and
       right-justified headings.  The member variable highlight can be set to cause drawing to be performed with
       the foreground and background colors reversed.

       The natural size of a banner depends on the size of its headings.   Banners  are  infinitely  stretchable
       horizontally, but fixed size vertically.

Name

       Banner - one line title bar

Public Operations

Banner(char*left,char*middle,char*right)
              The  left  string  will  be  left-justified,  the  middle string centered, and right string right-
              justified in the banner.  A header can be omitted by passing a nil string.

       voidUpdate()
              The strings can be set through the left, middle, and right member variables.  The Update operation
              should be called after one or more of the strings is changed.

See Also

Interactor(3I)

InterViews                                        15 June 1987                                        Banner(3I)

Synopsis

#include<InterViews/banner.h>

See Also