@@ -73,7 +73,7 @@ private void MainWindow_ContentRendered(object sender, EventArgs e)
73
73
// Create the Direct2D factories
74
74
CreateDirect2DPointers ( ) ;
75
75
// Create the Direct2D bitmap and render target
76
- TweetPanel verticalTweetPanel = CreateVerticalTweetPanel ( ) ;
76
+ MessagePanel verticalTweetPanel = CreateVerticalTweetPanel ( ) ;
77
77
DrawVerticalTweet ( verticalTweetPanel , @"G:\Program Files (x86)\mIRC\twimg\tmp\GMMH_NHS.jpg" , "Greater Manchester Mental Health" , "@GMMH_NHS" , "A huge thank you to the wonderful team at HMP Hindley. You are all #GMMHSuperstars! 🌟🌟 #TogetherGMMH 💙" , "Today, 13:42 UTC+1" ) ;
78
78
// We're not reusing the render target
79
79
//Interop.UnsafeNativeMethods.ReleaseRenderTarget(verticalTweetPanel.Direct2DCanvas);
@@ -129,11 +129,11 @@ private void ReleaseBrushes()
129
129
brushes . Clear ( ) ;
130
130
}
131
131
132
- private TweetPanel CreateVerticalTweetPanel ( )
132
+ private MessagePanel CreateVerticalTweetPanel ( )
133
133
{
134
134
Exception ex1 ;
135
135
136
- VerticalTweetPanel verticalTweetPanel = new VerticalTweetPanel (
136
+ VerticalMessagePanel verticalTweetPanel = new VerticalMessagePanel (
137
137
direct2DPointers : ref direct2DPointers ,
138
138
canvasSize : new Interop . SizeU ( ) { Width = 1280 , Height = 3408 } ,
139
139
backgroundcolor : ( uint ) System . Drawing . Color . Black . ToArgb ( )
@@ -325,7 +325,7 @@ private TweetPanel CreateVerticalTweetPanel()
325
325
return verticalTweetPanel ;
326
326
}
327
327
328
- private string DrawVerticalTweet ( TweetPanel verticalTweetPanel , string profileImageFilename , string displayName , string username , string text , string time , string retweeterDisplayName = null , string retweeterUsername = null )
328
+ private string DrawVerticalTweet ( MessagePanel verticalTweetPanel , string profileImageFilename , string displayName , string username , string text , string time , string retweeterDisplayName = null , string retweeterUsername = null )
329
329
{
330
330
verticalTweetPanel . ClearArea ( verticalTweetPanel . MessageOriginPoint , verticalTweetPanel . MessageRectangle , brushes [ "backgroundBrush" ] , true , true ) ;
331
331
0 commit comments