~ubuntu-branches/ubuntu/karmic/gnash/karmic

« back to all changes in this revision

Viewing changes to gui/DESIGN

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2008-10-13 14:29:49 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20081013142949-f6qdvnu4mn05ltdc
Tags: 0.8.4~~bzr9980-0ubuntu1
* new upstream release 0.8.4 (LP: #240325)
* ship new lib usr/lib/gnash/libmozsdk.so.* in mozilla-plugin-gnash
  - update debian/mozilla-plugin-gnash.install
* ship new lib usr/lib/gnash/libgnashnet.so.* in gnash-common
  - update debian/gnash-common.install
* add basic debian/build_head script to build latest CVS head packages.
  - add debian/build_head
* new sound architecture requires build depend on libsdl1.2-dev
  - update debian/control
* head build script now has been completely migrated to bzr (upstream +
  ubuntu)
  - update debian/build_head
* disable kde gui until klash/qt4 has been fixed; keep kde packages as empty
  packages for now.
  - update debian/rules
  - debian/klash.install
  - debian/klash.links
  - debian/klash.manpages
  - debian/konqueror-plugin-gnash.install
* drop libkonq5-dev build dependency accordingly
  - update debian/control
* don't install headers manually anymore. gnash doesnt provide a -dev
  package after all
  - update debian/rules
* update libs installed in gnash-common; libgnashserver-*.so is not available
  anymore (removed); in turn we add the new libgnashcore-*.so
  - update debian/gnash-common.install
* use -Os for optimization and properly pass CXXFLAGS=$(CFLAGS) to configure
  - update debian/rules
* touch firefox .autoreg in postinst of mozilla plugin
  - update debian/mozilla-plugin-gnash.postinst
* link gnash in ubufox plugins directory for the plugin alternative switcher
  - add debian/mozilla-plugin-gnash.links
* suggest ubufox accordingly
  - update debian/control
* add new required build-depends on libgif-dev
  - update debian/control
* add Xb-Npp-Description and Xb-Npp-File as new plugin database meta data
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
Overview
 
3
========
 
4
 
 
5
GUI is the window creation, borders, events, etc.
 
6
Renderer is what we use to draw graphics onto the drawing area
 
7
 
 
8
GUI
 
9
===
 
10
 
 
11
Frontends are modeled by the gnash::Gui class.
 
12
 
 
13
They take care of initializing the Backend module for use in rendering.
 
14
 
 
15
For the frontend we have GTK, SDL, KDE(QT), FLTK2, Aqua, Framebuffer.
 
16
 
 
17
Functions to implement:
 
18
 
 
19
init(int argc, char **argv[]):  
 
20
This funtion is run first to initialize GUI-specific parameters/variables.
 
21
 
 
22
createWindow(const char* title, int width, int height): 
 
23
Here we create a window-widget with calling parameters.
 
24
 
 
25
setCursor(gnash_cursor_type newcursor):
 
26
This function is called when the cursor-type is changed.
 
27
 
 
28
run(): 
 
29
This is the main()-call for the GUI.
 
30
 
 
31
Renderer
 
32
========
 
33
 
 
34
Backends modeled by the gnash::render_handler class.
 
35
 
 
36
They are the actual renderers, drawing to a memory buffer.
 
37
 
 
38
For the renderers we have Antigrain (AGG), OpenGL or Cairo.
 
39