cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
@@ -112,7 +112,7 @@ static void render_content(Canvas& c, const mtk::Theme& theme) {
|
||||
if (dt.disk_count == 0 || dt.selected_disk < 0 || dt.selected_disk >= dt.disk_count)
|
||||
return;
|
||||
|
||||
Montauk::DiskInfo& disk = dt.disks[dt.selected_disk];
|
||||
montauk::abi::DiskInfo& disk = dt.disks[dt.selected_disk];
|
||||
int y = content_title_y();
|
||||
|
||||
char info_str[64];
|
||||
@@ -138,7 +138,7 @@ static void render_content(Canvas& c, const mtk::Theme& theme) {
|
||||
|
||||
if (total_sectors > 0 && nparts > 0) {
|
||||
for (int pi = 0; pi < nparts; pi++) {
|
||||
Montauk::PartInfo& p = dt.parts[part_indices[pi]];
|
||||
montauk::abi::PartInfo& p = dt.parts[part_indices[pi]];
|
||||
int part_x = map_rect.x + (int)((p.startLba * (uint64_t)map_rect.w) / total_sectors);
|
||||
int part_w = (int)((p.sectorCount * (uint64_t)map_rect.w) / total_sectors);
|
||||
if (part_w < 2) part_w = 2;
|
||||
@@ -214,7 +214,7 @@ static void render_content(Canvas& c, const mtk::Theme& theme) {
|
||||
table_style.row_hover_bg);
|
||||
}
|
||||
|
||||
Montauk::PartInfo& p = dt.parts[part_indices[pi]];
|
||||
montauk::abi::PartInfo& p = dt.parts[part_indices[pi]];
|
||||
|
||||
c.fill_rounded_rect(col_idx, row_y + (ITEM_H - 10) / 2, 10, 10, 5,
|
||||
part_colors[pi % NUM_PART_COLORS]);
|
||||
|
||||
Reference in New Issue
Block a user