Skip to content
Snippets Groups Projects
Select Git revision
  • 275e3851486a6e79aa540fb7efc5223a671630ff
  • master default protected
  • fix_Makefile.mingw#2
  • update_Makefile.mingw
  • fix_Makefile.mingw
  • fix_API_for_C_apps
  • fix_procinfo_mac
  • boinccmd_gpu_mode_always_until_sigterm
  • fgrp_osx_hotfix
  • fix_boinc_master@f8250782
  • eah_wrapper_improvements
  • diagnostics_win-hotfix
  • diagnostics_win-hotfix-old
  • current_fgrp_apps
  • testing_gw_apps
  • gw_app_darwin_15
  • current_brp_apps
  • current_brp_apps_android10
  • current_gfx_apps
  • current_server
  • current_gw_apps
  • previous_fgrp_apps
  • previous_gw_apps
  • testing_brp_apps
  • apps_FGRP3_1.07
  • apps_FGRP3_1.08
26 results

browserctrl_win.cpp

Blame
    • Rom Walton's avatar
      275e3851
      VBOX: Introducing a basic graphics application for vboxwrapper based on HTML... · 275e3851
      Rom Walton authored
      VBOX: Introducing a basic graphics application for vboxwrapper based on HTML rendering. Basic plumbing is done.
      
      TODO:
      * Add vbox job elements to point to various URLs for various states. (running/suspended/not running)
      * Add window timer to poll for shared memory changes
      * Exit if running in screen saver mode and keyboard/mouse activity is detected.
      275e3851
      History
      VBOX: Introducing a basic graphics application for vboxwrapper based on HTML...
      Rom Walton authored
      VBOX: Introducing a basic graphics application for vboxwrapper based on HTML rendering. Basic plumbing is done.
      
      TODO:
      * Add vbox job elements to point to various URLs for various states. (running/suspended/not running)
      * Add window timer to poll for shared memory changes
      * Exit if running in screen saver mode and keyboard/mouse activity is detected.
    AbstractGraphicsEngine.h 6.97 KiB
    /***************************************************************************
     *   Copyright (C) 2008 by Oliver Bock                                     *
     *   oliver.bock[AT]aei.mpg.de                                             *
     *                                                                         *
     *   This file is part of Einstein@Home.                                   *
     *                                                                         *
     *   Einstein@Home is free software: you can redistribute it and/or modify *
     *   it under the terms of the GNU General Public License as published     *
     *   by the Free Software Foundation, version 2 of the License.            *
     *                                                                         *
     *   Einstein@Home is distributed in the hope that it will be useful,      *
     *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
     *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the          *
     *   GNU General Public License for more details.                          *
     *                                                                         *
     *   You should have received a copy of the GNU General Public License     *
     *   along with Einstein@Home. If not, see <http://www.gnu.org/licenses/>. *
     *                                                                         *
     ***************************************************************************/
    
    #ifndef ABSTRACTGRAPHICSENGINE_H_
    #define ABSTRACTGRAPHICSENGINE_H_
    
    #include <string>
    
    #include "BOINCClientAdapter.h"
    #include "Resource.h"
    
    using namespace std;
    
    /**
     * \addtogroup framework Framework
     * @{
     */
    
    /**
     * \brief This abstract class provides common features for all graphics engines
     *
     * All graphics engines (Open GL visualisation code) have to be derived from this class.
     * First of all it defines the common interface which the rest of the graphics framework
     * expects any implementing classes to support. Apart from that, this class also defines
     * common properties like event idetifiers and basic access to BOINC client information.
     *
     * \author Oliver Bock\n
     * Max-Planck-Institute for Gravitational Physics\n
     * Hannover, Germany
     */
    class AbstractGraphicsEngine
    {
    public:
    	/// Destructor
    	virtual ~AbstractGraphicsEngine();
    
    	/**
    	 * \brief This method is called when an implementing graphics engine should initialize itself
    	 *
    	 * \param width The current width of the display surface
    	 * \param height The current height of the display surface
    	 * \param font A pointer to a Resource object containing TTF font faces for text rendering
    	 * \param recycle This flag indicates whether we initialize (FALSE) or reinitialize (TRUE) the context
    	 */
    	virtual void initialize(const int width, const int height, const Resource *font, const bool recycle = false) = 0;
    
    	/**
    	 * \brief This method is called when the windowing system encounters a window resize event
    	 *
    	 * \param width The new width of the display surface
    	 * \param height The new height of the display surface
    	 */
    	virtual void resize(const int width, const int height) = 0;