mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-05 21:57:20 +00:00
Remove unused variables/functions
This commit is contained in:
parent
1199c51187
commit
45f4d30450
@ -68,13 +68,6 @@ namespace {
|
||||
return shortcut;
|
||||
}
|
||||
|
||||
bool bool_attr_is_true(const TiXmlElement* elem, const char* attribute_name)
|
||||
{
|
||||
const char* value = elem->Attribute(attribute_name);
|
||||
|
||||
return (value != NULL) && (strcmp(value, "true") == 0);
|
||||
}
|
||||
|
||||
std::string get_user_friendly_string_for_keyaction(app::KeyAction action)
|
||||
{
|
||||
for (int c=0; actions[c].name; ++c) {
|
||||
|
@ -455,7 +455,6 @@ void PaletteView::onAppPaletteChange()
|
||||
gfx::Rect PaletteView::getPaletteEntryBounds(int index)
|
||||
{
|
||||
gfx::Rect bounds = getClientBounds();
|
||||
div_t d = div(Palette::MaxColors, m_columns);
|
||||
int cols = m_columns;
|
||||
int col = index % cols;
|
||||
int row = index / cols;
|
||||
|
@ -160,7 +160,6 @@ StatusBar::StatusBar()
|
||||
// Construct the commands box
|
||||
{
|
||||
Box* box1 = new Box(JI_HORIZONTAL);
|
||||
Box* box2 = new Box(JI_HORIZONTAL | JI_HOMOGENEOUS);
|
||||
Box* box4 = new Box(JI_HORIZONTAL);
|
||||
|
||||
m_frameLabel = new Label("Frame:");
|
||||
|
Loading…
Reference in New Issue
Block a user