mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-10 05:32:18 -06:00
Remove unused function in browser
This commit is contained in:
@@ -73,10 +73,11 @@ public:
|
||||
|
||||
void reload();
|
||||
|
||||
void updateBrowserSize();
|
||||
void updateBrowserDimensions();
|
||||
// Ratio x, y relative to each other. Y is kept constant
|
||||
void setRatio(float ratio);
|
||||
float browserRatio() const;
|
||||
|
||||
// Dimensions in pixels
|
||||
glm::ivec2 browserDimensions() const;
|
||||
void setBrowserDimensions(glm::ivec2 dimensions);
|
||||
|
||||
@@ -95,6 +96,8 @@ protected:
|
||||
bool _shouldReload = false;
|
||||
|
||||
private:
|
||||
void updateBrowserDimensions();
|
||||
|
||||
class RenderHandler : public WebRenderHandler {
|
||||
public:
|
||||
void draw() override;
|
||||
|
||||
@@ -185,11 +185,6 @@ bool Browser::isReady() const {
|
||||
return _texture.get();
|
||||
}
|
||||
|
||||
// Updates the browser size to match the size of the texture
|
||||
void Browser::updateBrowserSize() {
|
||||
_browserDimensions = _texture->dimensions();
|
||||
}
|
||||
|
||||
void Browser::reload() {
|
||||
_reload.trigger();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user