Searched refs:m_scroll_offset (Results 1 – 9 of 9) sorted by relevance
42 m_scroll_offset = 0; in LabelWidget()129 m_scroll_offset = 0; in setText()154 m_scroll_offset = (float)m_w; in setText()167 m_scroll_offset -= dt*m_scroll_speed*5.0f; in update()168 m_element->setRelativePosition( core::position2di( /*m_x +*/ (int)m_scroll_offset, in update()178 return m_scroll_offset <= -m_element->getAbsolutePosition().getWidth(); in scrolledOff()
39 m_scroll_offset = 0; in DynamicRibbonWidget()525 m_scroll_offset = 0; in clearItems()709 m_selected_item[playerID] = selected_ribbon->m_selection[playerID] + m_scroll_offset; in transmitEvent()819 m_scroll_offset += x_delta; in scroll()823 if (m_scroll_offset < 0) m_scroll_offset = max_scroll; in scroll()824 else if (m_scroll_offset > max_scroll) m_scroll_offset = 0; in scroll()839 int id = m_selected_item[n] - m_scroll_offset; in scroll()875 m_selected_item[p] = relative_selection + m_scroll_offset; in propagateSelection()983 int newVal = counter + m_scroll_offset*row_amount; in updateItemDisplay()1075 int col_scroll = i + m_scroll_offset; in update()
59 float m_scroll_offset; member in GUIEngine::LabelWidget
117 int m_scroll_offset; member in GUIEngine::DynamicRibbonWidget
42 m_scroll_offset(0.0f, 0.0f), in Background()67 m_scroll_offset(0.0f, 0.0f), in Background()110 reader.get("scroll-offset-x", m_scroll_offset.x, 0.0f); in Background()111 reader.get("scroll-offset-y", m_scroll_offset.y, 0.0f); in Background()117 m_scroll_offset.x += px; in Background()119 m_scroll_offset.y += py; in Background()185 result.add_float(_("Scroll offset x"), &m_scroll_offset.x, "scroll-offset-x", 0.0f); in get_settings()186 result.add_float(_("Scroll offset y"), &m_scroll_offset.y, "scroll-offset-y", 0.0f); in get_settings()219 m_scroll_offset += m_scroll_speed * dt_sec; in update()389 draw_image(context, pos + m_scroll_offset + Vector(center_offset.x * (1.0f - m_parallax_speed.x), in draw()
96 Vector m_scroll_offset; member in Background
151 uint16_t m_scroll_offset; member in socrates_state352 save_item(NAME(m_scroll_offset)); in machine_start()695 m_scroll_offset = (m_scroll_offset&0x100) | data; in socrates_scroll_w()697 m_scroll_offset = (m_scroll_offset&0xFF) | ((data&1)<<8); in socrates_scroll_w()807 m_scroll_offset = 0; in video_start()818 if ((((y+m_scroll_offset)*128)&0xffff) >= 0xf000) lineoffset = 0x1000; // see comment above in screen_update_socrates()824 int colidx =videoram[(((y+m_scroll_offset)*128)+(x>>1)+lineoffset)&0xffff]; in screen_update_socrates()827 if (colidx > 7) color=videoram[0xF000+(colidx<<8)+((y+m_scroll_offset)&0xFF)]; in screen_update_socrates()832 int colidx = videoram[(((y+m_scroll_offset)*128)+(127)+lineoffset)&0xffff]; in screen_update_socrates()835 if (colidx > 7) color=videoram[0xF000+(colidx<<8)+((y+m_scroll_offset)&0xFF)]; in screen_update_socrates()[all …]
59 { m_scroll_offset -= move * 2000; } in MouseWheel()73 int m_scroll_offset = 0; member in CreditsWnd189 int ticks_delta = GG::GUI::GetGUI()->Ticks() - m_start_time + m_scroll_offset; in Render()