OSDN Git Service
(root)
/
strokestylet
/
CsWin10Desktop3.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
FDK.メディア.グラフィックデバイス クラスに、FDK.UI.Framework を内包。
[strokestylet/CsWin10Desktop3.git]
/
FDK
/
UI
/
Framework.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Drawing;
4
using System.Linq;
5
using System.Text;
6
using System.Threading.Tasks;
7
using FDK;
8
using FDK.メディア;
9
10
namespace FDK.UI
11
{
12
public class Framework : IDisposable
13
{
14
public Element Root
15
{
16
get;
17
set;
18
} = null;
19
20
21
public Framework()
22
{
23
}
24
25
public void Dispose()
26
{
27
this.Clear();
28
}
29
30
public void Clear()
31
{
32
this.Root?.Dispose();
33
this.Root = null;
34
}
35
36
public void Render( グラフィックデバイス gd )
37
{
38
this.Root?.Render( gd, new PointF( 0f, 0f ) ); // Root == null は OK
39
}
40
}
41
}