Skip to content

Commit c133ba6

Browse files
committed
Replace TableTextColumnOptionalParams with TextColumnOptionalParams
1 parent 68e8766 commit c133ba6

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/uing/table/table.cr

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,12 @@ module UIng
118118
LibUI.table_append_text_column(@ref_ptr, name, text_model_column, text_editable_model_column, nil)
119119
end
120120

121-
def append_text_column(name : String, text_model_column : Int32, text_editable_model_column : Int32, table_text_column_optional_params : TableTextColumnOptionalParams) : Nil
121+
def append_text_column(name : String, text_model_column : Int32, text_editable_model_column : Int32, table_text_column_optional_params : TextColumnOptionalParams) : Nil
122122
LibUI.table_append_text_column(@ref_ptr, name, text_model_column, text_editable_model_column, table_text_column_optional_params)
123123
end
124124

125125
def append_text_column(name : String, text_model_column : Int32, text_editable_model_column : Int32, color_model_column : Int32) : Nil
126-
table_text_column_optional_params = TableTextColumnOptionalParams.new(color_model_column)
126+
table_text_column_optional_params = TextColumnOptionalParams.new(color_model_column)
127127
LibUI.table_append_text_column(@ref_ptr, name, text_model_column, text_editable_model_column, table_text_column_optional_params)
128128
end
129129

@@ -135,12 +135,12 @@ module UIng
135135
LibUI.table_append_image_text_column(@ref_ptr, name, image_model_column, text_model_column, text_editable_model_column, nil)
136136
end
137137

138-
def append_image_text_column(name : String, image_model_column : Int32, text_model_column : Int32, text_editable_model_column : Int32, table_text_column_optional_params : TableTextColumnOptionalParams) : Nil
138+
def append_image_text_column(name : String, image_model_column : Int32, text_model_column : Int32, text_editable_model_column : Int32, table_text_column_optional_params : TextColumnOptionalParams) : Nil
139139
LibUI.table_append_image_text_column(@ref_ptr, name, image_model_column, text_model_column, text_editable_model_column, table_text_column_optional_params)
140140
end
141141

142142
def append_image_text_column(name : String, image_model_column : Int32, text_model_column : Int32, text_editable_model_column : Int32, color_model_column : Int32) : Nil
143-
table_text_column_optional_params = TableTextColumnOptionalParams.new(color_model_column)
143+
table_text_column_optional_params = TextColumnOptionalParams.new(color_model_column)
144144
LibUI.table_append_image_text_column(@ref_ptr, name, image_model_column, text_model_column, text_editable_model_column, table_text_column_optional_params)
145145
end
146146

@@ -152,12 +152,12 @@ module UIng
152152
LibUI.table_append_checkbox_text_column(@ref_ptr, name, checkbox_model_column, checkbox_editable_model_column, text_model_column, text_editable_model_column, nil)
153153
end
154154

155-
def append_checkbox_text_column(name : String, checkbox_model_column : Int32, checkbox_editable_model_column : Int32, text_model_column : Int32, text_editable_model_column : Int32, table_text_column_optional_params : TableTextColumnOptionalParams) : Nil
155+
def append_checkbox_text_column(name : String, checkbox_model_column : Int32, checkbox_editable_model_column : Int32, text_model_column : Int32, text_editable_model_column : Int32, table_text_column_optional_params : TextColumnOptionalParams) : Nil
156156
LibUI.table_append_checkbox_text_column(@ref_ptr, name, checkbox_model_column, checkbox_editable_model_column, text_model_column, text_editable_model_column, table_text_column_optional_params)
157157
end
158158

159159
def append_checkbox_text_column(name : String, checkbox_model_column : Int32, checkbox_editable_model_column : Int32, text_model_column : Int32, text_editable_model_column : Int32, color_model_column : Int32) : Nil
160-
table_text_column_optional_params = TableTextColumnOptionalParams.new(color_model_column)
160+
table_text_column_optional_params = TextColumnOptionalParams.new(color_model_column)
161161
LibUI.table_append_checkbox_text_column(@ref_ptr, name, checkbox_model_column, checkbox_editable_model_column, text_model_column, text_editable_model_column, table_text_column_optional_params)
162162
end
163163

0 commit comments

Comments
 (0)