Results 1 to 3 of 3

Thread: BlackBerry Orientation

  1. #1
    Peasant
    Join Date
    Sep 2011
    Posts
    9

    Default BlackBerry Orientation

    Hello,

    How to set orientation on blackberry platform?

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,377

    Default

    It's currently hardcoded to landscape mode.. oops.

    For now, if you need portrait mode, in /shared/bbx/BBXMain.cpp, try changing

    Code:
    bbutil_init_egl(screen_cxt, GL_ES_1, LANDSCAPE);
    to

    Code:
    bbutil_init_egl(screen_cxt, GL_ES_1, PORTRAIT);
    As far as Proton is concerned, everything is still always be set to "portrait". (Proton doesn't need to do any internal rotations)
    Seth A. Robinson
    Robinson Technologies

  3. #3
    Peasant
    Join Date
    Sep 2011
    Posts
    9

    Default

    Thanks.

Similar Threads

  1. Handling orientation change (android)
    By karelc in forum Proton SDK
    Replies: 3
    Last Post: 01-02-2012, 01:37 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •