• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/support/kconfig/lxdialog/util.c
Yann E. MORINYann E. MORIN committed b48e35a28a614 Nov 2013
Raw file
Source viewDiff to previous
xxxxxxxxxx
void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x)
 
1
/*
2
 *  util.c
3
 *
4
 *  ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
5
 *  MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
6
 *
7
 *  This program is free software; you can redistribute it and/or
8
 *  modify it under the terms of the GNU General Public License
9
 *  as published by the Free Software Foundation; either version 2
10
 *  of the License, or (at your option) any later version.
11
 *
12
 *  This program is distributed in the hope that it will be useful,
13
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 *  GNU General Public License for more details.
16
 *
17
 *  You should have received a copy of the GNU General Public License
18
 *  along with this program; if not, write to the Free Software
19
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
 */
21
​
22
#include <stdarg.h>
23
​
24
#include "dialog.h"
25
​
26
/* Needed in signal handler in mconf.c */
27
int saved_x, saved_y;
28
​
29
struct dialog_info dlg;
30
​
31
static void set_mono_theme(void)
32
{
33
    dlg.screen.atr = A_NORMAL;
34
    dlg.shadow.atr = A_NORMAL;
35
    dlg.dialog.atr = A_NORMAL;
36
    dlg.title.atr = A_BOLD;
37
    dlg.border.atr = A_NORMAL;
38
    dlg.button_active.atr = A_REVERSE;
39
    dlg.button_inactive.atr = A_DIM;
40
    dlg.button_key_active.atr = A_REVERSE;
41
    dlg.button_key_inactive.atr = A_BOLD;
42
    dlg.button_label_active.atr = A_REVERSE;
43
    dlg.button_label_inactive.atr = A_NORMAL;
44
    dlg.inputbox.atr = A_NORMAL;
45
    dlg.inputbox_border.atr = A_NORMAL;
46
    dlg.searchbox.atr = A_NORMAL;
47
    dlg.searchbox_title.atr = A_BOLD;
48
    dlg.searchbox_border.atr = A_NORMAL;
49
    dlg.position_indicator.atr = A_BOLD;
50
    dlg.menubox.atr = A_NORMAL;
51
    dlg.menubox_border.atr = A_NORMAL;
52
    dlg.item.atr = A_NORMAL;
53
    dlg.item_selected.atr = A_REVERSE;
54
    dlg.tag.atr = A_BOLD;
55
    dlg.tag_selected.atr = A_REVERSE;
56
    dlg.tag_key.atr = A_BOLD;
57
    dlg.tag_key_selected.atr = A_REVERSE;
58
    dlg.check.atr = A_BOLD;
59
    dlg.check_selected.atr = A_REVERSE;
60
    dlg.uarrow.atr = A_BOLD;
61
    dlg.darrow.atr = A_BOLD;
62
}
63
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.