Home
last modified time | relevance | path

Searched refs:Control (Results 1 – 25 of 40) sorted by relevance

12

/plan9/sys/include/
H A Dcontrol.h7 typedef struct Control Control; typedef
41 Control *controls;
43 Control *actives;
44 Control *focus;
57 struct Control struct
76 void (*ctl)(Control*, CParse*); argument
77 void (*mouse)(Control*, Mouse*); argument
78 void (*key)(Control*, Rune*); argument
79 void (*exit)(Control*); argument
80 void (*setsize)(Control*); argument
[all …]
/plan9/sys/src/libcontrol/
H A Dtabs.c13 Control;
20 Control *tabrow;
21 Control *tabstack;
22 Control *tabcolumn;
25 Control **buttons;
92 tabsize(Control *c) in tabsize()
96 t->tabcolumn->setsize((Control*)t->tabcolumn); in tabsize()
100 tabctl(Control *c, CParse *cp) in tabctl()
103 Control *cbut, *cwin; in tabctl()
124 t->buttons = ctlrealloc(t->buttons, (t->nbuttons+1)*sizeof(Control*)); in tabctl()
[all …]
H A Dbox.c13 Control;
48 boxkey(Control *c, Rune *rp) in boxkey()
57 boxmouse(Control *c, Mouse *m) in boxmouse()
68 boxfree(Control *c) in boxfree()
92 boxctl(Control *c, CParse *cp) in boxctl()
167 Control*
180 return (Control *)b; in createbox()
H A Dradiobutton.c13 Control;
16 Control **buttons;
52 radiomouse(Control *c, Mouse *m) in radiomouse()
84 radioctl(Control *c, CParse *cp) in radioctl()
106 r->buttons = ctlrealloc(r->buttons, (r->nbuttons+1)*sizeof(Control*)); in radioctl()
181 Control*
191 return (Control*)r; in createradiobutton()
H A Dcontrol.c63 _mkctlcmd(Control *c, char *fmt, va_list arg) in _mkctlcmd()
85 ctlprint(Control *c, char *fmt, ...) in ctlprint()
100 _ctlprint(Control *c, char *fmt, ...) in _ctlprint()
123 static Control*
126 Control *c; in _newcontrol()
160 Control *f; in controlsetthread()
246 Control*
249 Control *c; in _createctl()
258 closecontrol(Control *c) in closecontrol()
260 Control *prev, *p; in closecontrol()
[all …]
H A Dgroup.c46 static void groupctl(Control *c, CParse *cp);
47 static void groupfree(Control*);
48 static void groupmouse(Control *, Mouse *);
49 static void groupsize(Control *c);
74 groupctl(Control *c, CParse *cp) in groupctl()
92 g->setsize((Control*)g); in groupctl()
154 g->setsize((Control*)g); in groupctl()
216 g->setsize((Control*)g); in groupctl()
249 groupfree(Control *c) in groupfree()
259 groupmouse(Control *c, Mouse *m) in groupmouse()
[all …]
H A Dgroup.h5 Control;
15 Control **kids; /* mallocated */
H A Dlabel.c13 Control;
59 labelfree(Control *c) in labelfree()
95 labelctl(Control *c, CParse *cp) in labelctl()
189 Control*
203 return (Control *)l; in createlabel()
H A Dbutton.c13 Control;
66 buttonfree(Control *c) in buttonfree()
100 buttonmouse(Control *c, Mouse *m) in buttonmouse()
140 buttonctl(Control *c, CParse *cp) in buttonctl()
243 Control*
263 return (Control*)b; in createbutton()
H A Dcache.c95 setcacheitemptr(Cache *c, Control *ctl, CCache **cp, char *s) in setcacheitemptr()
133 _setctlimage(Control *c, CImage **cp, char *s) in _setctlimage()
165 _setctlfont(Control *c, CFont **cp, char *s) in _setctlfont()
H A Dentry.c13 Control;
65 entryfree(Control *c) in entryfree()
144 entrymouse(Control *c, Mouse *m) in entrymouse()
155 entryctl(Control *c, CParse *cp) in entryctl()
324 entrykeys(Control *c, Rune *rp) in entrykeys()
335 Control*
353 return (Control *)e; in createentry()
H A Dslider.c13 Control;
70 sliderfree(Control *c) in sliderfree()
125 sliderctl(Control *c, CParse *cp) in sliderctl()
252 slidermouse(Control *c, Mouse *m) in slidermouse()
310 Control*
325 return (Control*)s; in createslider()
H A Dscribble.c14 Control;
66 scribmouse(Control *c, Mouse *m) in scribmouse()
93 scribfree(Control *c) in scribfree()
159 scribctl(Control *c, CParse *cp) in scribctl()
305 Control*
324 return (Control*)b; in createscribble()
H A Dtextbutton.c13 Control;
82 textbuttonmouse(Control *c, Mouse *m) in textbuttonmouse()
122 textbuttonfree(Control *c) in textbuttonfree()
189 textbuttonctl(Control *c, CParse *cp) in textbuttonctl()
319 Control*
343 return (Control *)t; in createtextbutton()
H A Dmenu.c13 Control;
76 menufree(Control *c) in menufree()
175 menutrack(Control *c, Mouse *ms) in menutrack()
205 menuctl(Control *c, CParse *cp) in menuctl()
343 Control*
365 return (Control *)m; in createmenu()
H A Dtextbutton3.c17 Control;
93 textbutton3mouse(Control *c, Mouse *m) in textbutton3mouse()
146 textbutton3free(Control *c) in textbutton3free()
209 textbutton3ctl(Control *c, CParse *cp) in textbutton3ctl()
367 Control*
392 return (Control *)t; in createtextbutton3()
H A Dtext.c15 Control;
112 textmouse(Control *c, Mouse *m) in textmouse()
179 textfree(Control *c) in textfree()
244 textctl(Control *c, CParse *cp) in textctl()
516 Control*
541 return (Control *)t; in createtext()
H A Dkeyboard.c22 Control;
146 keyboardmouse(Control *c, Mouse *m) in keyboardmouse()
159 keyboardfree(Control *c) in keyboardfree()
421 keyboardctl(Control *c, CParse *cp) in keyboardctl()
513 Control*
/plan9/sys/src/9/omap/
H A Dusbehciomap.c116 Control = 1<<31, /* set to start access, cleared when done */ enumerator
136 opio->insn[5] = Control | port << Portsh | Write | reg << Regaddrsh | in wrulpi()
143 while (!(opio->insn[5] & Control)) in wrulpi()
/plan9/sys/src/games/music/jukebox/
H A Dmusic.c23 Control *ctl;
104 Control *tab;
105 Control *win;
155 Control *vol;
156 Control *browsetopwin;
157 Control *browsebotwin;
158 Control *playlistwin;
159 Control *errortext;
160 Control *browsetopscr;
161 Control *browsebotscr;
[all …]
/plan9/sys/src/cmd/auth/factotum/
H A Dfgui.c51 Control *b_remember;
52 Control *b_accept;
53 Control *b_refuse;
504 Control *msg;
505 Control *b_done;
512 Control *name;
513 Control *val;
514 Control *eq;
/plan9/sys/src/9/pc/
H A Dethersmc.c41 Control = 0x000C, enumerator
264 outs(port + Control, CtlAutoRls | CtlTeEnable | in chipreset()
483 outs(port + Control, CtlAutoRls); in eph_irq()
484 outs(port + Control, CtlAutoRls | CtlTeEnable | CtlCrEnable); in eph_irq()
735 outs(port + Control, 0); /* try powering up the chip */ in reset()
/plan9/sys/src/cmd/aux/vga/
H A Dclgd546x.c33 Control = 0x402, /* 2D Control */ enumerator
131 laguna->control = mmio16r(laguna, Control); in snarf()
317 mmio16w(laguna, Control, laguna->control); in load()
/plan9/sys/lib/troff/font/devutf/charlib/
H A DLH.example67 % 8: Control the horizontal distance troff moves after printing the
/plan9/sys/lib/
H A Dmimetype33 .cpl application octet-stream - r # Windows Control Panel Applet

12