cwidget
0.5.16
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
cwidget
widgets
transient.h
1
// transient.h -*-c++-*-
2
//
3
// Copyright 2005 Daniel Burrows
4
5
#ifndef TRANSIENT_H
6
#define TRANSIENT_H
7
8
#include "bin.h"
9
10
namespace
cwidget
11
{
12
namespace
widgets
13
{
18
class
transient
:
public
bin
19
{
20
private
:
24
void
layout_me();
25
26
protected
:
27
transient
(
const
widget_ref
&w);
28
public
:
33
static
util::ref_ptr<transient>
34
create
(
const
widget_ref
&w = NULL)
35
{
36
util::ref_ptr<transient>
rval(
new
transient
(w));
37
rval->decref();
38
return
rval;
39
}
40
42
int
width_request
();
43
49
int
height_request
(
int
width);
50
52
bool
focus_me
();
53
58
bool
handle_char
(chtype ch);
59
};
60
61
typedef
util::ref_ptr<transient>
transient_ref
;
62
}
63
}
64
65
#endif // TRANSIENT_H
Generated on Tue Mar 1 2016 22:31:29 for cwidget by
1.8.4