Changeset 21296

Show
Ignore:
Timestamp:
10/14/08 09:31:20 (3 months ago)
Author:
kiri_feather
Message:

アイコンなしの時、アイコンを取得しないよう変更

Location:
lang/vb2005/Tween/Tween
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/vb2005/Tween/Tween/Tween.vb

    r21257 r21296  
    379379        clsTw.NextPages = SettingDialog.NextPagesInt    '閾値オーバー時の読み込みページ数(未使用) 
    380380        _iconCol = False 
    381         Select Case SettingDialog.IconSz    'リストのアイコンサイズ(未使用) 
     381        Select Case SettingDialog.IconSz 
    382382            Case IconSizes.IconNone 
    383383                _iconSz = 0 
     
    392392                _iconCol = True 
    393393        End Select 
     394        If _iconSz = 0 Then 
     395            clsTw.GetIcon = False 
     396        Else 
     397            clsTw.GetIcon = True 
     398        End If 
    394399        clsTwPost.UseAPI = SettingDialog.UseAPI 
    395400        clsTw.HubServer = SettingDialog.HubServer 
  • lang/vb2005/Tween/Tween/Twitter.vb

    r21276 r21296  
    2323 
    2424    Private _hubServer As String 
     25 
     26    Private _getIcon As Boolean 
    2527 
    2628    Private Const _baseUrlStr As String = "twitter.com" 
     
    10311033    Private Sub GetIconImage(ByVal pathUrl As String, ByVal imgKeys As Collections.Specialized.StringCollection, ByVal imgs As ImageList) 
    10321034        If _endingFlag Then Exit Sub 
     1035        If _getIcon = False Then Exit Sub 
    10331036 
    10341037        'Dim pathUrlSmall As String = pathUrl.Replace("_normal.", "_mini.") 
     
    15351538 
    15361539    End Sub 
     1540 
     1541    Public WriteOnly Property GetIcon() As Boolean 
     1542        Set(ByVal value As Boolean) 
     1543            _getIcon = value 
     1544        End Set 
     1545    End Property 
    15371546End Class