home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.open-look
- Path: sparky!uunet!island!coney!hue
- From: hue@island.COM (Pond Scum)
- Subject: Re: XView question: Menu buttons
- Message-ID: <hue.725790937@coney>
- Keywords: XView, panels, menu-buttons
- Sender: usenet@island.COM (The Usenet mail target)
- Organization: Island Graphics Corp.
- References: <1992Dec30.182502.27923@cs.wayne.edu>
- Date: Thu, 31 Dec 1992 08:35:37 GMT
- Lines: 16
-
- rvt@pandora.cs.wayne.edu (Rahul V. Tikekar) writes:
- >A question on XView and menu buttons. How do I get the
- >the triangle in the menu button of a panel to point to
- >the right? Currently, it points down.
-
- A quick glance at the source code would have told you that the direction
- depends on the setting of PANEL_LAYOUT.
-
- From contrib/lib/xview/lib/xview/panel/p_btn.
-
- if (panel->layout == PANEL_VERTICAL)
- state |= OLGX_HORIZ_MENU_MARK;
- else
- state |= OLGX_VERT_MENU_MARK;
-
- -Jonathan hue@island.COM
-