liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Plattformsoberoende widgets med giljotinpackade bakgrundstexturer
Linköping University, Department of Computer and Information Science, Software and Systems. Linköping University, The Institute of Technology.
2014 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [sv]

Vi har i detta arbete skapat ett API för widgets på Android och iOS för Visiarcs utvecklingsverktyg CoffeeMaker. CoffeeMaker använder sig av multiplattform-API:t Cocos2dx och försöker, i så stor utsträckning det är möjligt, förhålla sig till det reaktiva programmeringsparadigmet. Vi använde oss av olika designmönster för att jämna ut skillnaderna mellan Android och iOS interface och implementerade funktionalitet för knappar, checkboxes, radioknappar och textfält på dessa två plattformar. Dessa widgets tematiseras enligt ett JSON-liknande format och använder sig av en texturatlas för att spara resurser. Vi behövde en texturpackare som lämpade sig att köras under en applikations initiering och ibland även under själva körningen. Vi fann en snabb heuristik, O(n2), med god täthet, ca 94% enligt vår testmetod.

Abstract [en]

We have in this work created an widgets API on Android and iOS for Visiarcs development platform CoffeeMaker. CoffeeMaker uses the multiplattform-API Cocos2dx and tries to use the reactive programming paradigm as much as possible. We used design patterns to try to smoothen out the differences between Android and iOS and implemented functionality for buttons, checkboxes, radiobuttons and textfields on these platforms. These widgets are themeble with a JSON-like format and uses a texture atlas to be sparse on system resources. We needed a texture packer which was suited to be run during runtime of a userspace application. We found a quick heurustic, O(n2), with good density, approximately 94% according to our test method.

Place, publisher, year, edition, pages
2014. , 10 p.
Keyword [en]
widget texture atlas packing cocos2dx design pattern
National Category
Computer Science
Identifiers
URN: urn:nbn:se:liu:diva-107639ISRN: LIU-IDA/LITH-EX-G--14/061--SEOAI: oai:DiVA.org:liu-107639DiVA: diva2:726223
External cooperation
Visiarc AB
Subject / course
Computer and information science at the Institute of Technology
Presentation
2014-06-13, Visionen, Linköpings Universitet 581 83 Linköping, Linköping, 20:37 (Swedish)
Supervisors
Examiners
Available from: 2014-06-19 Created: 2014-06-17 Last updated: 2014-06-27Bibliographically approved

Open Access in DiVA

fulltext(2128 kB)117 downloads
File information
File name FULLTEXT02.pdfFile size 2128 kBChecksum SHA-512
d8002dc0581ca55b5b839a3eca9889404f38b811d37eb81b4feae06fd85067b45b35fd1bdd7ee68a4ae82441ca1a020087c29dd013d378618108d3b39f2a562b
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Lundholm, Jonathan
By organisation
Software and SystemsThe Institute of Technology
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 120 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 1861 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf