• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Return-To-The-Roots / s25client / 19711900240

26 Nov 2025 05:11PM UTC coverage: 50.547% (-0.02%) from 50.562%
19711900240

Pull #1839

github

web-flow
Merge 7a8b1ee57 into 433c1b7c2
Pull Request #1839: #1836 Add LUA function to disallow changing player portraits

8 of 23 new or added lines in 3 files covered. (34.78%)

5 existing lines in 2 files now uncovered.

22555 of 44622 relevant lines covered (50.55%)

36799.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/libs/s25main/controls/ctrlImageDeepening.cpp
1
// Copyright (C) 2005 - 2025 Settlers Freaks (sf-team at siedler25.org)
2
//
3
// SPDX-License-Identifier: GPL-2.0-or-later
4

5
#include "ctrlImageDeepening.h"
6
#include <ogl/ITexture.h>
7

NEW
8
ctrlImageDeepening::ctrlImageDeepening(Window* parent, unsigned id, DrawPoint pos, const Extent& size, TextureColor tc,
×
NEW
9
                                       ITexture* image)
×
NEW
10
    : ctrlDeepening(parent, id, pos, size, tc), ctrlBaseImage(image)
×
NEW
11
{}
×
12

NEW
13
void ctrlImageDeepening::DrawContent() const
×
14
{
15
    // Adding of origin compensates for its substraction inside ITexture::Draw()
NEW
16
    DrawImage(Rect(GetDrawPos() + GetImage()->GetOrigin(), GetSize()));
×
NEW
17
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc