Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple application window #6

Merged
merged 12 commits into from Mar 5, 2016
Merged

Simple application window #6

merged 12 commits into from Mar 5, 2016

Commits on Jan 31, 2016

  1. Create simple application window

    This creates an application with a menu and toolbar using a vertical
    GtkBox and adds the docking manager to a position in the middle of the
    GtkBox.
    
    The layout looks like the following:
    
      +------------+
      |    Menu    |
      +------------+
      |   Toolbar  |
      +------------+
      |  [Docking] |
      +------------+
      | Status bar |
      +------------+
    zmughal committed Jan 31, 2016
    Copy the full SHA
    aa5a4e3 View commit details
    Browse the repository at this point in the history
  2. Use a drawing area in the middle of the layout

    Fill this area with a green colour.
    zmughal committed Jan 31, 2016
    Copy the full SHA
    9599acb View commit details
    Browse the repository at this point in the history
  3. Draw a PNG to the Cairo context

    This draws the peppers.png image to the Cairo context in the top-left
    corner.
    zmughal committed Jan 31, 2016
    Copy the full SHA
    de9cafb View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2016

  1. Add navigation buttons to the Glade GUI

    Buttons for navigating to the:
     - First page
     - Previous page
     - Next page
     - Last page
    zmughal committed Feb 8, 2016
    Copy the full SHA
    0e3fc34 View commit details
    Browse the repository at this point in the history
  2. Simple PDF rendering and navigation

    Uses `pdfinfo` to get the number of PDF pages and `mudraw` to get the
    current page as a PNG file.
    
    The next and previous pages can be accessed via the buttons and there
    are buttons to jump to the first and last pages.
    zmughal committed Feb 8, 2016
    Copy the full SHA
    79e60ea View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2016

  1. Copy the full SHA
    26e2be0 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2016

  1. Added text entry for setting and viewing page number.

    Added text entry using Glade. Setup the activate signal to use the
    callback to set the page number. When the page number is changed,
    the number in the entry field is changed to match the current page.
    ChiragGhanshani committed Feb 28, 2016
    Copy the full SHA
    42c649d View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2016

  1. Merge pull request #20 from project-renard/simple-gui-pagenumber

    Added text entry for setting and viewing page number.
    StayerX committed Mar 3, 2016
    Copy the full SHA
    f2cde8e View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2016

  1. Merge pull request #10 from project-renard/simple-gui-title

    Set the main window title to the PDF filename
    zmughal committed Mar 5, 2016
    Copy the full SHA
    fff9e86 View commit details
    Browse the repository at this point in the history
  2. Added drawing area to scrollable window

    There is still an issue with size of the scrolling window because we do
    not have the exact dimensions of the PDF page.
    StayerX authored and zmughal committed Mar 5, 2016
    Copy the full SHA
    35ef189 View commit details
    Browse the repository at this point in the history
  3. Use the PDF page dimensions to request drawing area size

    This tells the outer scrolling frame how far to scroll in both
    directions.
    zmughal committed Mar 5, 2016
    Copy the full SHA
    85e248a View commit details
    Browse the repository at this point in the history
  4. Merge pull request #23 from project-renard/simple-gui-scrollable

    Scrolling drawing area
    zmughal committed Mar 5, 2016
    Copy the full SHA
    d0e8195 View commit details
    Browse the repository at this point in the history